pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.crm.swiftcode</groupId>
  6. <artifactId>com-crm-swiftcode</artifactId>
  7. <version>1.0.0</version>
  8. <packaging>jar</packaging>
  9. <name>com_crm_swiftcode</name>
  10. <description>crm swiftcode module for eman</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.7.18</version>
  15. <relativePath/> <!-- lookup parent fromAccount repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>net.sourceforge.nekohtml</groupId>
  33. <artifactId>nekohtml</artifactId>
  34. <version>1.9.22</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-test</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. </dependencies>
  42. <build>
  43. <resources>
  44. <resource>
  45. <directory>src/main/resources</directory>
  46. </resource>
  47. <resource>
  48. <directory>src/main/java</directory>
  49. <includes>
  50. <include>json/*.json</include>
  51. <include>json/**/*.json</include>
  52. </includes>
  53. </resource>
  54. </resources>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-maven-plugin</artifactId>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-dependency-plugin</artifactId>
  63. <version>3.6.1</version>
  64. <executions>
  65. <execution>
  66. <id>copy-dependencies-to-lib</id>
  67. <phase>install</phase>
  68. <goals>
  69. <goal>copy-dependencies</goal>
  70. </goals>
  71. <configuration>
  72. <includeScope>runtime</includeScope>
  73. <outputDirectory>${project.basedir}/lib/dependency</outputDirectory>
  74. </configuration>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. <plugin>
  79. <groupId>org.apache.maven.plugins</groupId>
  80. <artifactId>maven-antrun-plugin</artifactId>
  81. <version>3.1.0</version>
  82. <executions>
  83. <execution>
  84. <id>copy-boot-jar-to-lib</id>
  85. <phase>install</phase>
  86. <goals>
  87. <goal>run</goal>
  88. </goals>
  89. <configuration>
  90. <target>
  91. <mkdir dir="${project.basedir}/lib"/>
  92. <copy file="${project.build.directory}/${project.build.finalName}.jar"
  93. todir="${project.basedir}/lib"
  94. overwrite="true"/>
  95. </target>
  96. </configuration>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. </plugins>
  101. </build>
  102. <repositories>
  103. <repository>
  104. <id>spring-snapshots</id>
  105. <name>Spring Snapshots</name>
  106. <url>https://repo.spring.io/snapshot</url>
  107. <snapshots>
  108. <enabled>true</enabled>
  109. </snapshots>
  110. </repository>
  111. <repository>
  112. <id>spring-milestones</id>
  113. <name>Spring Milestones</name>
  114. <url>https://repo.spring.io/milestone</url>
  115. <snapshots>
  116. <enabled>false</enabled>
  117. </snapshots>
  118. </repository>
  119. </repositories>
  120. <pluginRepositories>
  121. <pluginRepository>
  122. <id>spring-snapshots</id>
  123. <name>Spring Snapshots</name>
  124. <url>https://repo.spring.io/snapshot</url>
  125. <snapshots>
  126. <enabled>true</enabled>
  127. </snapshots>
  128. </pluginRepository>
  129. <pluginRepository>
  130. <id>spring-milestones</id>
  131. <name>Spring Milestones</name>
  132. <url>https://repo.spring.io/milestone</url>
  133. <snapshots>
  134. <enabled>false</enabled>
  135. </snapshots>
  136. </pluginRepository>
  137. </pluginRepositories>
  138. </project>