From 6a08a07659620bcd8deca498afc4de20019cf0a3 Mon Sep 17 00:00:00 2001 From: Curtis Rueden Date: Tue, 24 Feb 2015 11:44:41 -0600 Subject: 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. --- .gitignore | 5 ++- README-FIRST.txt | 2 -- README-build.html | 88 --------------------------------------------- build.xml | 83 ------------------------------------------- pom.xml | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/VECMATH.MF | 17 --------- 6 files changed, 108 insertions(+), 191 deletions(-) delete mode 100644 README-build.html delete mode 100644 build.xml create mode 100644 pom.xml delete mode 100644 src/VECMATH.MF diff --git a/.gitignore b/.gitignore index 84c048a..10d81e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -/build/ +/.classpath +/.project +/.settings/ +/target/ diff --git a/README-FIRST.txt b/README-FIRST.txt index e89e2fe..af5cebb 100644 --- a/README-FIRST.txt +++ b/README-FIRST.txt @@ -6,8 +6,6 @@ The copyright notice for this project is in COPYRIGHT.txt The source code license information for this project is in LICENSE.txt -Instructions for building this project are in README-build.html - Note that the source code in this directory is untested and presumed incompatible with the Java 3D(TM) API specification. You must only use this code in accordance with the terms under which the code is diff --git a/README-build.html b/README-build.html deleted file mode 100644 index 81e4022..0000000 --- a/README-build.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - README-build: build instructions for the vecmath project - - -

Building -the Vecmath Package

-

To -build the vecmath package, you must first checkout the vecmath -svn -repository on java.net. For example, run -the svn checkout command as follows:
-

- -

-

This top-level directory must be named "vecmath". -

-

System Requirements -

-

Vecmath is 100% Java, so any operating environment that supports -J2SE should work. We have built vecmath on the following -operating environments:
-

- -

The following software must be installed:

- -

Building -Vecmath

-

- -

Before you start building, -please check that your PATH must -include the -following directories:

- -

The default target, jar-opt, creates an optimized jar files.
-

-

Steps: -

- -

This will build the javax.vecmath package, which will -be put -in the vecmath/build/opt sub-directory.
-

-

To see other targets that are available, type "ant --projecthelp". Note that ant must be run from the top-level -directory.

- - diff --git a/build.xml b/build.xml deleted file mode 100644 index f33f185..0000000 --- a/build.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..2b0f0e3 --- /dev/null +++ b/pom.xml @@ -0,0 +1,104 @@ + + + 4.0.0 + + org.jogamp.java3d + vecmath + 1.6.0-SNAPSHOT + + + + GPLv2 with Classpath exception + http://www.gnu.org/licenses/gpl-2.0.txt + repo + + + + + + gouessej + Julien Gouesse + https://github.com/gouessej + JogAmp + http://jogamp.org/ + + + hharrison + Harvey Harrison + https://github.com/hharrison + JogAmp + http://jogamp.org/ + + + + + Kevin Rushforth + https://www.linkedin.com/in/kevin-rushforth-8ba3b43 + Oracle Corporation + http://oracle.com/ + + + Chien Yang + https://www.linkedin.com/in/chien-yang-0884122 + Oracle Corporation + http://oracle.com/ + + + Curtis Rueden + http://loci.wisc.edu/people/curtis-rueden + UW-Madison LOCI + http://loci.wisc.edu/ + + + + + + UTF-8 + UTF-8 + + + + install + ${project.basedir}/src + + + ${project.basedir}/src + + **/*.java + **/package.html + + + + + + maven-compiler-plugin + 3.1 + + 1.5 + 1.5 + + + + maven-jar-plugin + 2.5 + + + + true + + + + + + maven-javadoc-plugin + 2.9.1 + + ${project.basedir}/src + + http://docs.oracle.com/javase/1.5.0/docs/api/ + + + + + + diff --git a/src/VECMATH.MF b/src/VECMATH.MF deleted file mode 100644 index d675a3a..0000000 --- a/src/VECMATH.MF +++ /dev/null @@ -1,17 +0,0 @@ -Manifest-Version: 1.0 -Specification-Title: @SPEC_TITLE@ -Specification-Version: 1.6 -Specification-Vendor: @SPEC_VENDOR@ -Implementation-Title: @IMPL_TITLE@ -Implementation-Version: @VERSION_BASE@ -Implementation-Vendor: @IMPL_VENDOR@ -Extension-Name: javax.vecmath -Implementation-Vendor-Id: @IMPL_VENDOR_ID@ -Bundle-ManifestVersion: 2 -Bundle-Name: Vecmath Library -Bundle-Vendor: @IMPL_VENDOR@ -Bundle-Localization: plugin -Bundle-SymbolicName: javax.vecmath; singleton:=true -Bundle-Version: @VERSION_BASE@ -Eclipse-AutoStart: true -Export-Package: javax.vecmath -- cgit v1.2.3