pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. <parent>
  6. <artifactId>qhiot-app</artifactId>
  7. <groupId>com.qhiot</groupId>
  8. <version>1.0.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.qhiot</groupId>
  12. <artifactId>qhiot-detect</artifactId>
  13. <version>1.0.1</version>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.github.oshi</groupId>
  21. <artifactId>oshi-core</artifactId>
  22. <version>3.9.1</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.qhiot</groupId>
  26. <artifactId>qhiot-core</artifactId>
  27. <version>1.0.1</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.dangdang</groupId>
  31. <artifactId>elastic-job-common-core</artifactId>
  32. <version>RELEASE</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.dangdang</groupId>
  36. <artifactId>elastic-job-lite-core</artifactId>
  37. <version>RELEASE</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.dangdang</groupId>
  41. <artifactId>elastic-job-lite-spring</artifactId>
  42. <version>RELEASE</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.qhiot</groupId>
  46. <artifactId>qhiot-webcore</artifactId>
  47. <version>1.0.1</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>javax</groupId>
  51. <artifactId>javaee-api</artifactId>
  52. <version>7.0</version>
  53. <scope>provided</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>javax.servlet</groupId>
  57. <artifactId>javax.servlet-api</artifactId>
  58. <version>3.1.0</version>
  59. <scope>provided</scope>
  60. </dependency>
  61. <!-- https://mvnrepository.com/artifact/javax.servlet/jstl -->
  62. <dependency>
  63. <groupId>javax.servlet</groupId>
  64. <artifactId>jstl</artifactId>
  65. <version>1.2</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.json</groupId>
  69. <artifactId>json</artifactId>
  70. <version>RELEASE</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>net.sf.json-lib</groupId>
  74. <artifactId>json-lib</artifactId>
  75. <version>2.2.3</version>
  76. <classifier>jdk15</classifier><!-- 指定jdk版本 -->
  77. </dependency>
  78. </dependencies>
  79. <build>
  80. <resources>
  81. <resource>
  82. <directory>src/main/java</directory>
  83. <excludes>
  84. <exclude>**/*.java</exclude>
  85. </excludes>
  86. </resource>
  87. <resource>
  88. <directory>src/main/resources</directory>
  89. </resource>
  90. </resources>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-jar-plugin</artifactId>
  95. <version>2.6</version>
  96. <configuration>
  97. <archive>
  98. <index>true</index>
  99. <manifest>
  100. <addClasspath>true</addClasspath>
  101. </manifest>
  102. </archive>
  103. <useDefaultManifestFile>true</useDefaultManifestFile>
  104. </configuration>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-dependency-plugin</artifactId>
  109. <executions>
  110. <execution>
  111. <id>copy</id>
  112. <phase>package</phase>
  113. <goals>
  114. <goal>copy-dependencies</goal>
  115. </goals>
  116. <configuration>
  117. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  118. </configuration>
  119. </execution>
  120. </executions>
  121. </plugin>
  122. </plugins>
  123. </build>
  124. <distributionManagement>
  125. <repository>
  126. <id>releases</id>
  127. <url>http://116.62.67.134:9000/nexus/content/repositories/releases</url>
  128. </repository>
  129. </distributionManagement>
  130. </project>