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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <properties>
  7. <revision>1.9.7.BUILD-SNAPSHOT</revision>
  8. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  9. </properties>
  10. <groupId>org.aspectj</groupId>
  11. <artifactId>aspectj-parent</artifactId>
  12. <packaging>pom</packaging>
  13. <version>1.9.7.BUILD-SNAPSHOT</version>
  14. <name>AspectJ Parent Project</name>
  15. <modules>
  16. <module>util</module>
  17. <module>bridge</module>
  18. <module>testing-util</module>
  19. <module>org.aspectj.matcher</module>
  20. <module>asm</module>
  21. <module>testing-client</module>
  22. <module>ajbrowser</module>
  23. <module>runtime</module>
  24. <module>bcel-builder</module>
  25. <module>weaver</module>
  26. <module>loadtime</module>
  27. <module>org.eclipse.jdt.core</module>
  28. <module>org.aspectj.ajdt.core</module>
  29. <module>ajde.core</module>
  30. <module>ajde</module>
  31. <module>ajdoc</module>
  32. <module>taskdefs</module>
  33. <module>testing</module>
  34. <module>testing-drivers</module>
  35. <module>tests</module>
  36. <module>build</module>
  37. <module>run-all-junit-tests</module>
  38. <module>docs</module>
  39. <!-- create the important artifacts we care about -->
  40. <module>aspectjrt</module>
  41. <module>aspectjweaver</module>
  42. <module>aspectjtools</module>
  43. <module>aspectjmatcher</module>
  44. <!-- build the java -jar'able installer -->
  45. <module>installer</module>
  46. </modules>
  47. <!--
  48. Caveat: Automatic, JDK-based profile activation can *not* be inherited by child POMs defining
  49. the same profiles. Thus, we have to repeat activation conditions there.
  50. Note: We can check if automatic profile activation works via mvn help:active-profiles.
  51. -->
  52. <profiles>
  53. <profile>
  54. <id>jdk-8-to-15</id>
  55. <activation>
  56. <jdk>[1.8,16)</jdk>
  57. </activation>
  58. <properties>
  59. <jvm.arg.addOpens/>
  60. </properties>
  61. </profile>
  62. <profile>
  63. <id>jdk-16-to-xx</id>
  64. <activation>
  65. <jdk>[16,)</jdk>
  66. </activation>
  67. <properties>
  68. <jvm.arg.addOpens>--add-opens java.base/java.lang=ALL-UNNAMED</jvm.arg.addOpens>
  69. </properties>
  70. </profile>
  71. </profiles>
  72. <build>
  73. <pluginManagement>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-compiler-plugin</artifactId>
  78. <configuration>
  79. <source>1.8</source>
  80. <target>1.8</target>
  81. </configuration>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-surefire-plugin</artifactId>
  86. <version>2.22.2</version>
  87. <configuration>
  88. <!--<testFailureIgnore>true</testFailureIgnore>-->
  89. <argLine>${jvm.arg.addOpens}</argLine>
  90. <excludes>
  91. <exclude>**/*ModuleTests.java</exclude>
  92. </excludes>
  93. </configuration>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-help-plugin</artifactId>
  98. <version>3.2.0</version>
  99. </plugin>
  100. </plugins>
  101. </pluginManagement>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-jar-plugin</artifactId>
  106. <version>3.1.2</version>
  107. <configuration>
  108. <archive>
  109. <addMavenDescriptor>false</addMavenDescriptor>
  110. </archive>
  111. </configuration>
  112. <executions>
  113. <execution>
  114. <id>test-jar</id>
  115. <goals>
  116. <goal>test-jar</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <artifactId>maven-clean-plugin</artifactId>
  123. <version>3.1.0</version>
  124. <configuration>
  125. <filesets>
  126. <fileset>
  127. <directory>.</directory>
  128. <includes>
  129. <include>**/ajcore.*.txt</include>
  130. </includes>
  131. <!--
  132. <excludes>
  133. <exclude>**/important.log</exclude>
  134. <exclude>**/another-important.log</exclude>
  135. </excludes>
  136. -->
  137. <followSymlinks>false</followSymlinks>
  138. </fileset>
  139. <fileset>
  140. <directory>aj-build</directory>
  141. <!--
  142. <includes>
  143. <include>**/*.tmp</include>
  144. <include>**/*.log</include>
  145. </includes>
  146. <excludes>
  147. <exclude>**/important.log</exclude>
  148. <exclude>**/another-important.log</exclude>
  149. </excludes>
  150. -->
  151. <followSymlinks>false</followSymlinks>
  152. </fileset>
  153. </filesets>
  154. </configuration>
  155. </plugin>
  156. <!--
  157. This plugin is nice to have in the POM, because then it is easy to double-click a goal such as 'effective-pom',
  158. 'active-profiles', 'effective-settings' or 'evaluate' from a modern IDE in order to get quick information about
  159. the current build configuration for any given module.
  160. -->
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-help-plugin</artifactId>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. <dependencyManagement>
  168. <dependencies>
  169. <dependency>
  170. <groupId>org.junit</groupId>
  171. <artifactId>junit-bom</artifactId>
  172. <version>5.6.2</version>
  173. <type>pom</type>
  174. <scope>import</scope>
  175. </dependency>
  176. </dependencies>
  177. </dependencyManagement>
  178. <dependencies>
  179. <dependency>
  180. <groupId>org.junit.jupiter</groupId>
  181. <artifactId>junit-jupiter-api</artifactId>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.junit.jupiter</groupId>
  186. <artifactId>junit-jupiter-engine</artifactId>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.junit.vintage</groupId>
  191. <artifactId>junit-vintage-engine</artifactId>
  192. <scope>test</scope>
  193. </dependency>
  194. </dependencies>
  195. </project>