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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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>aspectjweaver</artifactId>
  12. <packaging>pom</packaging>
  13. <name>AspectJ Weaver</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.aspectj</groupId>
  17. <artifactId>weaver</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. </executions>
  55. </plugin>
  56. <plugin>
  57. <artifactId>maven-assembly-plugin</artifactId>
  58. <executions>
  59. <execution>
  60. <id>aspectjweaver-assembly</id>
  61. <phase>package</phase>
  62. <goals>
  63. <goal>single</goal>
  64. </goals>
  65. <configuration>
  66. <finalName>aspectjweaver-${project.version}</finalName>
  67. <appendAssemblyId>false</appendAssemblyId>
  68. <archive>
  69. <manifestEntries>
  70. <Automatic-Module-Name>org.aspectj.weaver</Automatic-Module-Name>
  71. <Premain-Class>org.aspectj.weaver.loadtime.Agent</Premain-Class>
  72. <Agent-Class>org.aspectj.weaver.loadtime.Agent</Agent-Class>
  73. <Can-Redefine-Classes>true</Can-Redefine-Classes>
  74. </manifestEntries>
  75. <manifestSections>
  76. <manifestSection>
  77. <name>org/aspectj/weaver/</name>
  78. <manifestEntries>
  79. <Specification-Title>AspectJ Weaver Classes</Specification-Title>
  80. <Specification-Version>${project.version}</Specification-Version>
  81. <Specification-Vendor>https://www.eclipse.org/aspectj/</Specification-Vendor>
  82. <Implementation-Title>org.aspectj.weaver</Implementation-Title>
  83. <Implementation-Version>${project.version}</Implementation-Version>
  84. <Implementation-Vendor>https://www.eclipse.org/aspectj/</Implementation-Vendor>
  85. <Bundle-Name>AspectJ Weaver</Bundle-Name>
  86. <Bundle-Version>${project.version}</Bundle-Version>
  87. <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation,
  88. 2002 Palo Alto Research Center, Incorporated (PARC),
  89. 2003-2019 Contributors. All Rights Reserved</Bundle-Copyright>
  90. </manifestEntries>
  91. </manifestSection>
  92. </manifestSections>
  93. </archive>
  94. <descriptors>
  95. <descriptor>aspectjweaver-assembly.xml</descriptor>
  96. </descriptors>
  97. </configuration>
  98. </execution>
  99. <execution>
  100. <id>aspectjweaver-sources-assembly</id>
  101. <phase>package</phase>
  102. <goals>
  103. <goal>single</goal>
  104. </goals>
  105. <configuration>
  106. <classifier>sources</classifier>
  107. <finalName>aspectjweaver-${project.version}</finalName>
  108. <archive>
  109. </archive>
  110. <descriptors>
  111. <descriptor>aspectjweaver-sources-assembly.xml</descriptor>
  112. </descriptors>
  113. </configuration>
  114. </execution>
  115. </executions>
  116. </plugin>
  117. </plugins>
  118. </build>
  119. </project>