您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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>aspectjrt</artifactId>
  12. <packaging>pom</packaging>
  13. <name>AspectJ Runtime</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.aspectj</groupId>
  17. <artifactId>runtime</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. <artifactId>maven-assembly-plugin</artifactId>
  36. <!--
  37. Set version manually in order to override version from super POM, e.g. 2.2-beta-5 from
  38. https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom
  39. -->
  40. <version>3.1.1</version>
  41. <executions>
  42. <execution>
  43. <id>aspectjrt-assembly</id>
  44. <phase>package</phase>
  45. <goals>
  46. <goal>single</goal>
  47. </goals>
  48. <configuration>
  49. <finalName>aspectjrt-${project.version}</finalName>
  50. <appendAssemblyId>false</appendAssemblyId>
  51. <archive>
  52. <manifestEntries>
  53. <Automatic-Module-Name>org.aspectj.runtime</Automatic-Module-Name>
  54. </manifestEntries>
  55. <manifestSections>
  56. <manifestSection>
  57. <name>org/aspectj/lang/</name>
  58. <manifestEntries>
  59. <Specification-Title>AspectJ Runtime Classes</Specification-Title>
  60. <Specification-Version>${project.version}</Specification-Version>
  61. <Specification-Vendor>https://www.eclipse.org/aspectj/</Specification-Vendor>
  62. <Implementation-Title>org.aspectj.runtime</Implementation-Title>
  63. <Implementation-Version>${project.version}</Implementation-Version>
  64. <Implementation-Vendor>https://www.eclipse.org/aspectj/</Implementation-Vendor>
  65. <Bundle-Name>AspectJ Runtime</Bundle-Name>
  66. <Bundle-Version>${project.version}</Bundle-Version>
  67. <!--
  68. WARNING: Please avoid line breaks in manifest values! They are passed on like this:
  69. Assembly Plugin -> Plexus Archiver -> JRE java.util.jar.Manifest.write(OutputStream).
  70. The JRE Manifest class inserts hard line breaks always after 72 characters, no matter if those
  71. 72 characters contain line feeds, tabs or spaces. Hence, it can happen that unwanted blank lines
  72. end up in the middle of a manifest section, making the manifest invalid. Calls like e.g.
  73. 'java -cp aspectjtools.jar org.aspectj.tools.ajc.Main' can then fail with the absolutely
  74. unexpected error 'Could not find or load main class org.aspectj.tools.ajc.Main'.
  75. Alexander Kriegisch created this bug ticket:
  76. https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8263924
  77. In IntelliJ IDEA you can deactivate wrapping text inside XML tags like this:
  78. File | Settings | Editor | Code Style | XML | Wrap text -> deactivate
  79. -->
  80. <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation, 2002 Palo Alto Research Center, Incorporated (PARC), 2003-2020 Contributors. All Rights Reserved</Bundle-Copyright>
  81. </manifestEntries>
  82. </manifestSection>
  83. </manifestSections>
  84. </archive>
  85. <descriptors>
  86. <descriptor>aspectjrt-assembly.xml</descriptor>
  87. </descriptors>
  88. </configuration>
  89. </execution>
  90. <execution>
  91. <id>aspectjrt-src-assembly</id>
  92. <phase>package</phase>
  93. <goals>
  94. <goal>single</goal>
  95. </goals>
  96. <configuration>
  97. <classifier>sources</classifier>
  98. <finalName>aspectjrt-${project.version}</finalName>
  99. <archive>
  100. </archive>
  101. <descriptors>
  102. <descriptor>aspectjrt-sources-assembly.xml</descriptor>
  103. </descriptors>
  104. </configuration>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>