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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <groupId>ro.fortsoft.pf4j.demo</groupId>
  5. <artifactId>pf4j-demo-parent</artifactId>
  6. <version>0.10.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <groupId>ro.fortsoft.pf4j.demo</groupId>
  10. <artifactId>pf4j-demo-plugins</artifactId>
  11. <version>0.10.0-SNAPSHOT</version>
  12. <packaging>pom</packaging>
  13. <name>Demo Plugins Parent</name>
  14. <build>
  15. <resources>
  16. <resource>
  17. <filtering>false</filtering>
  18. <directory>src/main/java</directory>
  19. <excludes>
  20. <exclude>**/*.java</exclude>
  21. </excludes>
  22. </resource>
  23. <resource>
  24. <directory>src/main/resources</directory>
  25. </resource>
  26. </resources>
  27. <plugins>
  28. <plugin>
  29. <artifactId>maven-dependency-plugin</artifactId>
  30. <executions>
  31. <execution>
  32. <phase>process-sources</phase>
  33. <goals>
  34. <goal>copy-dependencies</goal>
  35. </goals>
  36. <configuration>
  37. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  38. <excludeScope>provided</excludeScope>
  39. </configuration>
  40. </execution>
  41. </executions>
  42. </plugin>
  43. </plugins>
  44. <pluginManagement>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.eclipse.m2e</groupId>
  48. <artifactId>lifecycle-mapping</artifactId>
  49. <version>1.0.0</version>
  50. <configuration>
  51. <lifecycleMappingMetadata>
  52. <pluginExecutions>
  53. <pluginExecution>
  54. <pluginExecutionFilter>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-dependency-plugin</artifactId>
  57. <versionRange>[2.0,)</versionRange>
  58. <goals>
  59. <goal>copy-dependencies</goal>
  60. </goals>
  61. </pluginExecutionFilter>
  62. <action>
  63. <!--
  64. <execute />
  65. -->
  66. <execute>
  67. <runOnIncremental>true</runOnIncremental>
  68. <runOnConfiguration>true</runOnConfiguration>
  69. </execute>
  70. </action>
  71. </pluginExecution>
  72. </pluginExecutions>
  73. </lifecycleMappingMetadata>
  74. </configuration>
  75. </plugin>
  76. </plugins>
  77. </pluginManagement>
  78. </build>
  79. <modules>
  80. <module>plugin1</module>
  81. <module>plugin2</module>
  82. </modules>
  83. <dependencies>
  84. <dependency>
  85. <groupId>ro.fortsoft.pf4j</groupId>
  86. <artifactId>pf4j</artifactId>
  87. <version>${project.version}</version>
  88. <scope>provided</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>ro.fortsoft.pf4j.demo</groupId>
  92. <artifactId>pf4j-demo-api</artifactId>
  93. <version>${project.version}</version>
  94. <scope>provided</scope>
  95. </dependency>
  96. </dependencies>
  97. </project>