1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.huiju.welcome</groupId>
  7. <artifactId>hardware</artifactId>
  8. <version>v3.0.0</version>
  9. <properties>
  10. <maven.compiler.source>1.8</maven.compiler.source>
  11. <maven.compiler.target>1.8</maven.compiler.target>
  12. </properties>
  13. <build>
  14. <plugins>
  15. <plugin>
  16. <groupId>org.apache.maven.plugins</groupId>
  17. <artifactId>maven-assembly-plugin</artifactId>
  18. <configuration>
  19. <archive>
  20. <manifest>
  21. <mainClass>com.huiju.welcome.hardware.App</mainClass>
  22. </manifest>
  23. </archive>
  24. <descriptors>
  25. <descriptor>src/assembly/myassembly.xml</descriptor>
  26. </descriptors>
  27. </configuration>
  28. <executions>
  29. <execution>
  30. <id>make-assembly</id>
  31. <phase>package</phase>
  32. <goals>
  33. <goal>single</goal>
  34. </goals>
  35. </execution>
  36. </executions>
  37. </plugin>
  38. </plugins>
  39. </build>
  40. <dependencies>
  41. <dependency>
  42. <groupId>com.sun.jna</groupId>
  43. <artifactId>examples</artifactId>
  44. <scope>system</scope>
  45. <version>1.0</version>
  46. <systemPath>${project.basedir}\src\main\resources\libs\examples.jar</systemPath>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.sun.jna</groupId>
  50. <artifactId>jna</artifactId>
  51. <version>3.0.9</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.squareup.okhttp3</groupId>
  55. <artifactId>okhttp</artifactId>
  56. <version>3.14.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.nanohttpd</groupId> <!-- <groupId>com.nanohttpd</groupId> for 2.1.0 and earlier -->
  60. <artifactId>nanohttpd</artifactId>
  61. <version>2.2.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>fastjson</artifactId>
  66. <version>1.2.56</version>
  67. </dependency>
  68. </dependencies>
  69. </project>