pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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>dicom_monitor</groupId>
  6. <artifactId>dicom_monitor</artifactId>
  7. <version>4.0.0.20220101</version>
  8. <url>http://maven.apache.org</url>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  12. <java.version>1.8</java.version>
  13. </properties>
  14. <!-- <repositories>-->
  15. <!-- <repository>-->
  16. <!-- <id>org.dcm4che</id>-->
  17. <!-- <name>dcm4che DICOM toolkit and utilities</name>-->
  18. <!-- <url>http://github.com/dcm4che/dcm4che</url>-->
  19. <!-- </repository>-->
  20. <!-- </repositories>-->
  21. <build>
  22. <finalName>zskk-dicom-monitor</finalName>
  23. <defaultGoal>compile</defaultGoal>
  24. <plugins>
  25. <plugin>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-maven-plugin</artifactId>
  28. <configuration>
  29. <fork>true</fork>
  30. <mainClass>${start-class}</mainClass>
  31. </configuration>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.springframework</groupId>
  35. <artifactId>springloaded</artifactId>
  36. <version>1.2.8.RELEASE</version>
  37. </dependency>
  38. </dependencies>
  39. <executions>
  40. <execution>
  41. <goals>
  42. <goal>repackage</goal>
  43. </goals>
  44. </execution>
  45. </executions>
  46. </plugin>
  47. <plugin>
  48. <artifactId>maven-compiler-plugin</artifactId>
  49. <version>3.7.0</version>
  50. <configuration>
  51. <source>1.8</source>
  52. <target>1.8</target>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <!--必须使用apache的打包工具,因为spring的打包插件功能不够-->
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-jar-plugin</artifactId>
  59. <configuration>
  60. <archive>
  61. <manifest>
  62. <addClasspath>true</addClasspath>
  63. <classpathPrefix>lib</classpathPrefix>
  64. <!-- 程序启动入口 -->
  65. <mainClass>com.zskk.dicom.UploaderZskkApplication</mainClass>
  66. </manifest>
  67. <manifestEntries>
  68. <Class-Path>./</Class-Path>
  69. </manifestEntries>
  70. </archive>
  71. <excludes>
  72. <!--设置不打进jar包的文件-->
  73. <exclude>*.properties</exclude>
  74. <!-- <exclude>*.xml</exclude>-->
  75. <!-- <exclude>*.bat</exclude>-->
  76. </excludes>
  77. </configuration>
  78. </plugin>
  79. <plugin>
  80. <artifactId>maven-assembly-plugin</artifactId>
  81. <version>2.2-beta-5</version>
  82. <configuration>
  83. <archive>
  84. <manifest>
  85. <addClasspath>true</addClasspath>
  86. <mainClass>com.dandian.platform.web.engines.WebStarts</mainClass>
  87. </manifest>
  88. </archive>
  89. <!-- <descriptorRefs>-->
  90. <!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
  91. <!-- </descriptorRefs>-->
  92. <descriptors>
  93. <descriptor>src/main/assembly/package.xml</descriptor>
  94. </descriptors>
  95. </configuration>
  96. <executions>
  97. <execution>
  98. <id>assemble-all</id>
  99. <phase>package</phase>
  100. <goals>
  101. <goal>single</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. <dependencies>
  109. <dependency>
  110. <groupId>org.apache.commons</groupId>
  111. <artifactId>commons-email</artifactId>
  112. <version>1.4</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.commons</groupId>
  116. <artifactId>commons-io</artifactId>
  117. <version>1.3.2</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>commons-io</groupId>
  121. <artifactId>commons-io</artifactId>
  122. <version>2.6</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>commons-lang</groupId>
  126. <artifactId>commons-lang</artifactId>
  127. <version>2.6</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>commons-httpclient</groupId>
  131. <artifactId>commons-httpclient</artifactId>
  132. <version>3.0.1</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>commons-beanutils</groupId>
  136. <artifactId>commons-beanutils</artifactId>
  137. <version>1.9.3</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-starter</artifactId>
  142. <version>2.0.4.RELEASE</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-configuration-processor</artifactId>
  147. <version>2.0.4.RELEASE</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-autoconfigure</artifactId>
  152. <version>2.0.4.RELEASE</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-autoconfigure-processor</artifactId>
  157. <version>2.0.4.RELEASE</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework.boot</groupId>
  161. <artifactId>spring-boot</artifactId>
  162. <version>2.0.4.RELEASE</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.aliyun.oss</groupId>
  166. <artifactId>aliyun-sdk-oss</artifactId>
  167. <version>2.8.3</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.alibaba</groupId>
  171. <artifactId>fastjson</artifactId>
  172. <version>1.2.51</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>cn.ucloud.ufile</groupId>
  176. <artifactId>ufile-client-java</artifactId>
  177. <version>2.4.1</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>javax.xml.bind</groupId>
  181. <artifactId>jaxb-api</artifactId>
  182. <version>2.3.0</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.sun.xml.bind</groupId>
  186. <artifactId>jaxb-impl</artifactId>
  187. <version>2.3.0</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.sun.xml.bind</groupId>
  191. <artifactId>jaxb-core</artifactId>
  192. <version>2.3.0</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>javax.activation</groupId>
  196. <artifactId>activation</artifactId>
  197. <version>1.1.1</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.squareup.okhttp3</groupId>
  201. <artifactId>okhttp</artifactId>
  202. <version>4.3.1</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.apache.httpcomponents</groupId>
  206. <artifactId>httpmime</artifactId>
  207. <version>4.5.3</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.zskk</groupId>
  211. <artifactId>tyoss</artifactId>
  212. <version>1.0.0</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>com.zskk</groupId>
  216. <artifactId>tyossjoda</artifactId>
  217. <version>1.0.0</version>
  218. </dependency>
  219. </dependencies>
  220. </project>