選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

pom.xml 2.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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.8.0.GA</version>
  12. <name>Javassist</name>
  13. <url>http://www.javassist.org/</url>
  14. <build>
  15. <sourceDirectory>src/main/</sourceDirectory>
  16. <testSourceDirectory>src/test/</testSourceDirectory>
  17. <plugins>
  18. <plugin>
  19. <groupId>org.apache.maven.plugins</groupId>
  20. <artifactId>maven-compiler-plugin</artifactId>
  21. <configuration>
  22. <source>1.4</source>
  23. <target>1.4</target>
  24. </configuration>
  25. </plugin>
  26. <plugin>
  27. <groupId>org.apache.maven.plugins</groupId>
  28. <artifactId>maven-jar-plugin</artifactId>
  29. <configuration>
  30. <archive>
  31. <manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile>
  32. </archive>
  33. </configuration>
  34. </plugin>
  35. </plugins>
  36. </build>
  37. <profiles>
  38. <profile>
  39. <id>jdk14</id>
  40. <activation>
  41. <jdk>1.4</jdk>
  42. </activation>
  43. <dependencies>
  44. <dependency>
  45. <groupId>com.sun</groupId>
  46. <artifactId>tools</artifactId>
  47. <version>1.4</version>
  48. <scope>system</scope>
  49. <optional>true</optional>
  50. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  51. </dependency>
  52. </dependencies>
  53. </profile>
  54. <profile>
  55. <id>jdk15</id>
  56. <activation>
  57. <jdk>1.5</jdk>
  58. </activation>
  59. <dependencies>
  60. <dependency>
  61. <groupId>com.sun</groupId>
  62. <artifactId>tools</artifactId>
  63. <version>1.5</version>
  64. <scope>system</scope>
  65. <optional>true</optional>
  66. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  67. </dependency>
  68. </dependencies>
  69. </profile>
  70. <profile>
  71. <id>jdk16</id>
  72. <activation>
  73. <jdk>1.6</jdk>
  74. </activation>
  75. <dependencies>
  76. <dependency>
  77. <groupId>com.sun</groupId>
  78. <artifactId>tools</artifactId>
  79. <version>1.6</version>
  80. <scope>system</scope>
  81. <optional>true</optional>
  82. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  83. </dependency>
  84. </dependencies>
  85. </profile>
  86. </profiles>
  87. <dependencies>
  88. <dependency>
  89. <groupId>junit</groupId>
  90. <artifactId>junit</artifactId>
  91. <version>3.8.1</version>
  92. <scope>test</scope>
  93. </dependency>
  94. </dependencies>
  95. </project>