aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorendolf <[email protected]>2011-03-22 15:03:22 +0000
committerendolf <[email protected]>2011-03-22 15:03:22 +0000
commit3517b059e99f56acdf572524aed1bc9ac2a3e1ff (patch)
tree9325efbbc133a1063f0eb2acbae81c2c4d4fb0a4
parentde8407102aff03f84a2c9735f2024a48519a6667 (diff)
Use maven to build jutils
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jutils/trunk@27 052365b4-98e0-4bc5-a281-465471b020e0
-rw-r--r--pom.xml99
-rw-r--r--src/main/java/net/java/games/util/Version.java (renamed from src/java/net/java/games/util/Version.java)0
-rw-r--r--src/main/java/net/java/games/util/plugins/Plugin.java (renamed from src/java/net/java/games/util/plugins/Plugin.java)0
-rw-r--r--src/main/java/net/java/games/util/plugins/PluginLoader.java (renamed from src/java/net/java/games/util/plugins/PluginLoader.java)0
-rw-r--r--src/main/java/net/java/games/util/plugins/Plugins.java (renamed from src/java/net/java/games/util/plugins/Plugins.java)0
-rw-r--r--src/test/java/net/java/games/util/plugins/test/FooChildPlugin.java (renamed from src/java/net/java/games/util/plugins/test/FooChildPlugin.java)0
-rw-r--r--src/test/java/net/java/games/util/plugins/test/FooPlugin.java (renamed from src/java/net/java/games/util/plugins/test/FooPlugin.java)0
-rw-r--r--src/test/java/net/java/games/util/plugins/test/InheritedInterfacePlugin.java (renamed from src/java/net/java/games/util/plugins/test/InheritedInterfacePlugin.java)0
-rw-r--r--src/test/java/net/java/games/util/plugins/test/InterfaceNotAPlugin.java (renamed from src/java/net/java/games/util/plugins/test/InterfaceNotAPlugin.java)0
-rw-r--r--src/test/java/net/java/games/util/plugins/test/NotAPlugin.java (renamed from src/java/net/java/games/util/plugins/test/NotAPlugin.java)0
-rw-r--r--src/test/java/net/java/games/util/plugins/test/PluginTest.java (renamed from src/java/net/java/games/util/plugins/test/PluginTest.java)0
11 files changed, 99 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..fb8d03a
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,99 @@
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>net.java.jutils</groupId>
+ <artifactId>jutils</artifactId>
+ <packaging>jar</packaging>
+ <name>Common utilities for the Game Technology Group</name>
+ <version>1.0.0</version>
+ <description>Common utilities for the Game Technology Group</description>
+ <url>http://java.net/projects/jutils</url>
+ <licenses>
+ <license>
+ <name>BSD</name>
+ <url>http://www.opensource.org/licenses/bsd-license.php</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <developers>
+ <developer>
+ <id>Members</id>
+ <url>http://java.net/projects/jutils/members</url>
+ </developer>
+ </developers>
+ <scm>
+ <url>http://java.net/projects/jutils/sources/svn/show</url>
+ <connection>https://svn.java.net/svn/jutils~svn </connection>
+ </scm>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.4</source>
+ <target>1.4</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <profiles>
+ <profile>
+ <id>release-sign-artifacts</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project> \ No newline at end of file
diff --git a/src/java/net/java/games/util/Version.java b/src/main/java/net/java/games/util/Version.java
index 62bd4a1..62bd4a1 100644
--- a/src/java/net/java/games/util/Version.java
+++ b/src/main/java/net/java/games/util/Version.java
diff --git a/src/java/net/java/games/util/plugins/Plugin.java b/src/main/java/net/java/games/util/plugins/Plugin.java
index cfb533b..cfb533b 100644
--- a/src/java/net/java/games/util/plugins/Plugin.java
+++ b/src/main/java/net/java/games/util/plugins/Plugin.java
diff --git a/src/java/net/java/games/util/plugins/PluginLoader.java b/src/main/java/net/java/games/util/plugins/PluginLoader.java
index 00545eb..00545eb 100644
--- a/src/java/net/java/games/util/plugins/PluginLoader.java
+++ b/src/main/java/net/java/games/util/plugins/PluginLoader.java
diff --git a/src/java/net/java/games/util/plugins/Plugins.java b/src/main/java/net/java/games/util/plugins/Plugins.java
index 42f0837..42f0837 100644
--- a/src/java/net/java/games/util/plugins/Plugins.java
+++ b/src/main/java/net/java/games/util/plugins/Plugins.java
diff --git a/src/java/net/java/games/util/plugins/test/FooChildPlugin.java b/src/test/java/net/java/games/util/plugins/test/FooChildPlugin.java
index ee8678a..ee8678a 100644
--- a/src/java/net/java/games/util/plugins/test/FooChildPlugin.java
+++ b/src/test/java/net/java/games/util/plugins/test/FooChildPlugin.java
diff --git a/src/java/net/java/games/util/plugins/test/FooPlugin.java b/src/test/java/net/java/games/util/plugins/test/FooPlugin.java
index 684406a..684406a 100644
--- a/src/java/net/java/games/util/plugins/test/FooPlugin.java
+++ b/src/test/java/net/java/games/util/plugins/test/FooPlugin.java
diff --git a/src/java/net/java/games/util/plugins/test/InheritedInterfacePlugin.java b/src/test/java/net/java/games/util/plugins/test/InheritedInterfacePlugin.java
index 4458a20..4458a20 100644
--- a/src/java/net/java/games/util/plugins/test/InheritedInterfacePlugin.java
+++ b/src/test/java/net/java/games/util/plugins/test/InheritedInterfacePlugin.java
diff --git a/src/java/net/java/games/util/plugins/test/InterfaceNotAPlugin.java b/src/test/java/net/java/games/util/plugins/test/InterfaceNotAPlugin.java
index a6bfca6..a6bfca6 100644
--- a/src/java/net/java/games/util/plugins/test/InterfaceNotAPlugin.java
+++ b/src/test/java/net/java/games/util/plugins/test/InterfaceNotAPlugin.java
diff --git a/src/java/net/java/games/util/plugins/test/NotAPlugin.java b/src/test/java/net/java/games/util/plugins/test/NotAPlugin.java
index cabcc08..cabcc08 100644
--- a/src/java/net/java/games/util/plugins/test/NotAPlugin.java
+++ b/src/test/java/net/java/games/util/plugins/test/NotAPlugin.java
diff --git a/src/java/net/java/games/util/plugins/test/PluginTest.java b/src/test/java/net/java/games/util/plugins/test/PluginTest.java
index af7ef82..af7ef82 100644
--- a/src/java/net/java/games/util/plugins/test/PluginTest.java
+++ b/src/test/java/net/java/games/util/plugins/test/PluginTest.java