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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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>1.4.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>pf4j-demo-app</artifactId>
  10. <version>1.4.0-SNAPSHOT</version>
  11. <packaging>jar</packaging>
  12. <name>Demo App</name>
  13. <properties>
  14. <main.class>org.pf4j.demo.Boot</main.class>
  15. <slf4j.version>1.7.5</slf4j.version>
  16. </properties>
  17. <build>
  18. <plugins>
  19. <plugin>
  20. <artifactId>maven-assembly-plugin</artifactId>
  21. <version>2.3</version>
  22. <configuration>
  23. <descriptors>
  24. <descriptor>
  25. src/main/assembly/assembly.xml
  26. </descriptor>
  27. </descriptors>
  28. <appendAssemblyId>false</appendAssemblyId>
  29. </configuration>
  30. <executions>
  31. <execution>
  32. <id>make-assembly</id>
  33. <phase>package</phase>
  34. <goals>
  35. <goal>attached</goal>
  36. </goals>
  37. </execution>
  38. </executions>
  39. </plugin>
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-jar-plugin</artifactId>
  43. <version>2.3.1</version>
  44. <configuration>
  45. <archive>
  46. <manifest>
  47. <addClasspath>true</addClasspath>
  48. <classpathPrefix>lib/</classpathPrefix>
  49. <mainClass>${main.class}</mainClass>
  50. </manifest>
  51. </archive>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <artifactId>maven-deploy-plugin</artifactId>
  56. <configuration>
  57. <skip>true</skip>
  58. </configuration>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. <dependencies>
  63. <dependency>
  64. <groupId>org.pf4j</groupId>
  65. <artifactId>pf4j</artifactId>
  66. <version>${project.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.pf4j.demo</groupId>
  70. <artifactId>pf4j-demo-api</artifactId>
  71. <version>${project.version}</version>
  72. </dependency>
  73. <!-- Logs -->
  74. <dependency>
  75. <groupId>log4j</groupId>
  76. <artifactId>log4j</artifactId>
  77. <version>1.2.16</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.slf4j</groupId>
  81. <artifactId>slf4j-log4j12</artifactId>
  82. <version>${slf4j.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>commons-lang</groupId>
  86. <artifactId>commons-lang</artifactId>
  87. <version>2.4</version>
  88. </dependency>
  89. </dependencies>
  90. </project>