summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-02-25 13:00:17 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-02-25 13:00:17 +0000
commit256279fbd282807e2d49fda3c167243b79e833de (patch)
tree79af97b0130c88ceac87caf0f7a48c777e518a69 /pom.xml
parenta8e8b5e785def68b1d643e536459c10db2d79a96 (diff)
downloadjavassist-256279fbd282807e2d49fda3c167243b79e833de.tar.gz
javassist-256279fbd282807e2d49fda3c167243b79e833de.zip
fixed JASSIST-156
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@622 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml65
1 files changed, 16 insertions, 49 deletions
diff --git a/pom.xml b/pom.xml
index 9fa0831e..9ae98be0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,6 +123,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
<configuration>
<source>1.4</source>
<target>1.4</target>
@@ -131,6 +132,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
+ <version>2.3.1</version>
<configuration>
<archive>
<manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile>
@@ -228,61 +230,26 @@
needed by sample code
-->
<profile>
- <id>jdk14</id>
+ <id>default_profile</id>
<activation>
- <jdk>1.4</jdk>
- <property>
- <name>!no.tools</name>
- </property>
+ <os>
+ <family>!mac</family>
+ </os>
</activation>
- <dependencies>
- <dependency>
- <groupId>com.sun</groupId>
- <artifactId>tools</artifactId>
- <version>1.4</version>
- <scope>system</scope>
- <optional>true</optional>
- <systemPath>${java.home}/../lib/tools.jar</systemPath>
- </dependency>
- </dependencies>
+ <properties>
+ <toolsjar>${java.home}/../lib/tools.jar</toolsjar>
+ </properties>
</profile>
<profile>
- <id>jdk15</id>
+ <id>osx_profile</id>
<activation>
- <jdk>1.5</jdk>
- <property>
- <name>!no.tools</name>
- </property>
+ <os>
+ <family>mac</family>
+ </os>
</activation>
- <dependencies>
- <dependency>
- <groupId>com.sun</groupId>
- <artifactId>tools</artifactId>
- <version>1.5</version>
- <scope>system</scope>
- <optional>true</optional>
- <systemPath>${java.home}/../lib/tools.jar</systemPath>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>jdk16</id>
- <activation>
- <jdk>1.6</jdk>
- <property>
- <name>!no.tools</name>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.sun</groupId>
- <artifactId>tools</artifactId>
- <version>1.6</version>
- <scope>system</scope>
- <optional>true</optional>
- <systemPath>${java.home}/../lib/tools.jar</systemPath>
- </dependency>
- </dependencies>
+ <properties>
+ <toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
+ </properties>
</profile>
</profiles>
<dependencies>