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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.aspectj</groupId>
  7. <artifactId>aspectj-parent</artifactId>
  8. <version>1.9.7.M3</version>
  9. </parent>
  10. <artifactId>installer</artifactId>
  11. <name>AspectJ Installer</name>
  12. <description>
  13. The AspectJ installer is an executable JAR capable of installing a full AspectJ distribution consisting of libraries
  14. (AspectJ runtime, weaver and tools/compiler) and API Javadoc.
  15. </description>
  16. <url>https://www.eclipse.org/aspectj/</url>
  17. <licenses>
  18. <license>
  19. <name>Eclipse Public License - v 1.0</name>
  20. <url>http://www.eclipse.org/legal/epl-v10.html</url>
  21. <distribution>repo</distribution>
  22. </license>
  23. </licenses>
  24. <developers>
  25. <developer>
  26. <id>aclement</id>
  27. <name>Andy Clement</name>
  28. <email>aclement@vmware.com</email>
  29. </developer>
  30. <developer>
  31. <id>kriegaex</id>
  32. <name>Alexander Kriegisch</name>
  33. <email>kriegaex@aspectj.dev</email>
  34. </developer>
  35. </developers>
  36. <scm>
  37. <url>https://github.com/eclipse/org.aspectj</url>
  38. <connection>scm:git:https://github.com/eclipse/org.aspectj.git</connection>
  39. <developerConnection>scm:git:ssh://git@github.com:eclipse/org.aspectj.git</developerConnection>
  40. </scm>
  41. <properties>
  42. <!--
  43. TODO: Decide whether to publish this artifact on Maven Central or not. For now, skip the deployment until a final
  44. decision was made. If we do decide to publish, we need to add source and javadoc JARs. I suggest to re-use the
  45. ones from aspectjtools, because the installer contains runtime, weaver and tools and the latter one is a
  46. superset of the former two.
  47. -->
  48. <!-- By default, do not deploy artifacts - but deploy this public one -->
  49. <!--<maven.deploy.skip>false</maven.deploy.skip>-->
  50. </properties>
  51. <dependencies>
  52. <!-- Uber JARs to add to the installer archive: runtime, weaver, tools -->
  53. <dependency>
  54. <groupId>org.aspectj</groupId>
  55. <artifactId>aspectjrt</artifactId>
  56. <version>${project.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.aspectj</groupId>
  60. <artifactId>aspectjweaver</artifactId>
  61. <version>${project.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.aspectj</groupId>
  65. <artifactId>aspectjtools</artifactId>
  66. <version>${project.version}</version>
  67. </dependency>
  68. <!-- Executable JAR installer classes -->
  69. <dependency>
  70. <groupId>org.aspectj</groupId>
  71. <artifactId>build</artifactId>
  72. <version>${project.version}</version>
  73. </dependency>
  74. <!-- AspectJ documentation, created by Ant job in aj-build/dist/docs -->
  75. <dependency>
  76. <groupId>org.aspectj</groupId>
  77. <artifactId>docs</artifactId>
  78. <version>${project.version}</version>
  79. </dependency>
  80. <!-- Runtime javadocs - TODO: use full tools javadocs instead -->
  81. <dependency>
  82. <groupId>org.aspectj</groupId>
  83. <artifactId>runtime</artifactId>
  84. <version>${project.version}</version>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <plugins>
  89. <!-- Skip creation of main + test JARs -->
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-jar-plugin</artifactId>
  93. <executions>
  94. <execution>
  95. <id>default-jar</id>
  96. <phase>none</phase>
  97. </execution>
  98. <execution>
  99. <id>test-jar</id>
  100. <phase>none</phase>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-assembly-plugin</artifactId>
  107. <executions>
  108. <execution>
  109. <id>aspectjinstaller-assembly</id>
  110. <phase>package</phase>
  111. <goals>
  112. <goal>single</goal>
  113. </goals>
  114. <configuration>
  115. <finalName>aspectj-${project.version}</finalName>
  116. <appendAssemblyId>false</appendAssemblyId>
  117. <archive>
  118. <manifestEntries>
  119. <Main-Class>$installer$.org.aspectj.Main</Main-Class>
  120. </manifestEntries>
  121. </archive>
  122. <descriptors>
  123. <descriptor>aspectjinstaller-assembly.xml</descriptor>
  124. </descriptors>
  125. </configuration>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <!-- Caveat: Attaching the flattened POM needs packaging=jar, so do not use packaging=pom for this module -->
  130. <plugin>
  131. <groupId>org.codehaus.mojo</groupId>
  132. <artifactId>flatten-maven-plugin</artifactId>
  133. <executions>
  134. <!-- Remove dependencies declared in this POM (if any) from uber JAR and strip down POM -->
  135. <execution>
  136. <id>flatten</id>
  137. <phase>process-resources</phase>
  138. <goals>
  139. <goal>flatten</goal>
  140. </goals>
  141. <configuration>
  142. <flattenMode>oss</flattenMode>
  143. <pomElements>
  144. <dependencies>remove</dependencies>
  145. <repositories>remove</repositories>
  146. </pomElements>
  147. <outputDirectory>${project.build.directory}</outputDirectory>
  148. <flattenedPomFilename>flattened-pom.xml</flattenedPomFilename>
  149. </configuration>
  150. </execution>
  151. </executions>
  152. </plugin>
  153. </plugins>
  154. <pluginManagement>
  155. <plugins>
  156. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  157. <plugin>
  158. <groupId>org.eclipse.m2e</groupId>
  159. <artifactId>lifecycle-mapping</artifactId>
  160. <version>1.0.0</version>
  161. <configuration>
  162. <lifecycleMappingMetadata>
  163. <pluginExecutions>
  164. <pluginExecution>
  165. <pluginExecutionFilter>
  166. <groupId>
  167. org.codehaus.mojo
  168. </groupId>
  169. <artifactId>
  170. flatten-maven-plugin
  171. </artifactId>
  172. <versionRange>
  173. [1.2.2,)
  174. </versionRange>
  175. <goals>
  176. <goal>flatten</goal>
  177. </goals>
  178. </pluginExecutionFilter>
  179. <action>
  180. <ignore></ignore>
  181. </action>
  182. </pluginExecution>
  183. </pluginExecutions>
  184. </lifecycleMappingMetadata>
  185. </configuration>
  186. </plugin>
  187. </plugins>
  188. </pluginManagement>
  189. </build>
  190. </project>