pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" 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>com.uas.eis</groupId>
  6. <artifactId>uas-eis</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>uas-eis</name>
  10. <description>uas external interaction system</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.10.RELEASE</version>
  15. <relativePath /> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-test</artifactId>
  30. <scope>test</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-jdbc</artifactId>
  35. </dependency>
  36. <!-- <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-devtools</artifactId>
  39. </dependency> -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-jpa</artifactId>
  43. </dependency>
  44. <!--<dependency>
  45. <groupId>log4j</groupId>
  46. <artifactId>log4j</artifactId>
  47. <version>1.2.17</version>
  48. </dependency>-->
  49. <dependency>
  50. <groupId>net.sf.json-lib</groupId>
  51. <artifactId>json-lib</artifactId>
  52. <version>2.4</version>
  53. <classifier>jdk15</classifier>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alibaba</groupId>
  57. <artifactId>fastjson</artifactId>
  58. <version>1.2.15</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt</artifactId>
  63. <version>0.6.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.codehaus.jackson</groupId>
  67. <artifactId>jackson-core-asl</artifactId>
  68. <version>1.9.13</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.codehaus.jackson</groupId>
  72. <artifactId>jackson-mapper-asl</artifactId>
  73. <version>1.9.13</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>net.sf.flexjson</groupId>
  77. <artifactId>flexjson</artifactId>
  78. <version>2.1</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-cache</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.httpcomponents</groupId>
  86. <artifactId>httpcore</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.httpcomponents</groupId>
  90. <artifactId>httpclient</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.httpcomponents</groupId>
  94. <artifactId>httpmime</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.oracle</groupId>
  98. <artifactId>oracle</artifactId>
  99. <version>1.0.0</version>
  100. <scope>system</scope>
  101. <systemPath>${project.basedir}/lib/ojdbc7.jar</systemPath>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>druid-spring-boot-starter</artifactId>
  106. <version>1.2.6</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.taobao1</groupId>
  110. <artifactId>taobao1</artifactId>
  111. <version>1.0</version>
  112. <scope>system</scope>
  113. <systemPath>${project.basedir}/lib/taobao-sdk-java-auto_1629280165553-20210818.jar</systemPath>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.taobao2</groupId>
  117. <artifactId>taobao2</artifactId>
  118. <version>1.0</version>
  119. <scope>system</scope>
  120. <systemPath>${project.basedir}/lib/taobao-sdk-java-auto_1629280165553-20210818-source.jar</systemPath>
  121. </dependency>
  122. </dependencies>
  123. <build>
  124. <plugins>
  125. <plugin>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-maven-plugin</artifactId>
  128. <configuration>
  129. <!-- 指定SpringBoot程序的main函数入口类 -->
  130. <mainClass>com.uas.eis.UasEisApplication</mainClass>
  131. </configuration>
  132. <!--<executions>-->
  133. <!--<execution>-->
  134. <!--<goals>-->
  135. <!--<goal>repackage</goal>-->
  136. <!--</goals>-->
  137. <!--</execution>-->
  138. <!--</executions>-->
  139. </plugin>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-compiler-plugin</artifactId>
  143. <configuration>
  144. <source>8</source>
  145. <target>8</target>
  146. <compilerArguments>
  147. <!-- 打包本地jar包 -->
  148. <extdirs>${project.basedir}/lib</extdirs>
  149. </compilerArguments>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. <!-- 打包所有jar包 -->
  154. <resources>
  155. <resource>
  156. <directory>lib</directory>
  157. <targetPath>BOOT-INF/lib/</targetPath>
  158. <includes>
  159. <include>**/*.jar</include>
  160. </includes>
  161. </resource>
  162. <!-- 某些情况下,打包后运行不起来需要打开注释 -->
  163. <resource>
  164. <directory>src/main/resources</directory>
  165. <!-- <targetPath>BOOT-INF/classes/</targetPath>-->
  166. </resource>
  167. </resources>
  168. </build>
  169. </project>