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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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>org.pf4j.demo</groupId>
  5. <artifactId>pf4j-demo-parent</artifactId>
  6. <version>3.3.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>pf4j-demo-app</artifactId>
  10. <version>3.3.0-SNAPSHOT</version>
  11. <packaging>jar</packaging>
  12. <name>Demo App</name>
  13. <properties>
  14. <main.class>org.pf4j.demo.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. <configuration>
  41. <archive>
  42. <manifest>
  43. <addClasspath>true</addClasspath>
  44. <classpathPrefix>lib/</classpathPrefix>
  45. <mainClass>${main.class}</mainClass>
  46. </manifest>
  47. </archive>
  48. </configuration>
  49. </plugin>
  50. <plugin>
  51. <artifactId>maven-deploy-plugin</artifactId>
  52. <configuration>
  53. <skip>true</skip>
  54. </configuration>
  55. </plugin>
  56. </plugins>
  57. </build>
  58. <dependencies>
  59. <dependency>
  60. <groupId>org.pf4j</groupId>
  61. <artifactId>pf4j</artifactId>
  62. <version>${project.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.pf4j.demo</groupId>
  66. <artifactId>pf4j-demo-api</artifactId>
  67. <version>${project.version}</version>
  68. </dependency>
  69. <!-- Logs -->
  70. <dependency>
  71. <groupId>log4j</groupId>
  72. <artifactId>log4j</artifactId>
  73. <version>1.2.16</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.slf4j</groupId>
  77. <artifactId>slf4j-log4j12</artifactId>
  78. <version>${slf4j.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>commons-lang</groupId>
  82. <artifactId>commons-lang</artifactId>
  83. <version>2.4</version>
  84. </dependency>
  85. </dependencies>
  86. </project>