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

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