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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>javassist</groupId>
  6. <artifactId>javassist</artifactId>
  7. <packaging>jar</packaging>
  8. <description>Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation
  9. simple. It is a class library for editing bytecodes in Java.
  10. </description>
  11. <version>3.12.0-SNAPSHOT</version>
  12. <name>Javassist</name>
  13. <url>http://www.javassist.org/</url>
  14. <distributionManagement>
  15. <snapshotRepository>
  16. <id>jboss-snapshots</id>
  17. <name>JBoss Snapshot Repository</name>
  18. <url>${jboss.snapshots.repo.url}</url>
  19. </snapshotRepository>
  20. </distributionManagement>
  21. <build>
  22. <sourceDirectory>src/main/</sourceDirectory>
  23. <testSourceDirectory>src/test/</testSourceDirectory>
  24. <plugins>
  25. <plugin>
  26. <groupId>org.apache.maven.plugins</groupId>
  27. <artifactId>maven-compiler-plugin</artifactId>
  28. <configuration>
  29. <source>1.4</source>
  30. <target>1.4</target>
  31. </configuration>
  32. </plugin>
  33. <plugin>
  34. <groupId>org.apache.maven.plugins</groupId>
  35. <artifactId>maven-jar-plugin</artifactId>
  36. <configuration>
  37. <archive>
  38. <manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile>
  39. </archive>
  40. </configuration>
  41. </plugin>
  42. </plugins>
  43. </build>
  44. <profiles>
  45. <profile>
  46. <id>jdk14</id>
  47. <activation>
  48. <jdk>1.4</jdk>
  49. </activation>
  50. <dependencies>
  51. <dependency>
  52. <groupId>com.sun</groupId>
  53. <artifactId>tools</artifactId>
  54. <version>1.4</version>
  55. <scope>system</scope>
  56. <optional>true</optional>
  57. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  58. </dependency>
  59. </dependencies>
  60. </profile>
  61. <profile>
  62. <id>jdk15</id>
  63. <activation>
  64. <jdk>1.5</jdk>
  65. </activation>
  66. <dependencies>
  67. <dependency>
  68. <groupId>com.sun</groupId>
  69. <artifactId>tools</artifactId>
  70. <version>1.5</version>
  71. <scope>system</scope>
  72. <optional>true</optional>
  73. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  74. </dependency>
  75. </dependencies>
  76. </profile>
  77. <profile>
  78. <id>jdk16</id>
  79. <activation>
  80. <jdk>1.6</jdk>
  81. </activation>
  82. <dependencies>
  83. <dependency>
  84. <groupId>com.sun</groupId>
  85. <artifactId>tools</artifactId>
  86. <version>1.6</version>
  87. <scope>system</scope>
  88. <optional>true</optional>
  89. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  90. </dependency>
  91. </dependencies>
  92. </profile>
  93. </profiles>
  94. <dependencies>
  95. <dependency>
  96. <groupId>junit</groupId>
  97. <artifactId>junit</artifactId>
  98. <version>3.8.1</version>
  99. <scope>test</scope>
  100. </dependency>
  101. </dependencies>
  102. </project>