pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.barcodeapi</groupId>
  6. <artifactId>server</artifactId>
  7. <name>server</name>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.target>1.8</maven.compiler.target>
  13. <maven.compiler.source>1.8</maven.compiler.source>
  14. </properties>
  15. <build>
  16. <sourceDirectory>src/main/java</sourceDirectory>
  17. <testSourceDirectory>src/test/java</testSourceDirectory>
  18. <plugins>
  19. <plugin>
  20. <artifactId>maven-assembly-plugin</artifactId>
  21. <configuration>
  22. <archive>
  23. <manifest>
  24. <mainClass>org.barcodeapi.Launcher</mainClass>
  25. </manifest>
  26. </archive>
  27. <finalName>server</finalName>
  28. <appendAssemblyId>false</appendAssemblyId>
  29. <descriptorRefs>
  30. <descriptorRef>jar-with-dependencies</descriptorRef>
  31. </descriptorRefs>
  32. </configuration>
  33. <executions>
  34. <execution>
  35. <id>make-assembly</id>
  36. <phase>package</phase>
  37. <goals>
  38. <goal>single</goal>
  39. </goals>
  40. </execution>
  41. </executions>
  42. </plugin>
  43. </plugins>
  44. </build>
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.eclipse.jetty</groupId>
  48. <artifactId>jetty-server</artifactId>
  49. <version>9.4.17.v20190418</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>net.sf.barcode4j</groupId>
  53. <artifactId>barcode4j</artifactId>
  54. <version>2.1</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.google.zxing</groupId>
  58. <artifactId>core</artifactId>
  59. <version>3.3.0</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.google.zxing</groupId>
  63. <artifactId>javase</artifactId>
  64. <version>3.3.0</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.json</groupId>
  68. <artifactId>json</artifactId>
  69. <version>20160212</version>
  70. <scope>compile</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.opencsv</groupId>
  74. <artifactId>opencsv</artifactId>
  75. <version>5.2</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>junit</groupId>
  79. <artifactId>junit</artifactId>
  80. <version>4.12</version>
  81. <scope>test</scope>
  82. </dependency>
  83. </dependencies>
  84. </project>