Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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. <artifactId>sgiipserver</artifactId>
  7. <groupId>com.shinsoft</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.shinsoft</groupId>
  11. <artifactId>ureport</artifactId>
  12. <version>1.0.0</version>
  13. <name>ureport</name>
  14. <description>Demo project for Spring Boot</description>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-test</artifactId>
  26. <scope>test</scope>
  27. </dependency>
  28. <!-- 集成ureport2 -->
  29. <dependency>
  30. <groupId>javax.servlet</groupId>
  31. <artifactId>javax.servlet-api</artifactId>
  32. <version>3.1.0</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.bstek.ureport</groupId>
  36. <artifactId>ureport2-console</artifactId>
  37. <version>2.2.9</version>
  38. </dependency>
  39. <!-- 集成ureport2 -->
  40. <!--数据库相关-->
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. </dependency>
  45. <!-- <dependency>-->
  46. <!-- <groupId>com.oracle</groupId>-->
  47. <!-- <artifactId>ojdbc6</artifactId>-->
  48. <!-- </dependency>-->
  49. <dependency>
  50. <groupId>com.oracle.database.jdbc</groupId>
  51. <artifactId>ojdbc8</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.oracle.database.nls</groupId>
  55. <artifactId>orai18n</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.alibaba</groupId>
  59. <artifactId>druid</artifactId>
  60. </dependency>
  61. <!-- <dependency>-->
  62. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  63. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  64. <!-- </dependency>-->
  65. <dependency>
  66. <groupId>com.baomidou</groupId>
  67. <artifactId>mybatis-plus-boot-starter</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.baomidou</groupId>
  71. <artifactId>mybatis-plus-generator</artifactId>
  72. </dependency>
  73. <!-- <dependency>-->
  74. <!-- <groupId>com.github.pagehelper</groupId>-->
  75. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
  76. <!-- </dependency>-->
  77. <!--数据库相关-->
  78. <!--JSON相关-->
  79. <dependency>
  80. <groupId>com.alibaba</groupId>
  81. <artifactId>fastjson</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.fasterxml.jackson.core</groupId>
  85. <artifactId>jackson-databind</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.fasterxml.jackson.core</groupId>
  89. <artifactId>jackson-core</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.fasterxml.jackson.core</groupId>
  93. <artifactId>jackson-annotations</artifactId>
  94. </dependency>
  95. <!--JSON相关-->
  96. <!--common-->
  97. <dependency>
  98. <groupId>org.apache.commons</groupId>
  99. <artifactId>commons-pool2</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.commons</groupId>
  103. <artifactId>commons-lang3</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>commons-io</groupId>
  107. <artifactId>commons-io</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>commons-fileupload</groupId>
  111. <artifactId>commons-fileupload</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>commons-dbutils</groupId>
  115. <artifactId>commons-dbutils</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.auth0</groupId>
  119. <artifactId>java-jwt</artifactId>
  120. </dependency>
  121. <!--common-->
  122. </dependencies>
  123. <profiles>
  124. <profile> <!-- 服务器开发环境 -->
  125. <id>develop</id>
  126. <properties>
  127. <profiles.active>develop</profiles.active>
  128. </properties>
  129. <activation>
  130. <activeByDefault>true</activeByDefault>
  131. </activation>
  132. </profile>
  133. <profile> <!-- 测试环境 -->
  134. <id>test</id>
  135. <properties>
  136. <profiles.active>test</profiles.active>
  137. </properties>
  138. </profile>
  139. <profile> <!-- 生产环境 -->
  140. <id>production</id>
  141. <properties>
  142. <profiles.active>production</profiles.active>
  143. </properties>
  144. </profile>
  145. </profiles>
  146. <build>
  147. <finalName>${project.artifactId}</finalName>
  148. <!-- <finalName>${project.artifactId}-${profiles.active}</finalName>-->
  149. <resources>
  150. <resource>
  151. <directory>src/main/resources</directory>
  152. <excludes>
  153. <exclude>test/**</exclude>
  154. <exclude>develop/**</exclude>
  155. <exclude>production/**</exclude>
  156. <exclude>classes/**</exclude>
  157. <exclude>lib/**</exclude>
  158. </excludes>
  159. </resource>
  160. <resource>
  161. <directory>src/main/resources/${profiles.active}</directory>
  162. </resource>
  163. <resource>
  164. <directory>src/main/resources</directory>
  165. <includes>
  166. <include>**/*.yml</include>
  167. <include>**/*.properties</include>
  168. <include>**/*.xml</include>
  169. </includes>
  170. <filtering>false</filtering>
  171. </resource>
  172. <resource>
  173. <directory>src/main/java</directory>
  174. <targetPath>${project.build.directory}/classes/mapper</targetPath>
  175. <includes>
  176. <include>**/*.xml</include>
  177. </includes>
  178. <filtering>false</filtering>
  179. </resource>
  180. </resources>
  181. <plugins>
  182. <!--<plugin>-->
  183. <!--<groupId>org.springframework.boot</groupId>-->
  184. <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
  185. <!--</plugin>-->
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-jar-plugin</artifactId>
  189. <configuration>
  190. <archive>
  191. <manifest>
  192. <addClasspath>true</addClasspath>
  193. <classpathPrefix>lib/</classpathPrefix>
  194. <mainClass>com.shinsoft.ureport.UreportApplication</mainClass>
  195. </manifest>
  196. <!-- <manifestEntries>-->
  197. <!-- <Class-Path>lib/tools-1.0-SNAPSHOT.jar</Class-Path>-->
  198. <!-- </manifestEntries>-->
  199. </archive>
  200. <outputDirectory>
  201. <!-- ${output.path}\${project.artifactId}-->
  202. ${project.build.directory}
  203. </outputDirectory>
  204. </configuration>
  205. </plugin>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-dependency-plugin</artifactId>
  209. <executions>
  210. <execution>
  211. <id>copy</id>
  212. <phase>compile</phase>
  213. <goals>
  214. <goal>copy-dependencies</goal>
  215. </goals>
  216. <configuration>
  217. <outputDirectory>
  218. <!-- ${output.path}\${project.artifactId}\lib-->
  219. ${project.build.directory}\lib
  220. </outputDirectory>
  221. </configuration>
  222. </execution>
  223. <execution>
  224. <id>sys</id>
  225. <phase>compile</phase>
  226. <goals>
  227. <goal>copy-dependencies</goal>
  228. </goals>
  229. <configuration>
  230. <includeScope>system</includeScope>
  231. </configuration>
  232. </execution>
  233. </executions>
  234. </plugin>
  235. <plugin>
  236. <groupId>org.apache.maven.plugins</groupId>
  237. <artifactId>maven-resources-plugin</artifactId>
  238. <executions>
  239. <execution>
  240. <id>copy-resource</id>
  241. <phase>package</phase>
  242. <goals>
  243. <goal>copy-resources</goal>
  244. </goals>
  245. <configuration>
  246. <outputDirectory>
  247. <!-- ${output.path}\${project.artifactId}-->
  248. ${project.build.directory}
  249. </outputDirectory>
  250. <resources>
  251. <resource>
  252. <directory>${project.basedir}/src/main/resources</directory>
  253. <includes>
  254. <include>Dockerfile</include>
  255. </includes>
  256. </resource>
  257. </resources>
  258. </configuration>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. </plugins>
  263. </build>
  264. </project>