|
18 | 18 | <properties> |
19 | 19 | <xcodeScheme>Release</xcodeScheme> |
20 | 20 | </properties> |
| 21 | + <build> |
| 22 | + <plugins> |
| 23 | + <plugin> |
| 24 | + <groupId>org.apache.maven.plugins</groupId> |
| 25 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 26 | + </plugin> |
| 27 | + |
| 28 | + <plugin> |
| 29 | + <groupId>org.apache.maven.plugins</groupId> |
| 30 | + <artifactId>maven-source-plugin</artifactId> |
| 31 | + </plugin> |
| 32 | + <plugin> |
| 33 | + <groupId>org.apache.maven.plugins</groupId> |
| 34 | + <artifactId>maven-gpg-plugin</artifactId> |
| 35 | + </plugin> |
| 36 | + </plugins> |
| 37 | + </build> |
21 | 38 | </profile> |
22 | 39 | </profiles> |
23 | 40 |
|
|
177 | 194 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
178 | 195 | </configuration> |
179 | 196 | </plugin> |
180 | | - <plugin> |
181 | | - <groupId>org.apache.maven.plugins</groupId> |
182 | | - <artifactId>maven-source-plugin</artifactId> |
183 | | - <version>3.1.0</version> |
184 | | - <executions> |
185 | | - <execution> |
186 | | - <id>attach-sources</id> |
187 | | - <goals> |
188 | | - <goal>jar-no-fork</goal> |
189 | | - </goals> |
190 | | - </execution> |
191 | | - </executions> |
192 | | - </plugin> |
193 | | - <plugin> |
194 | | - <groupId>org.apache.maven.plugins</groupId> |
195 | | - <artifactId>maven-javadoc-plugin</artifactId> |
196 | | - <version>3.1.1</version> |
197 | | - <configuration> |
198 | | - <failOnError>false</failOnError> |
199 | | - <!-- <additionalparam>-Xdoclint:none</additionalparam> --> |
200 | | - <additionalOptions>--allow-script-in-comments</additionalOptions> |
201 | | - <quiet>true</quiet> |
202 | | - <!-- does not work with revision property! --> |
203 | | - <ignoreClirr>true</ignoreClirr> |
204 | | - |
205 | | - <doclint>all,-html,-syntax</doclint> |
206 | | - <version>false</version> |
207 | | - <nosince>true</nosince> |
208 | | - <author>false</author> |
209 | | - <defaultAuthor>mojo2012</defaultAuthor> |
210 | | - <defaultVersion>1.0</defaultVersion> |
211 | | - <level>public</level> |
212 | | - </configuration> |
213 | | - <executions> |
214 | | - <execution> |
215 | | - <id>attach-javadocs</id> |
216 | | - <goals> |
217 | | - <goal>jar</goal> |
218 | | - </goals> |
219 | | - </execution> |
220 | | - </executions> |
221 | | - </plugin> |
222 | | - <plugin> |
223 | | - <groupId>org.apache.maven.plugins</groupId> |
224 | | - <artifactId>maven-gpg-plugin</artifactId> |
225 | | - <version>1.6</version> |
226 | | - <configuration> |
227 | | - <!-- This is necessary for gpg to not try to use the pinentry programs --> |
228 | | - <gpgArguments> |
229 | | - <arg>--pinentry-mode</arg> |
230 | | - <arg>loopback</arg> |
231 | | - </gpgArguments> |
232 | | - </configuration> |
233 | | - <executions> |
234 | | - <execution> |
235 | | - <id>sign-artifacts</id> |
236 | | - <phase>verify</phase> |
237 | | - <goals> |
238 | | - <goal>sign</goal> |
239 | | - </goals> |
240 | | - </execution> |
241 | | - </executions> |
242 | | - </plugin> |
243 | 197 | </plugins> |
| 198 | + |
| 199 | + <pluginManagement> |
| 200 | + <plugins> |
| 201 | + <plugin> |
| 202 | + <groupId>org.apache.maven.plugins</groupId> |
| 203 | + <artifactId>maven-source-plugin</artifactId> |
| 204 | + <version>3.1.0</version> |
| 205 | + <executions> |
| 206 | + <execution> |
| 207 | + <id>attach-sources</id> |
| 208 | + <goals> |
| 209 | + <goal>jar-no-fork</goal> |
| 210 | + </goals> |
| 211 | + </execution> |
| 212 | + </executions> |
| 213 | + </plugin> |
| 214 | + |
| 215 | + <plugin> |
| 216 | + <groupId>org.apache.maven.plugins</groupId> |
| 217 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 218 | + <version>3.1.1</version> |
| 219 | + <configuration> |
| 220 | + <failOnError>false</failOnError> |
| 221 | + <!-- <additionalparam>-Xdoclint:none</additionalparam> --> |
| 222 | + <additionalOptions>--allow-script-in-comments</additionalOptions> |
| 223 | + <quiet>true</quiet> |
| 224 | + <!-- does not work with revision property! --> |
| 225 | + <ignoreClirr>true</ignoreClirr> |
| 226 | + |
| 227 | + <doclint>all,-html,-syntax</doclint> |
| 228 | + <version>false</version> |
| 229 | + <nosince>true</nosince> |
| 230 | + <author>false</author> |
| 231 | + <defaultAuthor>mojo2012</defaultAuthor> |
| 232 | + <defaultVersion>1.0</defaultVersion> |
| 233 | + <level>public</level> |
| 234 | + </configuration> |
| 235 | + <executions> |
| 236 | + <execution> |
| 237 | + <id>attach-javadocs</id> |
| 238 | + <goals> |
| 239 | + <goal>jar</goal> |
| 240 | + </goals> |
| 241 | + </execution> |
| 242 | + </executions> |
| 243 | + </plugin> |
| 244 | + |
| 245 | + <plugin> |
| 246 | + <groupId>org.apache.maven.plugins</groupId> |
| 247 | + <artifactId>maven-gpg-plugin</artifactId> |
| 248 | + <version>1.6</version> |
| 249 | + <configuration> |
| 250 | + <!-- This is necessary for gpg to not try to use the pinentry programs --> |
| 251 | + <gpgArguments> |
| 252 | + <arg>--pinentry-mode</arg> |
| 253 | + <arg>loopback</arg> |
| 254 | + </gpgArguments> |
| 255 | + </configuration> |
| 256 | + <executions> |
| 257 | + <execution> |
| 258 | + <id>sign-artifacts</id> |
| 259 | + <phase>verify</phase> |
| 260 | + <goals> |
| 261 | + <goal>sign</goal> |
| 262 | + </goals> |
| 263 | + </execution> |
| 264 | + </executions> |
| 265 | + </plugin> |
| 266 | + </plugins> |
| 267 | + </pluginManagement> |
244 | 268 | </build> |
245 | 269 |
|
246 | 270 | <dependencies> |
|
0 commit comments