diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 174 |
1 files changed, 123 insertions, 51 deletions
@@ -2,14 +2,22 @@ <modelVersion>4.0.0</modelVersion> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> - <packaging>jar</packaging> - <description>Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation - simple. It is a class library for editing bytecodes in Java. + <packaging>bundle</packaging> + <description> + Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation + simple. It is a class library for editing bytecodes in Java. </description> - <version>3.14.0-GA</version> + <version>3.24.1-GA</version> <name>Javassist</name> <url>http://www.javassist.org/</url> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <organization> + <name>Shigeru Chiba, www.javassist.org</name> + </organization> + <issueManagement> <system>JIRA</system> <url>https://jira.jboss.org/jira/browse/JASSIST/</url> @@ -28,25 +36,31 @@ <name>LGPL 2.1</name> <url>http://www.gnu.org/licenses/lgpl-2.1.html</url> </license> + <!-- this is the license under which javassist can be distributed. + --> + <license> + <name>Apache License 2.0</name> + <url>http://www.apache.org/licenses/</url> + </license> </licenses> <scm> - <connection>scm:svn:http://anonsvn.jboss.org/repos/javassist/</connection> - <developerConnection>scm:svn:https://svn.jboss.org/repos/javassist/</developerConnection> - <url>http://fisheye.jboss.org/browse/javassist/</url> + <connection>scm:git:git@github.com:jboss-javassist/javassist.git</connection> + <developerConnection>scm:git:git@github.com:jboss-javassist/javassist.git</developerConnection> + <url>scm:git:git@github.com:jboss-javassist/javassist.git</url> </scm> <developers> <developer> <id>chiba</id> <name>Shigeru Chiba</name> - <email>chiba@acm.org</email> - <organization>Tokyo Institute of Technology</organization> + <email>chiba@javassist.org</email> + <organization>The Javassist Project</organization> <organizationUrl>http://www.javassist.org/</organizationUrl> <roles> <role>project lead</role> </roles> - <timezone>8</timezone> + <timezone>9</timezone> </developer> <developer> @@ -72,6 +86,20 @@ </roles> <timezone>0</timezone> </developer> + + <developer> + <id>scottmarlow</id> + <name>Scott Marlow</name> + <email>smarlow@redhat.com</email> + <organization>JBoss</organization> + <organizationUrl>http://www.jboss.org/</organizationUrl> + <roles> + <role>contributing developer</role> + </roles> + <timezone>-5</timezone> + </developer> + + </developers> <distributionManagement> @@ -112,27 +140,55 @@ <build> <sourceDirectory>src/main/</sourceDirectory> <testSourceDirectory>src/test/</testSourceDirectory> + <testResources> + <testResource> + <directory>src/test/resources</directory> + </testResource> + </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> + <version>3.2</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + <testSource>11</testSource> + <testTarget>11</testTarget> + <testCompilerArgument>-parameters</testCompilerArgument> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.18.1</version> <configuration> - <source>1.4</source> - <target>1.4</target> + <includes> + <include>javassist/JvstTest.java</include> + </includes> + <forkMode>once</forkMode> + <additionalClasspathElements> + <additionalClasspathElement>resources</additionalClasspathElement> + </additionalClasspathElements> + <workingDirectory>${project.build.directory}/runtest</workingDirectory> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> + <version>2.6</version> <configuration> <archive> - <manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile> + <manifest> + <mainClass>javassist.CtClass</mainClass> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + </manifest> </archive> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> - <version>2.0.3</version> + <version>2.0.4</version> <executions> <execution> <id>attach-sources</id> @@ -146,11 +202,45 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.7</version> + <version>3.0.1</version> <configuration> <attach>true</attach> + <excludePackageNames>javassist.compiler:javassist.convert:javassist.scopedpool:javassist.bytecode.stackmap</excludePackageNames> + <bottom><![CDATA[<i>Javassist, a Java-bytecode translator toolkit.<br> +Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i>]]></bottom> + <show>public</show> + <nohelp>true</nohelp> + <doclint>none</doclint> </configuration> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>3.3.0</version> + <executions> + <execution> + <id>bundle-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions> + <configuration> + <supportedProjectTypes> + <supportedProjectType>jar</supportedProjectType> + <supportedProjectType>bundle</supportedProjectType> + <supportedProjectType>war</supportedProjectType> + </supportedProjectTypes> + <instructions> + <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Import-Package>!com.sun.jdi.*</Import-Package> + <Export-Package>!com.sun.jdi.*,javassist.*;version="${project.version}"</Export-Package> + </instructions> + </configuration> + <extensions>true</extensions> + </plugin> </plugins> </build> <profiles> @@ -194,37 +284,15 @@ needed by sample code --> <profile> - <id>jdk14</id> - <activation> - <jdk>1.4</jdk> - <property> - <name>!no.tools</name> - </property> - </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> - </profile> - <profile> - <id>jdk15</id> + <id>default-tools</id> <activation> - <jdk>1.5</jdk> - <property> - <name>!no.tools</name> - </property> + <jdk>[,1.8]</jdk> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> - <version>1.5</version> + <version>${java.version}</version> <scope>system</scope> <optional>true</optional> <systemPath>${java.home}/../lib/tools.jar</systemPath> @@ -232,31 +300,35 @@ </dependencies> </profile> <profile> - <id>jdk16</id> + <id>java9-tools</id> <activation> - <jdk>1.6</jdk> - <property> - <name>!no.tools</name> - </property> + <jdk>[1.9,]</jdk> </activation> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> - <version>1.6</version> + <version>${java.version}</version> <scope>system</scope> <optional>true</optional> - <systemPath>${java.home}/../lib/tools.jar</systemPath> + <systemPath>${java.home}/lib/jrt-fs.jar</systemPath> </dependency> </dependencies> </profile> </profiles> <dependencies> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - <scope>test</scope> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-all</artifactId> + <version>1.3</version> + <scope>test</scope> </dependency> </dependencies> </project> + |