Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pom.xml 4.8KB

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