1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 2 <modelVersion>4.0.0</modelVersion> 3 <groupId>org.javassist</groupId> 4 <artifactId>javassist</artifactId> 5 <packaging>jar</packaging> 6 <description>Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation 7 simple. It is a class library for editing bytecodes in Java. 8 </description> 9 <version>3.14.0-GA</version> 10 <name>Javassist</name> 11 <url>http://www.javassist.org/</url> 12 13 <issueManagement> 14 <system>JIRA</system> 15 <url>https://jira.jboss.org/jira/browse/JASSIST/</url> 16 </issueManagement> 17 <licenses> 18 <!-- this is the license under which javassist is usually distributed 19 --> 20 <license> 21 <name>MPL 1.1</name> 22 <url>http://www.mozilla.org/MPL/MPL-1.1.html</url> 23 </license> 24 <!-- this is the license under which javassist is distributed when 25 it is bundled with JBoss 26 --> 27 <license> 28 <name>LGPL 2.1</name> 29 <url>http://www.gnu.org/licenses/lgpl-2.1.html</url> 30 </license> 31 </licenses> 32 33 <scm> 34 <connection>scm:svn:http://anonsvn.jboss.org/repos/javassist/</connection> 35 <developerConnection>scm:svn:https://svn.jboss.org/repos/javassist/</developerConnection> 36 <url>http://fisheye.jboss.org/browse/javassist/</url> 37 </scm> 38 39 <developers> 40 <developer> 41 <id>chiba</id> 42 <name>Shigeru Chiba</name> 43 <email>chiba (a] acm.org</email> 44 <organization>Tokyo Institute of Technology</organization> 45 <organizationUrl>http://www.javassist.org/</organizationUrl> 46 <roles> 47 <role>project lead</role> 48 </roles> 49 <timezone>8</timezone> 50 </developer> 51 52 <developer> 53 <id>adinn</id> 54 <name>Andrew Dinn</name> 55 <email>adinn (a] redhat.com</email> 56 <organization>JBoss</organization> 57 <organizationUrl>http://www.jboss.org/</organizationUrl> 58 <roles> 59 <role>contributing developer</role> 60 </roles> 61 <timezone>0</timezone> 62 </developer> 63 64 <developer> 65 <id>kabir.khan (a] jboss.com</id> 66 <name>Kabir Khan</name> 67 <email>kabir.khan (a] jboss.com</email> 68 <organization>JBoss</organization> 69 <organizationUrl>http://www.jboss.org/</organizationUrl> 70 <roles> 71 <role>contributing developer</role> 72 </roles> 73 <timezone>0</timezone> 74 </developer> 75 </developers> 76 77 <distributionManagement> 78 <!-- 79 You need entries in your .m2/settings.xml like this: 80 <servers> 81 <server> 82 <id>jboss-releases-repository</id> 83 <username>your_jboss.org_username</username> 84 <password>password</password> 85 </server> 86 <server> 87 <id>jboss-snapshots-repository</id> 88 <username>your_jboss.org_username</username> 89 <password>password</password> 90 </server> 91 </servers> 92 93 To deploy a snapshot, you need to run 94 95 mvn deploy -Dversion=3.x.y-SNAPSHOT 96 97 To deploy a release you need to change the version to 3.x.y.GA and run 98 99 mvn deploy 100 --> 101 <repository> 102 <id>jboss-releases-repository</id> 103 <name>JBoss Releases Repository</name> 104 <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url> 105 </repository> 106 <snapshotRepository> 107 <id>jboss-snapshots-repository</id> 108 <name>JBoss Snapshots Repository</name> 109 <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url> 110 </snapshotRepository> 111 </distributionManagement> 112 <build> 113 <sourceDirectory>src/main/</sourceDirectory> 114 <testSourceDirectory>src/test/</testSourceDirectory> 115 <plugins> 116 <plugin> 117 <groupId>org.apache.maven.plugins</groupId> 118 <artifactId>maven-compiler-plugin</artifactId> 119 <configuration> 120 <source>1.4</source> 121 <target>1.4</target> 122 </configuration> 123 </plugin> 124 <plugin> 125 <groupId>org.apache.maven.plugins</groupId> 126 <artifactId>maven-jar-plugin</artifactId> 127 <configuration> 128 <archive> 129 <manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile> 130 </archive> 131 </configuration> 132 </plugin> 133 <plugin> 134 <artifactId>maven-source-plugin</artifactId> 135 <version>2.0.3</version> 136 <executions> 137 <execution> 138 <id>attach-sources</id> 139 <goals> 140 <goal>jar</goal> 141 </goals> 142 </execution> 143 </executions> 144 <inherited>true</inherited> 145 </plugin> 146 <plugin> 147 <groupId>org.apache.maven.plugins</groupId> 148 <artifactId>maven-javadoc-plugin</artifactId> 149 <version>2.7</version> 150 <configuration> 151 <attach>true</attach> 152 </configuration> 153 </plugin> 154 </plugins> 155 </build> 156 <profiles> 157 <!-- profile for releasing to sonatype repo 158 exercise with mvn -PcentralRelease 159 --> 160 <profile> 161 <id>centralRelease</id> 162 <!-- obviously we need to use the Sonatype staging repo for upload --> 163 <distributionManagement> 164 <repository> 165 <id>sonatype-releases-repository</id> 166 <name>Sonatype Releases Repository</name> 167 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> 168 </repository> 169 </distributionManagement> 170 <!-- we need to be able to sign the jars we install --> 171 <build> 172 <plugins> 173 <plugin> 174 <groupId>org.apache.maven.plugins</groupId> 175 <artifactId>maven-gpg-plugin</artifactId> 176 <configuration> 177 <passphrase>${gpg.passphrase}</passphrase> 178 <useAgent>${gpg.useAgent}</useAgent> 179 </configuration> 180 <executions> 181 <execution> 182 <id>sign-artifacts</id> 183 <phase>verify</phase> 184 <goals> 185 <goal>sign</goal> 186 </goals> 187 </execution> 188 </executions> 189 </plugin> 190 </plugins> 191 </build> 192 </profile> 193 <!-- profiles to add tools jar containing com.sun.jdi code 194 needed by sample code 195 --> 196 <profile> 197 <id>jdk14</id> 198 <activation> 199 <jdk>1.4</jdk> 200 <property> 201 <name>!no.tools</name> 202 </property> 203 </activation> 204 <dependencies> 205 <dependency> 206 <groupId>com.sun</groupId> 207 <artifactId>tools</artifactId> 208 <version>1.4</version> 209 <scope>system</scope> 210 <optional>true</optional> 211 <systemPath>${java.home}/../lib/tools.jar</systemPath> 212 </dependency> 213 </dependencies> 214 </profile> 215 <profile> 216 <id>jdk15</id> 217 <activation> 218 <jdk>1.5</jdk> 219 <property> 220 <name>!no.tools</name> 221 </property> 222 </activation> 223 <dependencies> 224 <dependency> 225 <groupId>com.sun</groupId> 226 <artifactId>tools</artifactId> 227 <version>1.5</version> 228 <scope>system</scope> 229 <optional>true</optional> 230 <systemPath>${java.home}/../lib/tools.jar</systemPath> 231 </dependency> 232 </dependencies> 233 </profile> 234 <profile> 235 <id>jdk16</id> 236 <activation> 237 <jdk>1.6</jdk> 238 <property> 239 <name>!no.tools</name> 240 </property> 241 </activation> 242 <dependencies> 243 <dependency> 244 <groupId>com.sun</groupId> 245 <artifactId>tools</artifactId> 246 <version>1.6</version> 247 <scope>system</scope> 248 <optional>true</optional> 249 <systemPath>${java.home}/../lib/tools.jar</systemPath> 250 </dependency> 251 </dependencies> 252 </profile> 253 </profiles> 254 <dependencies> 255 <dependency> 256 <groupId>junit</groupId> 257 <artifactId>junit</artifactId> 258 <version>3.8.1</version> 259 <scope>test</scope> 260 </dependency> 261 </dependencies> 262 </project> 263