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.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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></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. <executions>
  89. <execution>
  90. <id>aspectjtools-assembly</id>
  91. <phase>package</phase>
  92. <goals>
  93. <goal>single</goal>
  94. </goals>
  95. <configuration>
  96. <finalName>aspectjtools-${project.version}</finalName>
  97. <appendAssemblyId>false</appendAssemblyId>
  98. <archive>
  99. <manifestEntries>
  100. <Automatic-Module-Name>org.aspectj.tools</Automatic-Module-Name>
  101. </manifestEntries>
  102. <manifestSections>
  103. <manifestSection>
  104. <name>org/aspectj/tools/</name>
  105. <manifestEntries>
  106. <Specification-Title>AspectJ Tools Classes</Specification-Title>
  107. <Specification-Version>${project.version}</Specification-Version>
  108. <Specification-Vendor>https://www.eclipse.org/aspectj/</Specification-Vendor>
  109. <Implementation-Title>org.aspectj.tools</Implementation-Title>
  110. <Implementation-Version>${project.version}</Implementation-Version>
  111. <Implementation-Vendor>https://www.eclipse.org/aspectj/</Implementation-Vendor>
  112. <Bundle-Name>AspectJ Tools</Bundle-Name>
  113. <Bundle-Version>${project.version}</Bundle-Version>
  114. <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation,
  115. 2002 Palo Alto Research Center, Incorporated (PARC),
  116. 2003-2019 Contributors. All Rights Reserved</Bundle-Copyright>
  117. </manifestEntries>
  118. </manifestSection>
  119. </manifestSections>
  120. </archive>
  121. <descriptors>
  122. <descriptor>aspectjtools-assembly.xml</descriptor>
  123. </descriptors>
  124. </configuration>
  125. </execution>
  126. <execution>
  127. <id>aspectjtools-sources-assembly</id>
  128. <phase>package</phase>
  129. <goals>
  130. <goal>single</goal>
  131. </goals>
  132. <configuration>
  133. <classifier>sources</classifier>
  134. <finalName>aspectjtools-${project.version}</finalName>
  135. <archive>
  136. </archive>
  137. <descriptors>
  138. <descriptor>aspectjtools-sources-assembly.xml</descriptor>
  139. </descriptors>
  140. </configuration>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </project>