You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 7.9KB

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