Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pom.xml 3.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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>${groupId}</groupId>
  5. <artifactId>${rootArtifactId}</artifactId>
  6. <version>${version}</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>${artifactId}</artifactId>
  10. <version>${version}</version>
  11. <packaging>pom</packaging>
  12. <name>Plugins Parent</name>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <!-- Override below properties in each plugin's pom.xml -->
  17. <plugin.id></plugin.id>
  18. <plugin.class></plugin.class>
  19. <plugin.version></plugin.version>
  20. <plugin.provider></plugin.provider>
  21. <plugin.dependencies></plugin.dependencies>
  22. </properties>
  23. <build>
  24. <plugins>
  25. <plugin>
  26. <groupId>org.apache.maven.plugins</groupId>
  27. <artifactId>maven-assembly-plugin</artifactId>
  28. <version>3.1.0</version>
  29. <configuration>
  30. <descriptorRefs>
  31. <descriptorRef>jar-with-dependencies</descriptorRef>
  32. </descriptorRefs>
  33. <finalName>${project.artifactId}-${project.version}-all</finalName>
  34. <appendAssemblyId>false</appendAssemblyId>
  35. <attach>false</attach>
  36. <archive>
  37. <manifest>
  38. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  39. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  40. </manifest>
  41. <manifestEntries>
  42. <Plugin-Id>${plugin.id}</Plugin-Id>
  43. <Plugin-Version>${plugin.version}</Plugin-Version>
  44. <Plugin-Provider>${plugin.provider}</Plugin-Provider>
  45. <Plugin-Class>${plugin.class}</Plugin-Class>
  46. <Plugin-Dependencies>${plugin.dependencies}</Plugin-Dependencies>
  47. </manifestEntries>
  48. </archive>
  49. </configuration>
  50. <executions>
  51. <execution>
  52. <id>make-assembly</id>
  53. <phase>package</phase>
  54. <goals>
  55. <goal>single</goal>
  56. </goals>
  57. </execution>
  58. </executions>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. <dependencies>
  63. <dependency>
  64. <groupId>org.pf4j</groupId>
  65. <artifactId>pf4j</artifactId>
  66. <version>${pf4j.version}</version>
  67. <!-- !!! VERY IMPORTANT -->
  68. <scope>provided</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>${groupId}</groupId>
  72. <artifactId>${rootArtifactId}-app</artifactId>
  73. <version>${version}</version>
  74. <!-- !!! VERY IMPORTANT -->
  75. <scope>provided</scope>
  76. </dependency>
  77. </dependencies>
  78. </project>