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