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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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>jar</packaging>
  12. <name>App</name>
  13. <properties>
  14. <main.class>${package}.Boot</main.class>
  15. </properties>
  16. <build>
  17. <plugins>
  18. <plugin>
  19. <artifactId>maven-assembly-plugin</artifactId>
  20. <version>2.3</version>
  21. <configuration>
  22. <descriptors>
  23. <descriptor>src/main/assembly/assembly.xml</descriptor>
  24. </descriptors>
  25. <appendAssemblyId>false</appendAssemblyId>
  26. </configuration>
  27. <executions>
  28. <execution>
  29. <id>make-assembly</id>
  30. <phase>package</phase>
  31. <goals>
  32. <goal>attached</goal>
  33. </goals>
  34. </execution>
  35. </executions>
  36. </plugin>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-jar-plugin</artifactId>
  40. <version>2.3.1</version>
  41. <configuration>
  42. <archive>
  43. <manifest>
  44. <addClasspath>true</addClasspath>
  45. <classpathPrefix>lib/</classpathPrefix>
  46. <mainClass>${main.class}</mainClass>
  47. </manifest>
  48. </archive>
  49. </configuration>
  50. </plugin>
  51. </plugins>
  52. </build>
  53. <dependencies>
  54. <dependency>
  55. <groupId>org.pf4j</groupId>
  56. <artifactId>pf4j</artifactId>
  57. <version>${pf4j.version}</version>
  58. </dependency>
  59. <!-- Logging -->
  60. <dependency>
  61. <groupId>org.slf4j</groupId>
  62. <artifactId>slf4j-simple</artifactId>
  63. <version>${slf4j.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>commons-lang</groupId>
  67. <artifactId>commons-lang</artifactId>
  68. <version>2.4</version>
  69. </dependency>
  70. </dependencies>
  71. </project>