File tree Expand file tree Collapse file tree 1 file changed +46
-47
lines changed Expand file tree Collapse file tree 1 file changed +46
-47
lines changed Original file line number Diff line number Diff line change 85
85
86
86
<build >
87
87
<plugins >
88
+ <!-- Source -->
89
+ <plugin >
90
+ <groupId >org.apache.maven.plugins</groupId >
91
+ <artifactId >maven-source-plugin</artifactId >
92
+ <version >2.2.1</version >
93
+ <executions >
94
+ <execution >
95
+ <phase >package</phase >
96
+ <goals >
97
+ <goal >jar-no-fork</goal >
98
+ </goals >
99
+ </execution >
100
+ </executions >
101
+ </plugin >
102
+ <!-- Javadoc -->
103
+ <plugin >
104
+ <groupId >org.apache.maven.plugins</groupId >
105
+ <artifactId >maven-javadoc-plugin</artifactId >
106
+ <version >2.9.1</version >
107
+ <executions >
108
+ <execution >
109
+ <phase >package</phase >
110
+ <goals >
111
+ <goal >jar</goal >
112
+ </goals >
113
+ <configuration >
114
+ <!-- add this to disable checking -->
115
+ <additionalparam >-Xdoclint:none</additionalparam >
116
+ </configuration >
117
+ </execution >
118
+ </executions >
119
+ </plugin >
120
+ <!-- GPG -->
121
+ <plugin >
122
+ <groupId >org.apache.maven.plugins</groupId >
123
+ <artifactId >maven-gpg-plugin</artifactId >
124
+ <version >1.5</version >
125
+ <executions >
126
+ <execution >
127
+ <phase >verify</phase >
128
+ <goals >
129
+ <goal >sign</goal >
130
+ </goals >
131
+ </execution >
132
+ </executions >
133
+ </plugin >
88
134
<!-- 支持多个 source -->
89
135
<plugin >
90
136
<groupId >org.codehaus.mojo</groupId >
165
211
<artifactId >maven-project-info-reports-plugin</artifactId >
166
212
<version >3.0.0</version >
167
213
</plugin >
168
-
169
- <!-- Source -->
170
- <plugin >
171
- <groupId >org.apache.maven.plugins</groupId >
172
- <artifactId >maven-source-plugin</artifactId >
173
- <version >2.2.1</version >
174
- <executions >
175
- <execution >
176
- <phase >package</phase >
177
- <goals >
178
- <goal >jar-no-fork</goal >
179
- </goals >
180
- </execution >
181
- </executions >
182
- </plugin >
183
- <!-- Javadoc -->
184
- <plugin >
185
- <groupId >org.apache.maven.plugins</groupId >
186
- <artifactId >maven-javadoc-plugin</artifactId >
187
- <version >2.9.1</version >
188
- <executions >
189
- <execution >
190
- <phase >package</phase >
191
- <goals >
192
- <goal >jar</goal >
193
- </goals >
194
- <configuration >
195
- <!-- add this to disable checking -->
196
- <additionalparam >-Xdoclint:none</additionalparam >
197
- </configuration >
198
- </execution >
199
- </executions >
200
- </plugin >
201
- <!-- GPG -->
202
- <plugin >
203
- <groupId >org.apache.maven.plugins</groupId >
204
- <artifactId >maven-gpg-plugin</artifactId >
205
- <version >1.5</version >
206
- <executions >
207
- <execution >
208
- <phase >verify</phase >
209
- <goals >
210
- <goal >sign</goal >
211
- </goals >
212
- </execution >
213
- </executions >
214
- </plugin >
215
214
</plugins >
216
215
</pluginManagement >
217
216
</build >
You can’t perform that action at this time.
0 commit comments