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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. <parent>
  7. <groupId>org.aspectj</groupId>
  8. <artifactId>aspectj-parent</artifactId>
  9. <version>1.9.7.BUILD-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>aspectjtools</artifactId>
  12. <packaging>pom</packaging>
  13. <name>AspectJ Compiler</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.aspectj</groupId>
  17. <artifactId>org.aspectj.ajdt.core</artifactId>
  18. <version>${project.version}</version>
  19. </dependency>
  20. </dependencies>
  21. <build>
  22. <plugins>
  23. <!-- skip creation of test-jar in here -->
  24. <plugin>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-jar-plugin</artifactId>
  27. <executions>
  28. <execution>
  29. <id>test-jar</id>
  30. <phase>none</phase>
  31. </execution>
  32. </executions>
  33. </plugin>
  34. <plugin>
  35. <groupId>org.apache.maven.plugins</groupId>
  36. <artifactId>maven-antrun-plugin</artifactId>
  37. <version>1.6</version>
  38. <executions>
  39. <execution>
  40. <id>unzipasm</id>
  41. <phase>validate</phase>
  42. <configuration>
  43. <tasks>
  44. <echo message="unzip jarjar'd asm" />
  45. <unzip
  46. src="${project.basedir}/../lib/asm/asm-8.0.1.renamed.jar"
  47. dest="target/asm-unzipped" />
  48. </tasks>
  49. </configuration>
  50. <goals>
  51. <goal>run</goal>
  52. </goals>
  53. </execution>
  54. <execution>
  55. <id>unzipjdt</id>
  56. <phase>validate</phase>
  57. <configuration>
  58. <tasks>
  59. <echo message="unzip patched jdtcore" />
  60. <unzip
  61. src="${project.basedir}/../org.eclipse.jdt.core/jdtcore-for-aspectj.jar"
  62. dest="target/jdtcore-unzipped" />
  63. </tasks>
  64. </configuration>
  65. <goals>
  66. <goal>run</goal>
  67. </goals>
  68. </execution>
  69. <execution>
  70. <id>unzipjdtsrc</id>
  71. <phase>validate</phase>
  72. <configuration>
  73. <tasks>
  74. <echo message="unzip patched jdtcore sources" />
  75. <unzip
  76. src="${project.basedir}/../org.eclipse.jdt.core/jdtcore-for-aspectj-src.zip"
  77. dest="target/jdtcore-unzipped-src" />
  78. </tasks>
  79. </configuration>
  80. <goals>
  81. <goal>run</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. <plugin>
  87. <artifactId>maven-assembly-plugin</artifactId>
  88. <!--
  89. Set version manually in order to override version from super POM, e.g. 2.2-beta-5 from
  90. https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom
  91. -->
  92. <version>3.1.1</version>
  93. <executions>
  94. <execution>
  95. <id>aspectjtools-assembly</id>
  96. <phase>package</phase>
  97. <goals>
  98. <goal>single</goal>
  99. </goals>
  100. <configuration>
  101. <finalName>aspectjtools-${project.version}</finalName>
  102. <appendAssemblyId>false</appendAssemblyId>
  103. <archive>
  104. <manifestEntries>
  105. <Automatic-Module-Name>org.aspectj.tools</Automatic-Module-Name>
  106. </manifestEntries>
  107. <manifestSections>
  108. <manifestSection>
  109. <name>org/aspectj/tools/</name>
  110. <manifestEntries>
  111. <Specification-Title>AspectJ Tools Classes</Specification-Title>
  112. <Specification-Version>${project.version}</Specification-Version>
  113. <Specification-Vendor>https://www.eclipse.org/aspectj/</Specification-Vendor>
  114. <Implementation-Title>org.aspectj.tools</Implementation-Title>
  115. <Implementation-Version>${project.version}</Implementation-Version>
  116. <Implementation-Vendor>https://www.eclipse.org/aspectj/</Implementation-Vendor>
  117. <Bundle-Name>AspectJ Tools</Bundle-Name>
  118. <Bundle-Version>${project.version}</Bundle-Version>
  119. <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation,
  120. 2002 Palo Alto Research Center, Incorporated (PARC),
  121. 2003-2019 Contributors. All Rights Reserved</Bundle-Copyright>
  122. </manifestEntries>
  123. </manifestSection>
  124. </manifestSections>
  125. </archive>
  126. <descriptors>
  127. <descriptor>aspectjtools-assembly.xml</descriptor>
  128. </descriptors>
  129. </configuration>
  130. </execution>
  131. <execution>
  132. <id>aspectjtools-sources-assembly</id>
  133. <phase>package</phase>
  134. <goals>
  135. <goal>single</goal>
  136. </goals>
  137. <configuration>
  138. <classifier>sources</classifier>
  139. <finalName>aspectjtools-${project.version}</finalName>
  140. <archive>
  141. </archive>
  142. <descriptors>
  143. <descriptor>aspectjtools-sources-assembly.xml</descriptor>
  144. </descriptors>
  145. </configuration>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. </plugins>
  150. </build>
  151. </project>