summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorCurtis Rueden <[email protected]>2015-02-24 13:40:13 -0600
committerCurtis Rueden <[email protected]>2015-11-26 21:38:56 -0600
commit81801a8c904738f52a017b8e022435da9ad558e5 (patch)
tree14784a87ec8c11549bd7557e66e1b18a18957cd1 /pom.xml
parent9f41bd6a2e753f3df1eb301498467e3e8177a97e (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.xml123
1 files changed, 123 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..1dc1894
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,123 @@
+<?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>j3dutils</artifactId>
+ <version>1.6.0-SNAPSHOT</version>
+
+ <name>Java 3D Utils</name>
+ <description>Utility functions for the Java 3D Graphics API</description>
+
+ <licenses>
+ <license>
+ <name>Simplified BSD License</name>
+ <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>
+ <contributor>
+ <name>Ken Mc Neill</name>
+ </contributor>
+ <contributor>
+ <name>Alessandro Borges</name>
+ </contributor>
+ <contributor>
+ <name>Emmanuel Puybaret</name>
+ </contributor>
+ </contributors>
+
+ <properties>
+ <jogl.version>2.3.2</jogl.version>
+
+ <!-- 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>
+
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>j3dcore</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>vecmath</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+
+ <sourceDirectory>${basedir}/src/classes/share</sourceDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/src/classes/share</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.7</source>
+ <target>1.7</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>