pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>org.robert</groupId>
  5. <artifactId>printers-tray</artifactId>
  6. <version>0.0.1</version>
  7. <packaging>jar</packaging>
  8. <name>printer-tray</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>junit</groupId>
  16. <artifactId>junit</artifactId>
  17. <version>3.8.1</version>
  18. <scope>test</scope>
  19. </dependency>
  20. <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server -->
  21. <dependency>
  22. <groupId>org.eclipse.jetty</groupId>
  23. <artifactId>jetty-server</artifactId>
  24. <version>9.4.7.v20170914</version>
  25. </dependency>
  26. <!-- https://mvnrepository.com/artifact/org.eclipse.jetty.websocket/websocket-server -->
  27. <dependency>
  28. <groupId>org.eclipse.jetty.websocket</groupId>
  29. <artifactId>websocket-server</artifactId>
  30. <version>9.4.7.v20170914</version>
  31. </dependency>
  32. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  33. <dependency>
  34. <groupId>commons-io</groupId>
  35. <artifactId>commons-io</artifactId>
  36. <version>2.5</version>
  37. </dependency>
  38. <!-- https://mvnrepository.com/artifact/com.dorkbox/SystemTray -->
  39. <dependency>
  40. <groupId>com.dorkbox</groupId>
  41. <artifactId>SystemTray</artifactId>
  42. <version>3.12</version>
  43. </dependency>
  44. <!-- https://mvnrepository.com/artifact/org.json/json -->
  45. <dependency>
  46. <groupId>org.json</groupId>
  47. <artifactId>json</artifactId>
  48. <version>20171018</version>
  49. </dependency>
  50. </dependencies>
  51. <build>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-dependency-plugin</artifactId>
  56. <executions>
  57. <execution>
  58. <phase>package</phase>
  59. <goals>
  60. <goal>copy-dependencies</goal>
  61. </goals>
  62. <configuration>
  63. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  64. </configuration>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-jar-plugin</artifactId>
  71. <version>3.0.2</version>
  72. <executions>
  73. <execution>
  74. <id>default-jar</id>
  75. <phase>package</phase>
  76. <goals>
  77. <goal>jar</goal>
  78. </goals>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-resources-plugin</artifactId>
  84. <version>3.0.2</version>
  85. <executions>
  86. <execution>
  87. <id>copy-resources</id>
  88. <phase>process-resources</phase>
  89. <goals>
  90. <goal>copy-resources</goal>
  91. </goals>
  92. <configuration>
  93. <outputDirectory>${project.build.directory}/classes/org/robert/printer/ui/resources</outputDirectory>
  94. <resources>
  95. <resource>
  96. <directory>src/main/java/org/robert/printer/ui/resources</directory>
  97. <filtering>true</filtering>
  98. </resource>
  99. </resources>
  100. </configuration>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </project>