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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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>bundle</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.18.2-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:git:git@github.com:jboss-javassist/javassist.git</connection>
  40. <developerConnection>scm:git:git@github.com:jboss-javassist/javassist.git</developerConnection>
  41. <url>scm:git:git@github.com:jboss-javassist/javassist.git</url>
  42. </scm>
  43. <developers>
  44. <developer>
  45. <id>chiba</id>
  46. <name>Shigeru Chiba</name>
  47. <email>chiba@javassist.org</email>
  48. <organization>The Javassist Project</organization>
  49. <organizationUrl>http://www.javassist.org/</organizationUrl>
  50. <roles>
  51. <role>project lead</role>
  52. </roles>
  53. <timezone>9</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. <developer>
  78. <id>smarlow</id>
  79. <name>Scott Marlow</name>
  80. <email>smarlow@redhat.com</email>
  81. <organization>JBoss</organization>
  82. <organizationUrl>http://www.jboss.org/</organizationUrl>
  83. <roles>
  84. <role>contributing developer</role>
  85. </roles>
  86. <timezone>-5</timezone>
  87. </developer>
  88. </developers>
  89. <distributionManagement>
  90. <!--
  91. You need entries in your .m2/settings.xml like this:
  92. <servers>
  93. <server>
  94. <id>jboss-releases-repository</id>
  95. <username>your_jboss.org_username</username>
  96. <password>password</password>
  97. </server>
  98. <server>
  99. <id>jboss-snapshots-repository</id>
  100. <username>your_jboss.org_username</username>
  101. <password>password</password>
  102. </server>
  103. </servers>
  104. To deploy a snapshot, you need to run
  105. mvn deploy -Dversion=3.x.y-SNAPSHOT
  106. To deploy a release you need to change the version to 3.x.y.GA and run
  107. mvn deploy
  108. -->
  109. <repository>
  110. <id>jboss-releases-repository</id>
  111. <name>JBoss Releases Repository</name>
  112. <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
  113. </repository>
  114. <snapshotRepository>
  115. <id>jboss-snapshots-repository</id>
  116. <name>JBoss Snapshots Repository</name>
  117. <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
  118. </snapshotRepository>
  119. </distributionManagement>
  120. <build>
  121. <sourceDirectory>src/main/</sourceDirectory>
  122. <testSourceDirectory>src/test/</testSourceDirectory>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-compiler-plugin</artifactId>
  127. <configuration>
  128. <source>1.6</source>
  129. <target>1.6</target>
  130. <testSource>1.7</testSource>
  131. <testTarget>1.7</testTarget>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-surefire-plugin</artifactId>
  137. <version>2.12</version>
  138. <configuration>
  139. <includes>
  140. <include>javassist/JvstTest.java</include>
  141. </includes>
  142. <forkMode>once</forkMode>
  143. <workingDirectory>runtest</workingDirectory>
  144. </configuration>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-jar-plugin</artifactId>
  149. <configuration>
  150. <archive>
  151. <manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile>
  152. </archive>
  153. </configuration>
  154. </plugin>
  155. <plugin>
  156. <artifactId>maven-source-plugin</artifactId>
  157. <version>2.0.3</version>
  158. <executions>
  159. <execution>
  160. <id>attach-sources</id>
  161. <goals>
  162. <goal>jar</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. <inherited>true</inherited>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-javadoc-plugin</artifactId>
  171. <version>2.7</version>
  172. <configuration>
  173. <attach>true</attach>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.felix</groupId>
  178. <artifactId>maven-bundle-plugin</artifactId>
  179. <version>2.1.0</version>
  180. <executions>
  181. <execution>
  182. <id>bundle-manifest</id>
  183. <phase>process-classes</phase>
  184. <goals>
  185. <goal>manifest</goal>
  186. </goals>
  187. </execution>
  188. </executions>
  189. <configuration>
  190. <supportedProjectTypes>
  191. <supportedProjectType>jar</supportedProjectType>
  192. <supportedProjectType>bundle</supportedProjectType>
  193. <supportedProjectType>war</supportedProjectType>
  194. </supportedProjectTypes>
  195. <instructions>
  196. <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
  197. <Bundle-Version>${project.version}</Bundle-Version>
  198. <Import-Package>!com.sun.jdi.*</Import-Package>
  199. <Export-Package>!com.sun.jdi.*,javassist.*;version="${project.version}"</Export-Package>
  200. </instructions>
  201. </configuration>
  202. <extensions>true</extensions>
  203. </plugin>
  204. </plugins>
  205. </build>
  206. <profiles>
  207. <!-- profile for releasing to sonatype repo
  208. exercise with mvn -PcentralRelease
  209. -->
  210. <profile>
  211. <id>centralRelease</id>
  212. <!-- obviously we need to use the Sonatype staging repo for upload -->
  213. <distributionManagement>
  214. <repository>
  215. <id>sonatype-releases-repository</id>
  216. <name>Sonatype Releases Repository</name>
  217. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  218. </repository>
  219. </distributionManagement>
  220. <!-- we need to be able to sign the jars we install -->
  221. <build>
  222. <plugins>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-gpg-plugin</artifactId>
  226. <configuration>
  227. <passphrase>${gpg.passphrase}</passphrase>
  228. <useAgent>${gpg.useAgent}</useAgent>
  229. </configuration>
  230. <executions>
  231. <execution>
  232. <id>sign-artifacts</id>
  233. <phase>verify</phase>
  234. <goals>
  235. <goal>sign</goal>
  236. </goals>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. </plugins>
  241. </build>
  242. </profile>
  243. <!-- profiles to add tools jar containing com.sun.jdi code
  244. needed by sample code
  245. -->
  246. <profile>
  247. <id>default-tools</id>
  248. <activation>
  249. <os>
  250. <family>!mac</family>
  251. </os>
  252. </activation>
  253. <dependencies>
  254. <dependency>
  255. <groupId>com.sun</groupId>
  256. <artifactId>tools</artifactId>
  257. <version>${java.version}</version>
  258. <scope>system</scope>
  259. <optional>true</optional>
  260. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  261. </dependency>
  262. </dependencies>
  263. </profile>
  264. <profile>
  265. <id>mac-tools</id>
  266. <activation>
  267. <os>
  268. <family>mac</family>
  269. </os>
  270. </activation>
  271. <dependencies>
  272. <dependency>
  273. <groupId>com.sun</groupId>
  274. <artifactId>tools</artifactId>
  275. <version>${java.version}</version>
  276. <scope>system</scope>
  277. <optional>true</optional>
  278. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  279. </dependency>
  280. </dependencies>
  281. </profile>
  282. </profiles>
  283. <dependencies>
  284. <dependency>
  285. <groupId>junit</groupId>
  286. <artifactId>junit</artifactId>
  287. <version>3.8.1</version>
  288. <scope>test</scope>
  289. </dependency>
  290. </dependencies>
  291. </project>