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

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