summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorCurtis Rueden <[email protected]>2015-02-24 11:44:41 -0600
committerCurtis Rueden <[email protected]>2015-11-24 20:07:41 -0600
commit6a08a07659620bcd8deca498afc4de20019cf0a3 (patch)
treef6deab75b9e1f22a2cb7b79aa222fbde9258ed5f /pom.xml
parent41fddda1a4f430e45bef0154e1fdfe5671025f1e (diff)
Build the project using Maven
This introduces a pom.xml which tells Maven how the project is structured. To avoid a boatload of disruptive renames, we override some of Maven's default settings. It also removes the Ant build files to avoid maintaining multiple build systems.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml104
1 files changed, 104 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..2b0f0e3
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.jogamp.java3d</groupId>
+ <artifactId>vecmath</artifactId>
+ <version>1.6.0-SNAPSHOT</version>
+
+ <licenses>
+ <license>
+ <name>GPLv2 with Classpath exception</name>
+ <url>http://www.gnu.org/licenses/gpl-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <developers>
+ <developer>
+ <id>gouessej</id>
+ <name>Julien Gouesse</name>
+ <url>https://github.com/gouessej</url>
+ <organization>JogAmp</organization>
+ <organizationUrl>http://jogamp.org/</organizationUrl>
+ </developer>
+ <developer>
+ <id>hharrison</id>
+ <name>Harvey Harrison</name>
+ <url>https://github.com/hharrison</url>
+ <organization>JogAmp</organization>
+ <organizationUrl>http://jogamp.org/</organizationUrl>
+ </developer>
+ </developers>
+ <contributors>
+ <contributor>
+ <name>Kevin Rushforth</name>
+ <url>https://www.linkedin.com/in/kevin-rushforth-8ba3b43</url>
+ <organization>Oracle Corporation</organization>
+ <organizationUrl>http://oracle.com/</organizationUrl>
+ </contributor>
+ <contributor>
+ <name>Chien Yang</name>
+ <url>https://www.linkedin.com/in/chien-yang-0884122</url>
+ <organization>Oracle Corporation</organization>
+ <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>
+ </contributors>
+
+ <properties>
+ <!-- NB: Avoid platform encoding warning when copying resources. -->
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ </properties>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <sourceDirectory>${project.basedir}/src</sourceDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ <exclude>**/package.html</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.1</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.9.1</version>
+ <configuration>
+ <javadocDirectory>${project.basedir}/src</javadocDirectory>
+ <links>
+ <link>http://docs.oracle.com/javase/1.5.0/docs/api/</link>
+ </links>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>