설명 없음
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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.shinsoft</groupId>
  8. <artifactId>sgiipserver</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <groupId>com.shinsoft</groupId>
  12. <artifactId>workflow</artifactId>
  13. <version>1.0.0</version>
  14. <name>workflow</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. </properties>
  18. <dependencies>
  19. <!--spring-->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. <exclusions>
  24. <exclusion>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-logging</artifactId>
  27. </exclusion>
  28. <exclusion>
  29. <groupId>org.hibernate</groupId>
  30. <artifactId>hibernate-validator</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <!--log4j2-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-log4j2</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.logging.log4j</groupId>
  41. <artifactId>log4j-api</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.logging.log4j</groupId>
  45. <artifactId>log4j-core</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.logging.log4j</groupId>
  49. <artifactId>log4j-jul</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.logging.log4j</groupId>
  53. <artifactId>log4j-slf4j-impl</artifactId>
  54. </dependency>
  55. <!--log4j2-->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba.cloud</groupId>
  63. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.alibaba.cloud</groupId>
  67. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.cloud</groupId>
  71. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.cloud</groupId>
  79. <artifactId>spring-cloud-starter-openfeign</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-aop</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-data-redis</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-amqp</artifactId>
  92. </dependency>
  93. <!--spring-->
  94. <!--common-->
  95. <dependency>
  96. <groupId>org.apache.commons</groupId>
  97. <artifactId>commons-pool2</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.commons</groupId>
  101. <artifactId>commons-lang3</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>commons-io</groupId>
  105. <artifactId>commons-io</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>commons-fileupload</groupId>
  109. <artifactId>commons-fileupload</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>commons-dbutils</groupId>
  113. <artifactId>commons-dbutils</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>commons-net</groupId>
  117. <artifactId>commons-net</artifactId>
  118. </dependency>
  119. <!--common-->
  120. <!--数据库相关-->
  121. <dependency>
  122. <groupId>mysql</groupId>
  123. <artifactId>mysql-connector-java</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.oracle.database.jdbc</groupId>
  127. <artifactId>ojdbc8</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.oracle.database.nls</groupId>
  131. <artifactId>orai18n</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.dameng</groupId>
  135. <artifactId>DmJdbcDriver18</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.alibaba</groupId>
  139. <artifactId>druid</artifactId>
  140. </dependency>
  141. <!-- <dependency>-->
  142. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  143. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  144. <!-- </dependency>-->
  145. <!-- <dependency>-->
  146. <!-- <groupId>com.github.pagehelper</groupId>-->
  147. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId> -->
  148. <!-- </dependency>-->
  149. <!--数据库相关-->
  150. <dependency>
  151. <groupId>com.dameng</groupId>
  152. <artifactId>DmJdbcDriver18</artifactId>
  153. </dependency>
  154. <!--代码生成-->
  155. <dependency>
  156. <groupId>org.freemarker</groupId>
  157. <artifactId>freemarker</artifactId>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.baomidou</groupId>
  161. <artifactId>mybatis-plus-boot-starter</artifactId>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.baomidou</groupId>
  165. <artifactId>mybatis-plus-generator</artifactId>
  166. </dependency>
  167. <!-- <dependency>-->
  168. <!-- <groupId>com.baomidou</groupId>-->
  169. <!-- <artifactId>mybatis-plus-extension</artifactId>-->
  170. <!-- </dependency>-->
  171. <dependency>
  172. <groupId>org.projectlombok</groupId>
  173. <artifactId>lombok</artifactId>
  174. </dependency>
  175. <!-- <dependency>-->
  176. <!-- <groupId>io.swagger</groupId>-->
  177. <!-- <artifactId>swagger-annotations</artifactId>-->
  178. <!-- </dependency>-->
  179. <dependency>
  180. <groupId>io.springfox</groupId>
  181. <artifactId>springfox-swagger2</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>io.springfox</groupId>
  185. <artifactId>springfox-swagger-ui</artifactId>
  186. </dependency>
  187. <!--代码生成-->
  188. <!--JSON相关-->
  189. <dependency>
  190. <groupId>net.sf.json-lib</groupId>
  191. <artifactId>json-lib</artifactId>
  192. <version>2.4</version>
  193. <classifier>jdk15</classifier>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.alibaba</groupId>
  197. <artifactId>fastjson</artifactId>
  198. </dependency>
  199. <!--JSON相关-->
  200. <!--加密-->
  201. <dependency>
  202. <groupId>com.auth0</groupId>
  203. <artifactId>java-jwt</artifactId>
  204. </dependency>
  205. <!--加密-->
  206. <!--二维码-->
  207. <dependency>
  208. <groupId>com.google.zxing</groupId>
  209. <artifactId>core</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.google.zxing</groupId>
  213. <artifactId>javase</artifactId>
  214. </dependency>
  215. <!--二维码-->
  216. <!-- <dependency>-->
  217. <!-- <groupId>io.github.cdancy</groupId>-->
  218. <!-- <artifactId>jenkins-rest</artifactId>-->
  219. <!-- <version>1.0.0</version>-->
  220. <!-- </dependency>-->
  221. <dependency>
  222. <groupId>cn.hutool</groupId>
  223. <artifactId>hutool-all</artifactId>
  224. </dependency>
  225. <dependency>
  226. <groupId>io.minio</groupId>
  227. <artifactId>minio</artifactId>
  228. </dependency>
  229. <!-- 公共方法和接口-->
  230. <dependency>
  231. <groupId>com.shinsoft</groupId>
  232. <artifactId>tools</artifactId>
  233. <version>1.0.1</version>
  234. <scope>system</scope>
  235. <systemPath>${project.basedir}/../lib/tools-1.0.1.jar</systemPath>
  236. </dependency>
  237. <dependency>
  238. <groupId>com.shinsoft</groupId>
  239. <artifactId>generator</artifactId>
  240. <version>1.0.0</version>
  241. <scope>system</scope>
  242. <systemPath>${project.basedir}/../lib/generator-1.0.0.jar</systemPath>
  243. </dependency>
  244. <!-- 公共方法和接口-->
  245. <dependency>
  246. <groupId>com.shinsoft</groupId>
  247. <artifactId>workflow-api</artifactId>
  248. <version>1.0.1</version>
  249. <scope>system</scope>
  250. <systemPath>${project.basedir}/../lib/workflow-api-1.0.1.jar</systemPath>
  251. </dependency>
  252. </dependencies>
  253. <profiles>
  254. <profile> <!-- 本地开发环境 -->
  255. <id>localhost</id>
  256. <properties>
  257. <profiles.active>localhost</profiles.active>
  258. </properties>
  259. <activation>
  260. <activeByDefault>true</activeByDefault>
  261. </activation>
  262. </profile>
  263. <profile> <!-- 服务器开发环境 -->
  264. <id>develop</id>
  265. <properties>
  266. <profiles.active>develop</profiles.active>
  267. </properties>
  268. </profile>
  269. <profile> <!-- 测试环境 -->
  270. <id>test</id>
  271. <properties>
  272. <profiles.active>test</profiles.active>
  273. </properties>
  274. </profile>
  275. <profile> <!-- 生产环境 -->
  276. <id>production</id>
  277. <properties>
  278. <profiles.active>production</profiles.active>
  279. </properties>
  280. </profile>
  281. <profile> <!-- 山钢总部环境 -->
  282. <id>production-sg</id>
  283. <properties>
  284. <profiles.active>production-sg</profiles.active>
  285. </properties>
  286. </profile>
  287. <profile> <!-- 济南分部环境 -->
  288. <id>production-jn</id>
  289. <properties>
  290. <profiles.active>production-jn</profiles.active>
  291. </properties>
  292. </profile>
  293. <profile> <!-- 莱芜分部环境 -->
  294. <id>production-lw</id>
  295. <properties>
  296. <profiles.active>production-lw</profiles.active>
  297. </properties>
  298. </profile>
  299. <profile> <!-- 日照分部环境 -->
  300. <id>production-rz</id>
  301. <properties>
  302. <profiles.active>production-rz</profiles.active>
  303. </properties>
  304. </profile>
  305. <profile> <!-- litai环境 -->
  306. <id>litai</id>
  307. <properties>
  308. <profiles.active>litai</profiles.active>
  309. </properties>
  310. </profile>
  311. <profile> <!-- litai环境 -->
  312. <id>zhangchuanchen</id>
  313. <properties>
  314. <profiles.active>zhangchuanchen</profiles.active>
  315. </properties>
  316. </profile>
  317. </profiles>
  318. <build>
  319. <finalName>${project.artifactId}</finalName>
  320. <!-- <finalName>${project.artifactId}-${profiles.active}</finalName>-->
  321. <resources>
  322. <resource>
  323. <directory>src/main/resources</directory>
  324. <!-- <excludes>-->
  325. <!-- <exclude>localhost/**</exclude>-->
  326. <!-- <exclude>develop/**</exclude>-->
  327. <!-- <exclude>test/**</exclude>-->
  328. <!-- <exclude>production/**</exclude>-->
  329. <!-- <exclude>production-sg/**</exclude>-->
  330. <!-- <exclude>production-jn/**</exclude>-->
  331. <!-- <exclude>production-lw/**</exclude>-->
  332. <!-- <exclude>production-rz/**</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.workflow.WorkflowApplication</mainClass>
  368. </manifest>
  369. <manifestEntries>
  370. <Class-Path>lib/tools-1.0.1.jar lib/generator-1.0.0.jar lib/workflow-api-1.0.1.jar</Class-Path>
  371. </manifestEntries>
  372. </archive>
  373. <outputDirectory>
  374. <!-- ${output.path}/${project.artifactId}-->
  375. ${project.build.directory}
  376. <!-- /home/${project.artifactId}-->
  377. </outputDirectory>
  378. </configuration>
  379. </plugin>
  380. <plugin>
  381. <groupId>org.apache.maven.plugins</groupId>
  382. <artifactId>maven-dependency-plugin</artifactId>
  383. <executions>
  384. <execution>
  385. <id>copy</id>
  386. <phase>compile</phase>
  387. <goals>
  388. <goal>copy-dependencies</goal>
  389. </goals>
  390. <configuration>
  391. <outputDirectory>
  392. <!-- ${output.path}/${project.artifactId}/lib-->
  393. ${project.build.directory}/lib
  394. <!-- /home/${project.artifactId}/lib-->
  395. </outputDirectory>
  396. </configuration>
  397. </execution>
  398. <execution>
  399. <id>sys</id>
  400. <phase>compile</phase>
  401. <goals>
  402. <goal>copy-dependencies</goal>
  403. </goals>
  404. <configuration>
  405. <includeScope>system</includeScope>
  406. </configuration>
  407. </execution>
  408. </executions>
  409. </plugin>
  410. <plugin>
  411. <groupId>org.apache.maven.plugins</groupId>
  412. <artifactId>maven-resources-plugin</artifactId>
  413. <executions>
  414. <execution>
  415. <id>copy-resource</id>
  416. <phase>package</phase>
  417. <goals>
  418. <goal>copy-resources</goal>
  419. </goals>
  420. <configuration>
  421. <outputDirectory>
  422. <!-- ${output.path}/${project.artifactId}-->
  423. ${project.build.directory}
  424. <!-- /home/${project.artifactId}-->
  425. </outputDirectory>
  426. <resources>
  427. <resource>
  428. <directory>${project.basedir}/src/main/resources/${profiles.active}</directory>
  429. <includes>
  430. <include>Dockerfile</include>
  431. <include>bootstrap.properties</include>
  432. </includes>
  433. </resource>
  434. </resources>
  435. </configuration>
  436. </execution>
  437. </executions>
  438. </plugin>
  439. </plugins>
  440. </build>
  441. </project>