暫無描述
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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.shinsoft</groupId>
  6. <artifactId>service</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <groupId>com.shinsoft</groupId>
  10. <artifactId>iec</artifactId>
  11. <version>1.0.0</version>
  12. <name>iec</name>
  13. <description>Demo project for Spring Boot</description>
  14. <properties>
  15. <maven.compiler.source>8</maven.compiler.source>
  16. <maven.compiler.target>8</maven.compiler.target>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. </properties>
  19. <dependencies>
  20. <!--spring-->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-logging</artifactId>
  28. </exclusion>
  29. <exclusion>
  30. <groupId>org.hibernate</groupId>
  31. <artifactId>hibernate-validator</artifactId>
  32. </exclusion>
  33. </exclusions>
  34. </dependency>
  35. <!--log4j2-->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-log4j2</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.logging.log4j</groupId>
  42. <artifactId>log4j-api</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.logging.log4j</groupId>
  46. <artifactId>log4j-core</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.logging.log4j</groupId>
  50. <artifactId>log4j-jul</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.logging.log4j</groupId>
  54. <artifactId>log4j-slf4j-impl</artifactId>
  55. </dependency>
  56. <!--log4j2-->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-test</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.alibaba.cloud</groupId>
  64. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.alibaba.cloud</groupId>
  68. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.cloud</groupId>
  72. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.cloud</groupId>
  76. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.cloud</groupId>
  80. <artifactId>spring-cloud-starter-openfeign</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-aop</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-data-redis</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-amqp</artifactId>
  93. </dependency>
  94. <!--spring-->
  95. <!--common-->
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-pool2</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.commons</groupId>
  102. <artifactId>commons-lang3</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>commons-io</groupId>
  106. <artifactId>commons-io</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>commons-fileupload</groupId>
  110. <artifactId>commons-fileupload</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>commons-dbutils</groupId>
  114. <artifactId>commons-dbutils</artifactId>
  115. </dependency>
  116. <!--common-->
  117. <!--数据库相关-->
  118. <dependency>
  119. <groupId>mysql</groupId>
  120. <artifactId>mysql-connector-java</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.oracle.database.jdbc</groupId>
  124. <artifactId>ojdbc8</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.oracle.database.nls</groupId>
  128. <artifactId>orai18n</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.dameng</groupId>
  132. <artifactId>DmJdbcDriver18</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.alibaba</groupId>
  136. <artifactId>druid</artifactId>
  137. </dependency>
  138. <!--数据库相关-->
  139. <!--代码生成-->
  140. <dependency>
  141. <groupId>org.freemarker</groupId>
  142. <artifactId>freemarker</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.baomidou</groupId>
  146. <artifactId>mybatis-plus-boot-starter</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.baomidou</groupId>
  150. <artifactId>mybatis-plus-generator</artifactId>
  151. </dependency>
  152. <!-- <dependency>-->
  153. <!-- <groupId>com.baomidou</groupId>-->
  154. <!-- <artifactId>mybatis-plus-extension</artifactId>-->
  155. <!-- </dependency>-->
  156. <dependency>
  157. <groupId>org.projectlombok</groupId>
  158. <artifactId>lombok</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>io.swagger</groupId>
  162. <artifactId>swagger-annotations</artifactId>
  163. </dependency>
  164. <!--代码生成-->
  165. <!--JSON相关-->
  166. <dependency>
  167. <groupId>com.alibaba</groupId>
  168. <artifactId>fastjson</artifactId>
  169. </dependency>
  170. <!--JSON相关-->
  171. <!--加密-->
  172. <dependency>
  173. <groupId>com.auth0</groupId>
  174. <artifactId>java-jwt</artifactId>
  175. </dependency>
  176. <!--加密-->
  177. <!--二维码-->
  178. <dependency>
  179. <groupId>com.google.zxing</groupId>
  180. <artifactId>core</artifactId>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.google.zxing</groupId>
  184. <artifactId>javase</artifactId>
  185. </dependency>
  186. <!--二维码-->
  187. <!--POI office文档控制jar-->
  188. <!-- <dependency>-->
  189. <!-- <groupId>org.apache.poi</groupId>-->
  190. <!-- <artifactId>poi</artifactId>-->
  191. <!-- </dependency>-->
  192. <!-- <dependency>-->
  193. <!-- <groupId>org.apache.poi</groupId>-->
  194. <!-- <artifactId>poi-scratchpad</artifactId>-->
  195. <!-- </dependency>-->
  196. <!-- <dependency>-->
  197. <!-- <groupId>org.apache.poi</groupId>-->
  198. <!-- <artifactId>poi-ooxml</artifactId>-->
  199. <!-- </dependency>-->
  200. <!-- <dependency>-->
  201. <!-- <groupId>fr.opensagres.xdocreport</groupId>-->
  202. <!-- <artifactId>xdocreport</artifactId>-->
  203. <!-- </dependency>-->
  204. <!-- <dependency>-->
  205. <!-- <groupId>fr.opensagres.xdocreport</groupId>-->
  206. <!-- <artifactId>fr.opensagres.poi.xwpf.converter.core</artifactId>-->
  207. <!-- </dependency>-->
  208. <!-- <dependency>-->
  209. <!-- <groupId>fr.opensagres.xdocreport</groupId>-->
  210. <!-- <artifactId>fr.opensagres.poi.xwpf.converter.xhtml</artifactId>-->
  211. <!-- </dependency>-->
  212. <!-- <dependency>-->
  213. <!-- <groupId>org.apache.poi</groupId>-->
  214. <!-- <artifactId>poi-ooxml-schemas</artifactId>-->
  215. <!-- </dependency>-->
  216. <!-- <dependency>-->
  217. <!-- <groupId>org.apache.poi</groupId>-->
  218. <!-- <artifactId>ooxml-schemas</artifactId>-->
  219. <!-- </dependency>-->
  220. <!--POI office文档控制jar-->
  221. <!--Excel导入导出-->
  222. <dependency>
  223. <groupId>com.alibaba</groupId>
  224. <artifactId>easyexcel</artifactId>
  225. </dependency>
  226. <!--Excel导入导出-->
  227. <!-- itext-->
  228. <dependency>
  229. <groupId>com.lowagie</groupId>
  230. <artifactId>itext</artifactId>
  231. </dependency>
  232. <!--itext-->
  233. <dependency>
  234. <groupId>cn.hutool</groupId>
  235. <artifactId>hutool-all</artifactId>
  236. </dependency>
  237. <dependency>
  238. <groupId>io.swagger</groupId>
  239. <artifactId>swagger-annotations</artifactId>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.squareup.okhttp3</groupId>
  243. <artifactId>okhttp</artifactId>
  244. </dependency>
  245. <!--对象存储-->
  246. <dependency>
  247. <groupId>io.minio</groupId>
  248. <artifactId>minio</artifactId>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.qiniu</groupId>
  252. <artifactId>qiniu-java-sdk</artifactId>
  253. </dependency>
  254. <dependency>
  255. <groupId>software.amazon.awssdk</groupId>
  256. <artifactId>s3</artifactId>
  257. </dependency>
  258. <!-- 公共方法和接口-->
  259. <dependency>
  260. <groupId>com.shinsoft</groupId>
  261. <artifactId>tools</artifactId>
  262. <version>1.0.1</version>
  263. <scope>system</scope>
  264. <systemPath>${project.basedir}/../lib/tools-1.0.1.jar</systemPath>
  265. </dependency>
  266. <dependency>
  267. <groupId>com.shinsoft</groupId>
  268. <artifactId>generator</artifactId>
  269. <version>1.0.0</version>
  270. <scope>system</scope>
  271. <systemPath>${project.basedir}/../lib/generator-1.0.0.jar</systemPath>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.shinsoft</groupId>
  275. <artifactId>framework-api</artifactId>
  276. <version>1.0.1</version>
  277. <scope>system</scope>
  278. <systemPath>${project.basedir}/../lib/framework-api-1.0.1.jar</systemPath>
  279. </dependency>
  280. <dependency>
  281. <groupId>com.shinsoft</groupId>
  282. <artifactId>workflow-api</artifactId>
  283. <version>1.0.1</version>
  284. <scope>system</scope>
  285. <systemPath>${project.basedir}/../lib/workflow-api-1.0.1.jar</systemPath>
  286. </dependency>
  287. <!-- 公共方法和接口-->
  288. </dependencies>
  289. <profiles>
  290. <profile> <!-- 本地开发环境 -->
  291. <id>localhost</id>
  292. <properties>
  293. <profiles.active>localhost</profiles.active>
  294. </properties>
  295. </profile>
  296. <profile> <!-- 服务器开发环境 -->
  297. <id>develop</id>
  298. <properties>
  299. <profiles.active>develop</profiles.active>
  300. </properties>
  301. <activation>
  302. <activeByDefault>true</activeByDefault>
  303. </activation>
  304. </profile>
  305. <profile> <!-- 测试环境 -->
  306. <id>test</id>
  307. <properties>
  308. <profiles.active>test</profiles.active>
  309. </properties>
  310. </profile>
  311. <profile> <!-- 生产环境 -->
  312. <id>production</id>
  313. <properties>
  314. <profiles.active>production</profiles.active>
  315. </properties>
  316. </profile>
  317. <profile> <!-- 个人 -->
  318. <id>litai</id>
  319. <properties>
  320. <profiles.active>litai</profiles.active>
  321. </properties>
  322. </profile>
  323. </profiles>
  324. <build>
  325. <finalName>${project.artifactId}</finalName>
  326. <resources>
  327. <resource>
  328. <directory>src/main/resources</directory>
  329. <!-- <excludes>-->
  330. <!-- <exclude>localhost/**</exclude>-->
  331. <!-- <exclude>develop/**</exclude>-->
  332. <!-- <exclude>production/**</exclude>-->
  333. <!-- <exclude>classes/**</exclude>-->
  334. <!-- <exclude>lib/**</exclude>-->
  335. <!-- </excludes>-->
  336. </resource>
  337. <resource>
  338. <directory>src/main/resources/${profiles.active}</directory>
  339. </resource>
  340. <resource>
  341. <directory>src/main/resources</directory>
  342. <includes>
  343. <include>**/*.yml</include>
  344. <include>**/*.properties</include>
  345. <include>**/*.xml</include>
  346. </includes>
  347. <filtering>false</filtering>
  348. </resource>
  349. <resource>
  350. <directory>src/main/java</directory>
  351. <targetPath>${project.build.directory}/classes/mapper</targetPath>
  352. <includes>
  353. <include>**/*.xml</include>
  354. </includes>
  355. <filtering>false</filtering>
  356. </resource>
  357. </resources>
  358. <plugins>
  359. <plugin>
  360. <groupId>org.apache.maven.plugins</groupId>
  361. <artifactId>maven-jar-plugin</artifactId>
  362. <configuration>
  363. <archive>
  364. <manifest>
  365. <addClasspath>true</addClasspath>
  366. <classpathPrefix>lib/</classpathPrefix>
  367. <mainClass>com.shinsoft.iec.IecApplication</mainClass>
  368. </manifest>
  369. <manifestEntries>
  370. <Class-Path>lib/tools-1.0.1.jar lib/generator-1.0.0.jar lib/framework-api-1.0.1.jar lib/workflow-api-1.0.1.jar
  371. </Class-Path>
  372. </manifestEntries>
  373. </archive>
  374. <outputDirectory>
  375. ${project.build.directory}
  376. </outputDirectory>
  377. </configuration>
  378. </plugin>
  379. <plugin>
  380. <groupId>org.apache.maven.plugins</groupId>
  381. <artifactId>maven-dependency-plugin</artifactId>
  382. <executions>
  383. <execution>
  384. <id>copy</id>
  385. <phase>compile</phase>
  386. <goals>
  387. <goal>copy-dependencies</goal>
  388. </goals>
  389. <configuration>
  390. <outputDirectory>
  391. ${project.build.directory}/lib
  392. </outputDirectory>
  393. </configuration>
  394. </execution>
  395. <execution>
  396. <id>sys</id>
  397. <phase>compile</phase>
  398. <goals>
  399. <goal>copy-dependencies</goal>
  400. </goals>
  401. <configuration>
  402. <includeScope>system</includeScope>
  403. </configuration>
  404. </execution>
  405. </executions>
  406. </plugin>
  407. <plugin>
  408. <groupId>org.apache.maven.plugins</groupId>
  409. <artifactId>maven-resources-plugin</artifactId>
  410. <executions>
  411. <execution>
  412. <id>copy-resource</id>
  413. <phase>package</phase>
  414. <goals>
  415. <goal>copy-resources</goal>
  416. </goals>
  417. <configuration>
  418. <outputDirectory>
  419. ${project.build.directory}
  420. </outputDirectory>
  421. <resources>
  422. <resource>
  423. <directory>${project.basedir}/src/main/resources/${profiles.active}</directory>
  424. <includes>
  425. <include>Dockerfile</include>
  426. <include>bootstrap.properties</include>
  427. </includes>
  428. </resource>
  429. </resources>
  430. </configuration>
  431. </execution>
  432. </executions>
  433. </plugin>
  434. </plugins>
  435. </build>
  436. </project>