diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 349 |
1 files changed, 195 insertions, 154 deletions
@@ -1,4 +1,3 @@ - <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.ardor3d</groupId> @@ -29,13 +28,49 @@ <connection>scm:git:https://github.com/Renanse/Ardor3D.git</connection> </scm> + <reporting> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.5.2</version> + <configuration> + <threshold>Normal</threshold> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.5.2</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.9</version> + </plugin> + </plugins> + </reporting> + + <distributionManagement> + <repository> + <id>Ardor3D-releases</id> + <name>Ardor3D releases</name> + <url>http://ardor3d.com:8081/nexus/content/repositories/releases</url> + </repository> + <snapshotRepository> + <id>Ardor3D-snapshots</id> + <name>Ardor3D snapshots</name> + <url>http://ardor3d.com:8081/nexus/content/repositories/snapshots</url> + </snapshotRepository> + </distributionManagement> + <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>2.3.2</version> + <version>3.0</version> <configuration> <source>1.6</source> <target>1.6</target> @@ -43,6 +78,12 @@ </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>2.4</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <configuration> @@ -50,37 +91,56 @@ </configuration> </plugin> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.5.2</version> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.4</version> </plugin> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>2.5.2</version> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-install-plugin</artifactId> + <version>2.4</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <version>2.4.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>2.6</version> + <version>2.14</version> <configuration> <argLine>-Xmx512m</argLine> </configuration> </plugin> <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.4</version> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.2.1</version> </plugin> <plugin> - <artifactId>maven-install-plugin</artifactId> - <version>2.4</version> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.5.2</version> </plugin> <plugin> - <artifactId>maven-release-plugin</artifactId> - <version>2.0</version> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.5.2</version> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.3.7</version> + </plugin> + <plugin> + <groupId>com.googlecode.mavennatives</groupId> + <artifactId>maven-nativedependencies-plugin</artifactId> + <version>0.0.7</version> </plugin> </plugins> </pluginManagement> + <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -90,97 +150,109 @@ <target>1.6</target> </configuration> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <version>2.3.7</version> - <extensions>true</extensions> - <configuration> - <manifestLocation>target/classes/META-INF</manifestLocation> - <instructions> - <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> - <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment> - </instructions> - </configuration> - </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <manifestLocation>target/classes/META-INF</manifestLocation> + <instructions> + <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> + <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment> + </instructions> + </configuration> + </plugin> </plugins> </build> - <!-- these properties help simplify specifying some commonly occurring variables --> + <!-- these properties help simplify specifying some commonly occurring variables --> <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <jogamp.version>2.0.2-rc20130404</jogamp.version> <lwjgl.version>2.8.4</lwjgl.version> - <jogl.version>2.0-rc11post06</jogl.version> <swt.version>3650</swt.version> <osgi.project.version>0.9_SNAPSHOT</osgi.project.version> </properties> - <!-- The dependencyManagement section should specify all versions of artifacts used in sub --> - <!-- modules. This only specifies version, and doesn't mean that modules actually use them --> - <!-- To inherit actual usage of artifacts, use the dependencies section below. --> + <!-- The dependencyManagement section should specify all versions of artifacts used in sub --> + <!-- modules. This only specifies version, and doesn't mean that modules actually use them --> + <!-- To inherit actual usage of artifacts, use the dependencies section below. --> <dependencyManagement> <dependencies> - <dependency> - <groupId>com.google.guava</groupId> - <artifactId>guava</artifactId> - <version>14.0.1</version> - </dependency> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <version>14.0.1</version> + </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> + <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymockclassextension</artifactId> <version>2.4</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jogamp.gluegen</groupId> + <artifactId>gluegen-rt-main</artifactId> + <version>${jogamp.version}</version> + </dependency> + <dependency> + <groupId>org.jogamp.jogl</groupId> + <artifactId>jogl-all-main</artifactId> + <version>${jogamp.version}</version> + </dependency> + <dependency> + <groupId>org.jogamp.joal</groupId> + <artifactId>joal-main</artifactId> + <version>${jogamp.version}</version> + </dependency> + <dependency> + <groupId>org.jogamp.jocl</groupId> + <artifactId>jocl-main</artifactId> + <version>${jogamp.version}</version> + </dependency> + <dependency> + <groupId>org.lwjgl.lwjgl</groupId> + <artifactId>lwjgl</artifactId> + <version>${lwjgl.version}</version> + </dependency> + <dependency> + <groupId>org.lwjgl.lwjgl</groupId> + <artifactId>lwjgl_util</artifactId> + <version>${lwjgl.version}</version> + </dependency> + <dependency> + <groupId>org.jdom</groupId> + <artifactId>jdom2</artifactId> + <version>2.0.4</version> </dependency> - <dependency> - <groupId>org.jogamp.gluegen</groupId> - <artifactId>gluegen-rt-main</artifactId> - <version>${jogl.version}</version> - </dependency> - <dependency> - <groupId>org.jogamp.jogl</groupId> - <artifactId>jogl-all-main</artifactId> - <version>${jogl.version}</version> - </dependency> <dependency> - <groupId>org.lwjgl.lwjgl</groupId> - <artifactId>lwjgl</artifactId> - <version>${lwjgl.version}</version> - </dependency> - <dependency> - <groupId>org.lwjgl.lwjgl</groupId> - <artifactId>lwjgl_util</artifactId> - <version>${lwjgl.version}</version> - </dependency> - <dependency> - <groupId>org.jdom</groupId> - <artifactId>jdom2</artifactId> - <version>2.0.4</version> - </dependency> - <dependency> - <groupId>jaxen</groupId> - <artifactId>jaxen</artifactId> - <version>1.1.4</version> - </dependency> + <groupId>jaxen</groupId> + <artifactId>jaxen</artifactId> + <version>1.1.4</version> + </dependency> <dependency> <groupId>org.eclipse.swt</groupId> <artifactId>swt</artifactId> <version>${swt.version}</version> <classifier>${swt.classifier}</classifier> </dependency> - <dependency> - <groupId>org.apache.felix</groupId> - <artifactId>org.osgi.core</artifactId> - <version>1.0.0</version> - </dependency> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.osgi.core</artifactId> + <version>1.0.0</version> + </dependency> </dependencies> </dependencyManagement> <profiles> - <!-- This profile activated by specifying -Phudson on command line --> + <!-- This profile activated by specifying -Phudson on command line --> <profile> <id>hudson</id> <build> @@ -211,14 +283,14 @@ </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.9</version> <executions> <execution> <phase>package</phase> <goals> <goal>jar</goal> - <goal>aggregate</goal> + <goal>aggregate</goal> </goals> <configuration> <bottom><![CDATA[<i>Copyright © {inceptionYear}-{currentYear} Ardor Labs. All Rights Reserved.</i>]]> @@ -236,8 +308,8 @@ </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> - <version>2.2</version> <executions> <execution> <phase>package</phase> @@ -247,94 +319,63 @@ </execution> </executions> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <extensions>true</extensions> - <configuration> - <manifestLocation>target/classes/META-INF</manifestLocation> - <instructions> - <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> - <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment> - </instructions> - </configuration> - <executions> - <execution> - <id>bundle-manifest</id> - <phase>process-classes</phase> - <goals> - <goal>manifest</goal> - </goals> - </execution> - </executions> - </plugin> - <!-- http://mojo.codehaus.org/findbugs-maven-plugin/usage.html --> - - <!-- It would be great to execute the check goal as part of the hudson build, but it is --> - <!-- only available via a snapshot version, so I don't want to use that. / Petter 090211 --> - <!-- plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <executions> - <execution> - <id>findbugs-check</id> - <phase>package</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - - <configuration> - <threshold>Normal</threshold> - </configuration> - </plugin --> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <manifestLocation>target/classes/META-INF</manifestLocation> + <instructions> + <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> + <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment> + </instructions> + </configuration> + <executions> + <execution> + <id>bundle-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- http://mojo.codehaus.org/findbugs-maven-plugin/usage.html --> + <!-- It would be great to execute the check goal as part of the hudson build, but it is --> + <!-- only available via a snapshot version, so I don't want to use that. / Petter 090211 --> + <!-- plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <executions> + <execution> + <id>findbugs-check</id> + <phase>package</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <threshold>Normal</threshold> + </configuration> + </plugin --> </plugins> </build> </profile> </profiles> - - <!-- this section specifies dependencies that are inherited by all sub-modules --> + <!-- this section specifies dependencies that are inherited by all sub-modules --> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> + + <dependency> + <groupId>org.easymock</groupId> + <artifactId>easymockclassextension</artifactId> + </dependency> </dependencies> - <distributionManagement> - <repository> - <id>Ardor3D-releases</id> - <name>Ardor3D releases</name> - <url>http://ardor3d.com:8081/nexus/content/repositories/releases</url> - </repository> - <snapshotRepository> - <id>Ardor3D-snapshots</id> - <name>Ardor3D snapshots</name> - <url>http://ardor3d.com:8081/nexus/content/repositories/snapshots</url> - </snapshotRepository> - </distributionManagement> - - <reporting> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>2.5.2</version> - <configuration> - <threshold>Normal</threshold> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.5.2</version> - </plugin> - <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.9</version> - </plugin> - </plugins> - </reporting> </project> |