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 9.0KB

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