|
7 | 7 |
|
8 | 8 | <groupId>org.openmicroscopy</groupId> |
9 | 9 | <artifactId>ome-common</artifactId> |
10 | | - <version>5.3.0-SNAPSHOT</version> |
| 10 | + <version>5.3.0</version> |
11 | 11 |
|
12 | 12 | <name>OME Common Java</name> |
13 | 13 | <description>Contains common I/O, date parsing, and XML processing classes.</description> |
|
218 | 218 | appears in the <reporting> section, and must be kept in sync. --> |
219 | 219 | <version>2.10.4</version> |
220 | 220 | <configuration> |
221 | | - <!-- Workaround for javadoc bug when classes in the default |
222 | | - package access classes from non-default packages. See: |
223 | | - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101868 --> |
224 | | - <use>false</use> |
| 221 | + <failOnError>false</failOnError> |
225 | 222 | <links> |
226 | | - <!-- Java 7 --> |
227 | 223 | <link>http://docs.oracle.com/javase/7/docs/api/</link> |
228 | 224 | </links> |
229 | 225 | </configuration> |
| 226 | + <executions> |
| 227 | + <execution> |
| 228 | + <id>attach-javadocs</id> |
| 229 | + <goals> |
| 230 | + <goal>jar</goal> |
| 231 | + </goals> |
| 232 | + </execution> |
| 233 | + </executions> |
230 | 234 | </plugin> |
231 | 235 |
|
232 | 236 | <plugin> |
|
264 | 268 | <!-- Build source artifact in addition to main artifact. --> |
265 | 269 | <executions> |
266 | 270 | <execution> |
| 271 | + <id>attach-sources</id> |
267 | 272 | <goals> |
268 | | - <goal>jar</goal> |
| 273 | + <goal>jar-no-fork</goal> |
269 | 274 | </goals> |
270 | 275 | </execution> |
271 | 276 | </executions> |
|
302 | 307 | <artifactId>versions-maven-plugin</artifactId> |
303 | 308 | <version>2.3</version> |
304 | 309 | </plugin> |
305 | | - |
306 | 310 | </plugins> |
307 | 311 | </build> |
308 | 312 |
|
| 313 | + <profiles> |
| 314 | + <profile> |
| 315 | + <id>doclint-java8-disable</id> |
| 316 | + <activation> |
| 317 | + <jdk>[1.8,)</jdk> |
| 318 | + </activation> |
| 319 | + |
| 320 | + <build> |
| 321 | + <plugins> |
| 322 | + <plugin> |
| 323 | + <groupId>org.apache.maven.plugins</groupId> |
| 324 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 325 | + <version>2.9.1</version> |
| 326 | + <configuration> |
| 327 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 328 | + </configuration> |
| 329 | + </plugin> |
| 330 | + </plugins> |
| 331 | + </build> |
| 332 | + </profile> |
| 333 | + <profile> |
| 334 | + <id>release</id> |
| 335 | + <build> |
| 336 | + <plugins> |
| 337 | + <!-- Stage releases with nexus --> |
| 338 | + <plugin> |
| 339 | + <groupId>org.sonatype.plugins</groupId> |
| 340 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 341 | + <version>1.6.7</version> |
| 342 | + <extensions>true</extensions> |
| 343 | + <configuration> |
| 344 | + <serverId>ossrh</serverId> |
| 345 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 346 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 347 | + </configuration> |
| 348 | + </plugin> |
| 349 | + |
| 350 | + <!-- gpg release signing --> |
| 351 | + <plugin> |
| 352 | + <groupId>org.apache.maven.plugins</groupId> |
| 353 | + <artifactId>maven-gpg-plugin</artifactId> |
| 354 | + <version>1.5</version> |
| 355 | + <executions> |
| 356 | + <execution> |
| 357 | + <id>sign-artifacts</id> |
| 358 | + <phase>verify</phase> |
| 359 | + <goals> |
| 360 | + <goal>sign</goal> |
| 361 | + </goals> |
| 362 | + </execution> |
| 363 | + </executions> |
| 364 | + </plugin> |
| 365 | + </plugins> |
| 366 | + </build> |
| 367 | + </profile> |
| 368 | + </profiles> |
| 369 | + |
309 | 370 | <reporting> |
310 | 371 | <plugins> |
311 | 372 | <!-- Generate javadocs as part of site generation. --> |
312 | 373 | <plugin> |
| 374 | + <groupId>org.apache.maven.plugins</groupId> |
313 | 375 | <artifactId>maven-javadoc-plugin</artifactId> |
314 | 376 | <version>2.9.1</version> |
315 | 377 | <configuration> |
316 | | - <javadocDirectory>src/main/java</javadocDirectory> |
317 | | - <!-- Workaround for javadoc bug when classes in the default |
318 | | - package access classes from non-default packages. See: |
319 | | - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101868 --> |
320 | | - <use>false</use> |
| 378 | + <failOnError>false</failOnError> |
321 | 379 | <links> |
322 | | - <!-- Java 7 --> |
323 | 380 | <link>http://docs.oracle.com/javase/7/docs/api/</link> |
324 | 381 | </links> |
325 | 382 | </configuration> |
|
422 | 479 | </pluginRepositories> |
423 | 480 |
|
424 | 481 | <distributionManagement> |
425 | | - <repository> |
426 | | - <id>ome.staging</id> |
427 | | - <name>OME Staging Repository</name> |
428 | | - <url>http://artifacts.openmicroscopy.org/artifactory/ome.staging</url> |
429 | | - </repository> |
430 | 482 | <snapshotRepository> |
431 | | - <id>ome.snapshots</id> |
432 | | - <name>OME Snapshots Repository</name> |
433 | | - <url>http://artifacts.openmicroscopy.org/artifactory/ome.snapshots</url> |
| 483 | + <id>ossrh</id> |
| 484 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
434 | 485 | </snapshotRepository> |
| 486 | + <repository> |
| 487 | + <id>ossrh</id> |
| 488 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 489 | + </repository> |
435 | 490 | </distributionManagement> |
436 | 491 |
|
437 | 492 | <developers> |
|
0 commit comments