diff options
author | Philip Jordan <[email protected]> | 2019-09-27 19:25:22 +1200 |
---|---|---|
committer | Philip Jordan <[email protected]> | 2019-09-27 19:25:22 +1200 |
commit | b4c52ef05ba01ba2381042a70e67d9f355e45f02 (patch) | |
tree | 4044235eb091b304c8343015cd45c71c9e6408e0 | |
parent | 8eb67b58cee5017ff62affdc54806c0edd6735b6 (diff) |
Pom.xml file tidied up
-rw-r--r-- | pom.xml | 154 |
1 files changed, 134 insertions, 20 deletions
@@ -3,7 +3,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>org.jogamp.java3d</groupId> - <artifactId>j3dcore</artifactId> + <artifactId>java3d-core</artifactId> <version>1.7.0</version> <name>Java 3D Core</name> @@ -28,7 +28,7 @@ <developer> <id>philjord</id> <name>Philip Jordan</name> - <email>[email protected]</email> + <email>[email protected]</email> <url>https://github.com/philjord</url> <organization>JogAmp</organization> <organizationUrl>http://jogamp.org/</organizationUrl> @@ -46,6 +46,12 @@ <organizationUrl>http://jogamp.org/</organizationUrl> </contributor> <contributor> + <name>Curtis Rueden</name> + <url>http://loci.wisc.edu/people/curtis-rueden</url> + <organization>UW-Madison LOCI</organization> + <organizationUrl>http://loci.wisc.edu/</organizationUrl> + </contributor> + <contributor> <name>Kevin Rushforth</name> <url>https://www.linkedin.com/in/kevin-rushforth-8ba3b43</url> <organization>Oracle Corporation</organization> @@ -58,11 +64,8 @@ <organizationUrl>http://oracle.com/</organizationUrl> </contributor> <contributor> - <name>Curtis Rueden</name> - <url>http://loci.wisc.edu/people/curtis-rueden</url> - <organization>UW-Madison LOCI</organization> - <organizationUrl>http://loci.wisc.edu/</organizationUrl> - </contributor> + <name>Emmanuel Puybaret</name> + </contributor> <contributor> <name>Alessandro Borges</name> </contributor> @@ -83,12 +86,16 @@ </contributor> <contributor> <name>Julian Ibarz</name> - </contributor> - <contributor> - <name>Emmanuel Puybaret</name> - </contributor> + </contributor> </contributors> - + + <scm> + <connection>scm:git:http://github.com/philjord/java3d-core</connection> + <developerConnection></developerConnection> + <tag>HEAD</tag> + <url>https://github.com/philjord/java3d-core</url> + </scm> + <properties> <jogamp.version>2.3.2</jogamp.version> @@ -106,13 +113,16 @@ <is_dev_phase>false</is_dev_phase> <is_production>false</is_production> <use_verbose_buildtime>true</use_verbose_buildtime> - <version_buildnum>2</version_buildnum> - <version_build>pre${version_buildnum}</version_build> - <version_suffix>${version_build}</version_suffix> + <version_buildnum>0</version_buildnum> + <version_build>final${version_buildnum}</version_build> + <version_suffix>final</version_suffix> <!-- NB: Avoid platform encoding warning when copying resources. --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + + <!-- Deploy to OSS Sonatype repository by default when releasing. --> + <releaseProfiles>sonatype-oss-release</releaseProfiles> </properties> <dependencies> @@ -134,10 +144,23 @@ </dependencies> <build> + <defaultGoal>install</defaultGoal> + + <sourceDirectory>${basedir}/src/main/java</sourceDirectory> + <resources> + <resource> + <directory>${project.basedir}/src/main/resources</directory> + <excludes> + <exclude>**/*.java</exclude> + <exclude>**/package.html</exclude> + </excludes> + </resource> + </resources> + <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> + <version>3.8.0</version> <configuration> <source>1.6</source> <target>1.6</target> @@ -156,14 +179,13 @@ </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10.4</version> + <version>3.1.1</version> <configuration> - <javadocDirectory>${project.basedir}/src/main/java</javadocDirectory> - <additionalparam>-Xdoclint:none</additionalparam> + <additionalJOption>-Xdoclint:none</additionalJOption> <links> <link>http://docs.oracle.com/javase/8/docs/api/</link> </links> - </configuration> + </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -176,6 +198,9 @@ </goals> </execution> </executions> + <configuration> + <sourceDirectory>${basedir}/src/main/java-templates</sourceDirectory> + </configuration> </plugin> </plugins> </build> @@ -226,5 +251,94 @@ </pluginManagement> </build> </profile> + + <!-- This profile enables releasing to the OSS Sonatype repository. --> + <profile> + <id>sonatype-oss-release</id> + <build> + <plugins> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <serverId>sonatype-nexus-releases</serverId> + <nexusUrl>https://oss.sonatype.org/</nexusUrl> + <autoReleaseAfterClose>true</autoReleaseAfterClose> + <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> + <stagingProgressPauseDurationSeconds>12</stagingProgressPauseDurationSeconds> + <!-- + By having no explicit stagingProfileId, we use + Staging V2 in "auto" mode, profile will be + matched server side + --> + </configuration> + </plugin> + <plugin> + <inherited>true</inherited> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <version>2.8.2</version> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.5</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + <configuration> + <useAgent>true</useAgent> + </configuration> + </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>2.5.3</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>3.0.1</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <additionalJOption>-Xdoclint:none</additionalJOption> + <links> + <link>http://docs.oracle.com/javase/8/docs/api/</link> + </links> + </configuration> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> |