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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.aspectj</groupId>
  6. <artifactId>aspectj-parent</artifactId>
  7. <version>1.9.22-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>AspectJ Parent Project</name>
  10. <properties>
  11. <!-- Basic build properties -->
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <!-- By default, do not deploy artifacts - override for the ones which actually should be deployed -->
  15. <maven.deploy.skip>true</maven.deploy.skip>
  16. <!-- By default, do not create javadoc - override in release profile or manually -->
  17. <maven.javadoc.skip>true</maven.javadoc.skip>
  18. <!-- Dependency versions -->
  19. <jdt.core.version>1.9.21.1</jdt.core.version>
  20. <asm.version>9.6</asm.version>
  21. <lib.ant.version>1.6.3</lib.ant.version>
  22. <lib.ant.xerces.version>2.6.2</lib.ant.xerces.version>
  23. <lib.regexp.version>1.2</lib.regexp.version>
  24. <lib.commons.beanutils.version>1.4</lib.commons.beanutils.version>
  25. <lib.commons.beanutils.tag>BEANUTILS_1_4</lib.commons.beanutils.tag>
  26. <lib.commons.collections.version>2.0</lib.commons.collections.version>
  27. <lib.commons.collections.tag>collections-2.0</lib.commons.collections.tag>
  28. <lib.commons.digester.version>1.3</lib.commons.digester.version>
  29. <lib.commons.digester.tag>DIGESTER_1_3</lib.commons.digester.tag>
  30. <lib.commons.logging.version>1.0.1</lib.commons.logging.version>
  31. <lib.commons.logging.tag>LOGGING_1_0_1</lib.commons.logging.tag>
  32. </properties>
  33. <distributionManagement>
  34. <snapshotRepository>
  35. <id>ossrh</id>
  36. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  37. </snapshotRepository>
  38. <repository>
  39. <id>ossrh</id>
  40. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  41. </repository>
  42. <site>
  43. <id>aspectj-site-local</id>
  44. <!-- Use mvn site:deploy from root directory to create multi-module Maven site there -->
  45. <url>file://${user.dir}/aj-build/dist/site</url>
  46. </site>
  47. </distributionManagement>
  48. <repositories>
  49. <!--
  50. Repeat Central definition from super POM https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom.html.
  51. Define it as the first repository to search at, otherwise Maven would always search any other repositories defined
  52. in the POM or in settings.xml first, slowing down the build, because most artifacts reside at Maven Central. See
  53. https://maven.apache.org/guides/mini/guide-multiple-repositories.html#repository-order for more details.
  54. -->
  55. <repository>
  56. <id>central</id>
  57. <name>Central Repository</name>
  58. <url>https://repo.maven.apache.org/maven2</url>
  59. <layout>default</layout>
  60. <snapshots>
  61. <enabled>false</enabled>
  62. </snapshots>
  63. <releases>
  64. <enabled>true</enabled>
  65. <updatePolicy>never</updatePolicy>
  66. </releases>
  67. </repository>
  68. <repository>
  69. <id>ossrh-snapshots</id>
  70. <name>Sonatype OSSRH snapshots</name>
  71. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  72. <layout>default</layout>
  73. <snapshots>
  74. <enabled>true</enabled>
  75. <updatePolicy>always</updatePolicy>
  76. </snapshots>
  77. <releases>
  78. <enabled>true</enabled>
  79. <updatePolicy>never</updatePolicy>
  80. </releases>
  81. </repository>
  82. </repositories>
  83. <pluginRepositories>
  84. <!--
  85. Repeat Central definition from super POM https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom.html.
  86. Define it as the first repository to search at, otherwise Maven would always search any other repositories defined
  87. in the POM or in settings.xml first, slowing down the build, because most artifacts reside at Maven Central. See
  88. https://maven.apache.org/guides/mini/guide-multiple-repositories.html#repository-order for more details.
  89. -->
  90. <pluginRepository>
  91. <id>central</id>
  92. <name>Central Repository</name>
  93. <url>https://repo.maven.apache.org/maven2</url>
  94. <layout>default</layout>
  95. <snapshots>
  96. <enabled>false</enabled>
  97. </snapshots>
  98. <releases>
  99. <enabled>true</enabled>
  100. <updatePolicy>never</updatePolicy>
  101. </releases>
  102. </pluginRepository>
  103. <pluginRepository>
  104. <id>ossrh-snapshots</id>
  105. <name>Sonatype OSSRH snapshots</name>
  106. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  107. <layout>default</layout>
  108. <snapshots>
  109. <enabled>true</enabled>
  110. <updatePolicy>always</updatePolicy>
  111. </snapshots>
  112. <releases>
  113. <enabled>true</enabled>
  114. <updatePolicy>never</updatePolicy>
  115. </releases>
  116. </pluginRepository>
  117. </pluginRepositories>
  118. <modules>
  119. <module>lib</module>
  120. <module>util</module>
  121. <module>bridge</module>
  122. <module>testing-util</module>
  123. <module>org.aspectj.matcher</module>
  124. <module>asm</module>
  125. <module>testing-client</module>
  126. <module>runtime</module>
  127. <module>bcel-builder</module>
  128. <module>weaver</module>
  129. <module>loadtime</module>
  130. <module>org.aspectj.ajdt.core</module>
  131. <module>ajde.core</module>
  132. <module>ajde</module>
  133. <module>ajdoc</module>
  134. <module>taskdefs</module>
  135. <module>testing</module>
  136. <module>testing-drivers</module>
  137. <module>tests</module>
  138. <module>build</module>
  139. <module>run-all-junit-tests</module>
  140. <module>docs</module>
  141. <!-- create the important artifacts we care about -->
  142. <module>aspectjrt</module>
  143. <module>aspectjweaver</module>
  144. <module>aspectjtools</module>
  145. <module>aspectjmatcher</module>
  146. <!-- build the java -jar'able installer -->
  147. <module>installer</module>
  148. </modules>
  149. <!--
  150. Caveat: Automatic, JDK-based profile activation can *not* be inherited by child POMs defining
  151. the same profiles. Thus, we have to repeat activation conditions there.
  152. Note: We can check if automatic profile activation works via mvn help:active-profiles.
  153. -->
  154. <profiles>
  155. <profile>
  156. <id>jdk-8-to-15</id>
  157. <activation>
  158. <jdk>[1.8,16)</jdk>
  159. </activation>
  160. <properties>
  161. <jvm.arg.addOpens/>
  162. <jvm.arg.allowSecurityManager/>
  163. </properties>
  164. </profile>
  165. <profile>
  166. <id>jdk-16-to-xx</id>
  167. <activation>
  168. <jdk>[16,)</jdk>
  169. </activation>
  170. <properties>
  171. <jvm.arg.addOpens>--add-opens java.base/java.lang=ALL-UNNAMED</jvm.arg.addOpens>
  172. <jvm.arg.allowSecurityManager/>
  173. </properties>
  174. </profile>
  175. <profile>
  176. <id>jdk-18-to-xx</id>
  177. <activation>
  178. <jdk>[18,)</jdk>
  179. </activation>
  180. <properties>
  181. <!--
  182. JEP 411: Deprecate the Security Manager for Removal, see https://openjdk.java.net/jeps/411.
  183. As of Java 18, the new API for blocking System.exit is not available yet, see
  184. https://bugs.openjdk.java.net/browse/JDK-8199704.
  185. -->
  186. <jvm.arg.allowSecurityManager>-Djava.security.manager=allow</jvm.arg.allowSecurityManager>
  187. </properties>
  188. </profile>
  189. <profile>
  190. <id>release</id>
  191. <properties>
  192. <maven.javadoc.skip>false</maven.javadoc.skip>
  193. <maven.source.skip>false</maven.source.skip>
  194. </properties>
  195. <build>
  196. <plugins>
  197. <plugin>
  198. <groupId>org.apache.maven.plugins</groupId>
  199. <artifactId>maven-gpg-plugin</artifactId>
  200. </plugin>
  201. </plugins>
  202. </build>
  203. </profile>
  204. <profile>
  205. <id>fast-build</id>
  206. <properties>
  207. <!-- Do not compile tests (also skips execution) -->
  208. <maven.test.skip>true</maven.test.skip>
  209. <!-- Do not execute tests (redundant, but just to be sure) -->
  210. <skipTests>true</skipTests>
  211. <!-- Do not create documentation for AspectJ website -->
  212. <createDocs>false</createDocs>
  213. </properties>
  214. </profile>
  215. </profiles>
  216. <build>
  217. <pluginManagement>
  218. <plugins>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-compiler-plugin</artifactId>
  222. <version>3.8.1</version>
  223. <configuration>
  224. <source>1.8</source>
  225. <target>1.8</target>
  226. </configuration>
  227. </plugin>
  228. <plugin>
  229. <groupId>org.apache.maven.plugins</groupId>
  230. <artifactId>maven-surefire-plugin</artifactId>
  231. <version>2.22.2</version>
  232. <configuration>
  233. <!--<testFailureIgnore>true</testFailureIgnore>-->
  234. <argLine>
  235. ${jvm.arg.addOpens}
  236. ${jvm.arg.allowSecurityManager}
  237. </argLine>
  238. <excludes>
  239. <exclude>**/*ModuleTests.java</exclude>
  240. </excludes>
  241. </configuration>
  242. </plugin>
  243. <plugin>
  244. <groupId>org.apache.maven.plugins</groupId>
  245. <artifactId>maven-help-plugin</artifactId>
  246. <version>3.2.0</version>
  247. </plugin>
  248. <plugin>
  249. <groupId>org.apache.maven.plugins</groupId>
  250. <artifactId>maven-source-plugin</artifactId>
  251. <version>3.2.0</version>
  252. <executions>
  253. <execution>
  254. <id>attach-sources</id>
  255. <phase>package</phase>
  256. <goals>
  257. <goal>jar-no-fork</goal>
  258. </goals>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-jar-plugin</artifactId>
  265. <version>3.2.0</version>
  266. <configuration>
  267. <archive>
  268. <addMavenDescriptor>false</addMavenDescriptor>
  269. </archive>
  270. </configuration>
  271. <executions>
  272. <execution>
  273. <id>test-jar</id>
  274. <goals>
  275. <goal>test-jar</goal>
  276. </goals>
  277. </execution>
  278. </executions>
  279. </plugin>
  280. <plugin>
  281. <groupId>org.apache.maven.plugins</groupId>
  282. <artifactId>maven-shade-plugin</artifactId>
  283. <version>3.3.0</version>
  284. <configuration>
  285. <createSourcesJar>true</createSourcesJar>
  286. <createDependencyReducedPom>false</createDependencyReducedPom>
  287. <shadedArtifactAttached>false</shadedArtifactAttached>
  288. </configuration>
  289. </plugin>
  290. <plugin>
  291. <groupId>org.apache.maven.plugins</groupId>
  292. <artifactId>maven-install-plugin</artifactId>
  293. <version>2.5.2</version>
  294. </plugin>
  295. <plugin>
  296. <groupId>org.apache.maven.plugins</groupId>
  297. <artifactId>maven-resources-plugin</artifactId>
  298. <version>3.3.1</version>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.apache.maven.plugins</groupId>
  302. <artifactId>maven-enforcer-plugin</artifactId>
  303. <version>3.0.0-M3</version>
  304. </plugin>
  305. <plugin>
  306. <groupId>org.codehaus.mojo</groupId>
  307. <artifactId>build-helper-maven-plugin</artifactId>
  308. <version>3.2.0</version>
  309. </plugin>
  310. <plugin>
  311. <groupId>org.apache.maven.plugins</groupId>
  312. <artifactId>maven-clean-plugin</artifactId>
  313. <version>3.1.0</version>
  314. </plugin>
  315. <plugin>
  316. <groupId>org.apache.maven.plugins</groupId>
  317. <artifactId>maven-dependency-plugin</artifactId>
  318. <version>3.1.2</version>
  319. </plugin>
  320. <plugin>
  321. <groupId>org.apache.maven.plugins</groupId>
  322. <artifactId>maven-assembly-plugin</artifactId>
  323. <version>3.1.1</version>
  324. </plugin>
  325. <!--
  326. TODO: MSHADE-36 is in Maven Shade 3.3.0 -> it should be possible to include the dependency-reduced POM there
  327. directly. So maybe, we can rid of Flatten Maven Plugin.
  328. -->
  329. <plugin>
  330. <groupId>org.codehaus.mojo</groupId>
  331. <artifactId>flatten-maven-plugin</artifactId>
  332. <version>1.2.2</version>
  333. </plugin>
  334. <plugin>
  335. <groupId>org.apache.maven.plugins</groupId>
  336. <artifactId>maven-gpg-plugin</artifactId>
  337. <version>1.6</version>
  338. <executions>
  339. <execution>
  340. <id>sign-artifacts</id>
  341. <phase>verify</phase>
  342. <goals>
  343. <goal>sign</goal>
  344. </goals>
  345. <configuration>
  346. <!-- Only sign artifacts which are also meant to be deployed -->
  347. <skip>${maven.gpg.skip}</skip>
  348. </configuration>
  349. </execution>
  350. </executions>
  351. </plugin>
  352. <plugin>
  353. <artifactId>maven-deploy-plugin</artifactId>
  354. <version>2.8.2</version>
  355. <executions>
  356. <execution>
  357. <id>default-deploy</id>
  358. <phase>deploy</phase>
  359. <goals>
  360. <goal>deploy</goal>
  361. </goals>
  362. </execution>
  363. </executions>
  364. <configuration>
  365. <!-- Deploy at the end of a multi-module build -->
  366. <deployAtEnd>true</deployAtEnd>
  367. </configuration>
  368. </plugin>
  369. <plugin>
  370. <!--
  371. Other than Maven Deploy, this plugin cannot just be added to the 'build/plugins' section of the parent POM
  372. once and (de-)activated with a simple property like 'maven.deploy.skip' on a per-module basis. See also
  373. https://issues.sonatype.org/browse/OSSRH-68966. Consequently, we do not add it to the parent but separately
  374. to each module meant to be published.
  375. -->
  376. <groupId>org.sonatype.plugins</groupId>
  377. <artifactId>nexus-staging-maven-plugin</artifactId>
  378. <version>1.6.8</version>
  379. <extensions>true</extensions>
  380. <configuration>
  381. <serverId>ossrh</serverId>
  382. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  383. <!-- Activate in order to directly release to Maven Central after successful staging -->
  384. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  385. </configuration>
  386. <dependencies>
  387. <!--
  388. Plugin version 1.6.8 does not work on JDK 16+ without special MAVEN_OPTS opening certain modules,
  389. because the XStream version used needs it. One workaround is to use a more recent XStream version.
  390. Attention: Do *not* upgrade to e.g. 1.4.18, because it causes exceptions during deployment.
  391. TODO: remove plugin dependency after OSSRH-66257, NEXUS-26993 are fixed.
  392. -->
  393. <dependency>
  394. <groupId>com.thoughtworks.xstream</groupId>
  395. <artifactId>xstream</artifactId>
  396. <version>1.4.15</version>
  397. </dependency>
  398. </dependencies>
  399. </plugin>
  400. <plugin>
  401. <groupId>org.codehaus.mojo</groupId>
  402. <artifactId>truezip-maven-plugin</artifactId>
  403. <version>1.2</version>
  404. </plugin>
  405. <plugin>
  406. <groupId>org.apache.maven.plugins</groupId>
  407. <artifactId>maven-javadoc-plugin</artifactId>
  408. <version>3.2.0</version>
  409. <!--
  410. FIXME: This configuration works with JDK 16, but throws errors on other JDK versions, e.g. 14. It looks as
  411. if the Maven Javadoc plugin does not do a particularly good job applying the plugin settings in a way
  412. making it work with different JDK javadoc tool versions. I am saying that, because when using the tool
  413. directly on the console, it works with basic settings and the correct classpath.
  414. -->
  415. <configuration>
  416. <!-- TODO: Include 'aj' package for ASM-renamed contained in aspectjtools? -->
  417. <subpackages>org.aspectj</subpackages>
  418. <!-- Deactivate doclint checks in order to suppress errors -->
  419. <doclint>none</doclint>
  420. <!-- Generate class use xref, making javadocs considerably bigger, but also more informative -->
  421. <use>true</use>
  422. <!-- FIXME: Why does it fail without this parameter? -->
  423. <javadocVersion>8</javadocVersion>
  424. <!--
  425. Avoid non-English javadoc generation. Due to https://bugs.openjdk.org/browse/JDK-8222793 reoccurring at
  426. least in JDKs 19-21 and also being broken in some older JDKs, we cannot rely on just setting the locale
  427. parameter, but also need the 'user.language' and 'user.country' parameters in 'additionalJOptions' as a
  428. workaround.
  429. -->
  430. <locale>en</locale>
  431. <additionalJOptions>
  432. <additionalJOption>-J-Dfile.encoding=UTF-8</additionalJOption>
  433. <additionalJOption>-J-Duser.language=en</additionalJOption>
  434. <additionalJOption>-J-Duser.country=US</additionalJOption>
  435. </additionalJOptions>
  436. </configuration>
  437. </plugin>
  438. <plugin>
  439. <groupId>org.asciidoctor</groupId>
  440. <artifactId>asciidoctor-maven-plugin</artifactId>
  441. <version>2.2.5</version>
  442. <configuration>
  443. <attributes>
  444. <source-highlighter>coderay</source-highlighter>
  445. <toc>left</toc>
  446. <icons>font</icons>
  447. <!--
  448. Create separate CSS files, rather than embedding CSS into each HTML file
  449. TODO:
  450. There still is one set of CSS files per subdirectory due to the way the docs directories are
  451. organised. It would be better to have them just once. But to achieve that, the ADOC-to-HTML conversion
  452. would have to be changed, e.g. using one central directory for images and reorganisation of the
  453. overall directory structure and build options.
  454. See https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/729.
  455. -->
  456. <linkcss>true</linkcss>
  457. </attributes>
  458. </configuration>
  459. <dependencies>
  460. <dependency>
  461. <groupId>org.asciidoctor</groupId>
  462. <artifactId>asciidoctorj-pdf</artifactId>
  463. <version>2.3.10</version>
  464. </dependency>
  465. </dependencies>
  466. </plugin>
  467. </plugins>
  468. </pluginManagement>
  469. <plugins>
  470. <plugin>
  471. <groupId>org.apache.maven.plugins</groupId>
  472. <artifactId>maven-jar-plugin</artifactId>
  473. </plugin>
  474. <plugin>
  475. <artifactId>maven-clean-plugin</artifactId>
  476. <configuration>
  477. <filesets>
  478. <fileset>
  479. <directory>.</directory>
  480. <includes>
  481. <!-- AspectJ core dumps -->
  482. <include>**/ajcore.*.txt</include>
  483. <!-- Test temp-dirs in 'weaver' module, see AsynchronousFileCacheBackingTestSupport.getCacheDir -->
  484. <include>**/dir-0.*/**</include>
  485. </includes>
  486. <followSymlinks>false</followSymlinks>
  487. </fileset>
  488. <fileset>
  489. <directory>aj-build</directory>
  490. <followSymlinks>false</followSymlinks>
  491. </fileset>
  492. </filesets>
  493. </configuration>
  494. </plugin>
  495. <!--
  496. This plugin is nice to have in the POM, because then it is easy to double-click a goal such as 'effective-pom',
  497. 'active-profiles', 'effective-settings' or 'evaluate' from a modern IDE in order to get quick information about
  498. the current build configuration for any given module.
  499. -->
  500. <plugin>
  501. <groupId>org.apache.maven.plugins</groupId>
  502. <artifactId>maven-help-plugin</artifactId>
  503. </plugin>
  504. <!--
  505. This plugin is nice to have in the POM, because then it is easy to double-click a goal such as 'analyze' or
  506. 'tree' from a modern IDE in order to inspect dependency management in the project.
  507. Tip: If you want a quick overview, run this from the project from the project root directory:
  508. mvn -P \!create-docs dependency:analyze | grep -E '\[(WARNING|INFO\] -+< .+:.+ >-+)' > dependency-analyze.txt
  509. But be careful that all modules are actually listed - usually 'org.aspectj:installer' is the last one in the
  510. list. You can make sure by running the command without 'grep' first, then you see if there are any compile
  511. problems which 'grep' would filter out.
  512. -->
  513. <plugin>
  514. <groupId>org.apache.maven.plugins</groupId>
  515. <artifactId>maven-dependency-plugin</artifactId>
  516. <configuration>
  517. <ignoredUnusedDeclaredDependencies>
  518. <!-- Declared in parent POM for convenience, but not used in every module -->
  519. <ignoredUnusedDeclaredDependency>junit:junit:jar</ignoredUnusedDeclaredDependency>
  520. <ignoredUnusedDeclaredDependency>org.aspectj:lib:jar</ignoredUnusedDeclaredDependency>
  521. </ignoredUnusedDeclaredDependencies>
  522. </configuration>
  523. </plugin>
  524. </plugins>
  525. </build>
  526. <dependencyManagement>
  527. <dependencies>
  528. <dependency>
  529. <groupId>org.junit</groupId>
  530. <artifactId>junit-bom</artifactId>
  531. <version>5.7.1</version>
  532. <type>pom</type>
  533. <scope>import</scope>
  534. </dependency>
  535. <dependency>
  536. <groupId>junit</groupId>
  537. <artifactId>junit</artifactId>
  538. <version>4.13.2</version>
  539. <scope>test</scope>
  540. </dependency>
  541. <dependency>
  542. <groupId>org.aspectj</groupId>
  543. <artifactId>org.eclipse.jdt.core</artifactId>
  544. <version>${jdt.core.version}</version>
  545. </dependency>
  546. <dependency>
  547. <!-- Because commons-digester:commons-digester:1.3 refers to version 1.4-dev -->
  548. <groupId>commons-beanutils</groupId>
  549. <artifactId>commons-beanutils</artifactId>
  550. <version>${lib.commons.beanutils.version}</version>
  551. </dependency>
  552. <dependency>
  553. <groupId>org.ow2.asm</groupId>
  554. <artifactId>asm</artifactId>
  555. <version>${asm.version}</version>
  556. </dependency>
  557. <dependency>
  558. <groupId>org.ow2.asm</groupId>
  559. <artifactId>asm-commons</artifactId>
  560. <version>${asm.version}</version>
  561. </dependency>
  562. <dependency>
  563. <!-- All modules referencing files inside 'lib' need this dependency -->
  564. <groupId>org.aspectj</groupId>
  565. <artifactId>lib</artifactId>
  566. <version>${project.version}</version>
  567. </dependency>
  568. </dependencies>
  569. </dependencyManagement>
  570. <dependencies>
  571. <!--
  572. Actually, it would be cleaner to only define JUnit only it modules which actually use it. But since this comprises
  573. the majority, we can afford to be a little bit unclean here with regard to dependency management.
  574. -->
  575. <dependency>
  576. <groupId>junit</groupId>
  577. <artifactId>junit</artifactId>
  578. <scope>test</scope>
  579. </dependency>
  580. </dependencies>
  581. </project>