pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>eu.tankernn.assembly.compiler</groupId>
  5. <version>1.0</version>
  6. <packaging>jar</packaging>
  7. <url>http://tankernn.eu</url>
  8. <name>Tankernn Assembly Compiler</name>
  9. <dependencies>
  10. <dependency>
  11. <groupId>com.pi4j</groupId>
  12. <artifactId>pi4j-core</artifactId>
  13. <version>1.0</version>
  14. </dependency>
  15. <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
  16. <dependency>
  17. <groupId>commons-cli</groupId>
  18. <artifactId>commons-cli</artifactId>
  19. <version>1.3</version>
  20. </dependency>
  21. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  22. <dependency>
  23. <groupId>commons-io</groupId>
  24. <artifactId>commons-io</artifactId>
  25. <version>2.5</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.apache.logging.log4j</groupId>
  29. <artifactId>log4j-api</artifactId>
  30. <version>2.6.2</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.apache.logging.log4j</groupId>
  34. <artifactId>log4j-core</artifactId>
  35. <version>2.6.2</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.commons</groupId>
  39. <artifactId>commons-lang3</artifactId>
  40. <version>3.5</version>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <artifactId>maven-assembly-plugin</artifactId>
  47. <executions>
  48. <execution>
  49. <phase>package</phase>
  50. <goals>
  51. <goal>single</goal>
  52. </goals>
  53. <configuration>
  54. <archive>
  55. <manifest>
  56. <addClasspath>true</addClasspath>
  57. <mainClass>eu.tankernn.assembly.compiler.Assemble</mainClass>
  58. </manifest>
  59. </archive>
  60. <!-- The filename of the assembled distribution file defualt ${project.build.finalName} -->
  61. <finalName>${project.build.finalName}</finalName>
  62. <appendAssemblyId>false</appendAssemblyId>
  63. </configuration>
  64. </execution>
  65. </executions>
  66. <configuration>
  67. <descriptorRefs>
  68. <descriptorRef>jar-with-dependencies</descriptorRef>
  69. </descriptorRefs>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. <resources>
  74. <resource>
  75. <directory>src/main/res</directory>
  76. <includes>
  77. <include>**/*.xml</include>
  78. </includes>
  79. </resource>
  80. </resources>
  81. </build>
  82. <properties>
  83. <maven.compiler.source>1.8</maven.compiler.source>
  84. <maven.compiler.target>1.8</maven.compiler.target>
  85. </properties>
  86. <artifactId>tankernn-assembly-compiler</artifactId>
  87. </project>