]> source.dussan.org Git - javassist.git/commitdiff
added a pom.xml file
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Tue, 12 Jun 2007 02:22:31 +0000 (02:22 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Tue, 12 Jun 2007 02:22:31 +0000 (02:22 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@387 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

pom.xml [new file with mode: 0644]

diff --git a/pom.xml b/pom.xml
new file mode 100644 (file)
index 0000000..d0b1527
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,96 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
+  <parent>\r
+    <groupId>jboss</groupId>\r
+    <artifactId>jboss-parent</artifactId>\r
+    <version>1</version>\r
+  </parent>\r
+  <modelVersion>4.0.0</modelVersion>\r
+  <artifactId>javassist</artifactId>\r
+  <packaging>jar</packaging>\r
+  <version>3.6.0-BETA2</version>\r
+  <name>Javassist</name>\r
+  <url>http://labs.jboss.com/portal/jbossaop</url>\r
+  <build>\r
+    <sourceDirectory>src/main/</sourceDirectory>\r
+    <testSourceDirectory>src/test/</testSourceDirectory>\r
+    <plugins>\r
+      <plugin>\r
+        <groupId>org.apache.maven.plugins</groupId>\r
+        <artifactId>maven-compiler-plugin</artifactId>\r
+        <configuration>\r
+          <source>1.5</source>\r
+          <target>1.5</target>\r
+        </configuration>\r
+      </plugin>\r
+      <plugin>\r
+        <groupId>org.apache.maven.plugins</groupId>\r
+        <artifactId>maven-surefire-plugin</artifactId>\r
+        <configuration>\r
+          <testFailureIgnore>true</testFailureIgnore>\r
+        </configuration>\r
+      </plugin>\r
+    </plugins>\r
+  </build>\r
+  <profiles>\r
+    <profile>\r
+      <id>jdk14</id>\r
+      <activation>\r
+        <jdk>1.4</jdk>\r
+      </activation>\r
+      <dependencies>\r
+        <dependency>\r
+          <groupId>com.sun</groupId>\r
+          <artifactId>tools</artifactId>\r
+          <version>1.4</version>\r
+          <scope>system</scope>\r
+          <systemPath>${java.home}/../lib/tools.jar</systemPath>\r
+        </dependency>\r
+      </dependencies>\r
+    </profile>\r
+    <profile>\r
+      <id>jdk15</id>\r
+      <activation>\r
+        <jdk>1.5</jdk>\r
+      </activation>\r
+      <dependencies>\r
+        <dependency>\r
+          <groupId>com.sun</groupId>\r
+          <artifactId>tools</artifactId>\r
+          <version>1.5</version>\r
+          <scope>system</scope>\r
+          <systemPath>${java.home}/../lib/tools.jar</systemPath>\r
+        </dependency>\r
+      </dependencies>\r
+    </profile>\r
+  </profiles>\r
+  <repositories>\r
+    <repository>\r
+      <id>jboss</id>\r
+      <name>JBoss Inc. Repository</name>\r
+      <layout>default</layout>\r
+      <url>http://repository.jboss.com/maven2/</url>\r
+      <snapshots>\r
+        <enabled>true</enabled>\r
+      </snapshots>\r
+    </repository>\r
+  </repositories>\r
+  <dependencies>\r
+    <dependency>\r
+      <groupId>junit</groupId>\r
+      <artifactId>junit</artifactId>\r
+      <version>3.8.1</version>\r
+      <scope>test</scope>\r
+    </dependency>\r
+  </dependencies>\r
+  <distributionManagement>\r
+    <repository>\r
+      <id>cvs-file-repository</id>\r
+      <!-- Set maven.cvs.root in your maven/conf/settings.xml\r
+            See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCommonProject\r
+            -->\r
+      <url>file://${maven.cvs.root}</url>\r
+    </repository>\r
+  </distributionManagement>\r
+</project>\r