pom.xml 6.2 KB

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