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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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>aspectjmatcher</artifactId>
  12. <packaging>pom</packaging>
  13. <name>AspectJ Matcher</name>
  14. <build>
  15. <plugins>
  16. <!-- skip creation of test-jar in here -->
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-jar-plugin</artifactId>
  20. <executions>
  21. <execution>
  22. <id>test-jar</id>
  23. <phase>none</phase>
  24. </execution>
  25. </executions>
  26. </plugin>
  27. <!--
  28. <plugin>
  29. <groupId>org.apache.maven.plugins</groupId>
  30. <artifactId>maven-antrun-plugin</artifactId>
  31. <version>1.6</version>
  32. <executions>
  33. <execution>
  34. <id>unzipasm</id>
  35. <phase>validate</phase>
  36. <configuration>
  37. <tasks>
  38. <echo message="unzip jarjar'd asm" />
  39. <unzip
  40. src="${project.basedir}/../lib/asm/asm-9.1.renamed.jar"
  41. dest="target/asm-unzipped" />
  42. </tasks>
  43. </configuration>
  44. <goals>
  45. <goal>run</goal>
  46. </goals>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. -->
  51. <plugin>
  52. <artifactId>maven-assembly-plugin</artifactId>
  53. <!--
  54. Set version manually in order to override version from super POM, e.g. 2.2-beta-5 from
  55. https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom
  56. -->
  57. <version>3.1.1</version>
  58. <executions>
  59. <execution>
  60. <id>aspectjmatcher-assembly</id>
  61. <phase>package</phase>
  62. <goals>
  63. <goal>single</goal>
  64. </goals>
  65. <configuration>
  66. <finalName>aspectjmatcher-${project.version}</finalName>
  67. <appendAssemblyId>false</appendAssemblyId>
  68. <archive>
  69. <manifestEntries>
  70. <Automatic-Module-Name>org.aspectj.matcher</Automatic-Module-Name>
  71. <!--
  72. <Premain-Class>org.aspectj.weaver.loadtime.Agent</Premain-Class>
  73. <Agent-Class>org.aspectj.weaver.loadtime.Agent</Agent-Class>
  74. <Can-Redefine-Classes>true</Can-Redefine-Classes>
  75. -->
  76. </manifestEntries>
  77. <manifestSections>
  78. <manifestSection>
  79. <name>org/aspectj/matcher/</name>
  80. <manifestEntries>
  81. <Specification-Title>AspectJ Matcher Classes</Specification-Title>
  82. <Specification-Version>${project.version}</Specification-Version>
  83. <Specification-Vendor>https://www.eclipse.org/aspectj/</Specification-Vendor>
  84. <Implementation-Title>org.aspectj.matcher</Implementation-Title>
  85. <Implementation-Version>${project.version}</Implementation-Version>
  86. <Implementation-Vendor>https://www.eclipse.org/aspectj/</Implementation-Vendor>
  87. <Bundle-Name>AspectJ Matcher</Bundle-Name>
  88. <Bundle-Version>${project.version}</Bundle-Version>
  89. <!--
  90. WARNING: Please avoid line breaks in manifest values! They are passed on like this:
  91. Assembly Plugin -> Plexus Archiver -> JRE java.util.jar.Manifest.write(OutputStream).
  92. The JRE Manifest class inserts hard line breaks always after 72 characters, no matter if those
  93. 72 characters contain line feeds, tabs or spaces. Hence, it can happen that unwanted blank lines
  94. end up in the middle of a manifest section, making the manifest invalid. Calls like e.g.
  95. 'java -cp aspectjtools.jar org.aspectj.tools.ajc.Main' can then fail with the absolutely
  96. unexpected error 'Could not find or load main class org.aspectj.tools.ajc.Main'.
  97. Alexander Kriegisch created this bug ticket:
  98. https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8263924
  99. In IntelliJ IDEA you can deactivate wrapping text inside XML tags like this:
  100. File | Settings | Editor | Code Style | XML | Wrap text -> deactivate
  101. -->
  102. <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation, 2002 Palo Alto Research Center, Incorporated (PARC), 2003-2020 Contributors. All Rights Reserved</Bundle-Copyright>
  103. </manifestEntries>
  104. </manifestSection>
  105. </manifestSections>
  106. </archive>
  107. <descriptors>
  108. <descriptor>aspectjmatcher-assembly.xml</descriptor>
  109. </descriptors>
  110. </configuration>
  111. </execution>
  112. <execution>
  113. <id>aspectjmatcher-sources-assembly</id>
  114. <phase>package</phase>
  115. <goals>
  116. <goal>single</goal>
  117. </goals>
  118. <configuration>
  119. <classifier>sources</classifier>
  120. <finalName>aspectjmatcher-${project.version}</finalName>
  121. <archive>
  122. </archive>
  123. <descriptors>
  124. <descriptor>aspectjmatcher-sources-assembly.xml</descriptor>
  125. </descriptors>
  126. </configuration>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. </plugins>
  131. </build>
  132. </project>