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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.aspectj</groupId>
  6. <artifactId>aspectj-parent</artifactId>
  7. <version>1.9.10-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>docs</artifactId>
  10. <profiles>
  11. <profile>
  12. <id>create-docs</id>
  13. <activation>
  14. <property>
  15. <name>createDocs</name>
  16. <value>true</value>
  17. </property>
  18. </activation>
  19. <build>
  20. <resources>
  21. <resource>
  22. <directory>src/main/resources</directory>
  23. <filtering>true</filtering>
  24. <includes>
  25. <include>**/local.properties</include>
  26. </includes>
  27. </resource>
  28. </resources>
  29. <pluginManagement>
  30. <plugins>
  31. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  32. <plugin>
  33. <groupId>org.eclipse.m2e</groupId>
  34. <artifactId>lifecycle-mapping</artifactId>
  35. <version>1.0.0</version>
  36. <configuration>
  37. <lifecycleMappingMetadata>
  38. <pluginExecutions>
  39. <pluginExecution>
  40. <pluginExecutionFilter>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-antrun-plugin</artifactId>
  43. <versionRange>[1.7,)</versionRange>
  44. <goals>
  45. <goal>run</goal>
  46. </goals>
  47. </pluginExecutionFilter>
  48. <action>
  49. <ignore></ignore>
  50. </action>
  51. </pluginExecution>
  52. </pluginExecutions>
  53. </lifecycleMappingMetadata>
  54. </configuration>
  55. </plugin>
  56. </plugins>
  57. </pluginManagement>
  58. <plugins>
  59. <plugin>
  60. <artifactId>maven-antrun-plugin</artifactId>
  61. <version>3.0.0</version>
  62. <executions>
  63. <execution>
  64. <id>make-docs</id>
  65. <phase>process-resources</phase>
  66. <configuration>
  67. <target>
  68. <copy
  69. file="${project.build.outputDirectory}/local.properties"
  70. toFile="../build/local.properties"
  71. overwrite="true"
  72. />
  73. <ant antfile="build.xml">
  74. <target name="dist"/>
  75. </ant>
  76. </target>
  77. </configuration>
  78. <goals>
  79. <goal>run</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. <dependencies>
  87. <dependency>
  88. <!-- All modules referencing files inside 'lib' need this dependency -->
  89. <groupId>org.aspectj</groupId>
  90. <artifactId>lib</artifactId>
  91. </dependency>
  92. </dependencies>
  93. </profile>
  94. </profiles>
  95. </project>