dependency-reduced-pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <parent>
  4. <artifactId>GUOXIN_LDT</artifactId>
  5. <groupId>org.springblade</groupId>
  6. <version>2.8.2.RELEASE</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>ldt-risk</artifactId>
  10. <name>ldt-risk</name>
  11. <url>http://www.myorganization.org</url>
  12. <build>
  13. <pluginManagement>
  14. <plugins>
  15. <plugin>
  16. <groupId>org.eclipse.m2e</groupId>
  17. <artifactId>lifecycle-mapping</artifactId>
  18. <version>1.0.0</version>
  19. <configuration>
  20. <lifecycleMappingMetadata>
  21. <pluginExecutions>
  22. <pluginExecution>
  23. <pluginExecutionFilter>
  24. <groupId>org.apache.maven.plugins</groupId>
  25. <artifactId>maven-shade-plugin</artifactId>
  26. <versionRange>[3.0.0,)</versionRange>
  27. <goals>
  28. <goal>shade</goal>
  29. </goals>
  30. </pluginExecutionFilter>
  31. <action>
  32. <ignore />
  33. </action>
  34. </pluginExecution>
  35. <pluginExecution>
  36. <pluginExecutionFilter>
  37. <groupId>org.apache.maven.plugins</groupId>
  38. <artifactId>maven-compiler-plugin</artifactId>
  39. <versionRange>[3.1,)</versionRange>
  40. <goals>
  41. <goal>testCompile</goal>
  42. <goal>compile</goal>
  43. </goals>
  44. </pluginExecutionFilter>
  45. <action>
  46. <ignore />
  47. </action>
  48. </pluginExecution>
  49. </pluginExecutions>
  50. </lifecycleMappingMetadata>
  51. </configuration>
  52. </plugin>
  53. </plugins>
  54. </pluginManagement>
  55. <plugins>
  56. <plugin>
  57. <artifactId>maven-compiler-plugin</artifactId>
  58. <version>3.1</version>
  59. <configuration>
  60. <source>${java.version}</source>
  61. <target>${java.version}</target>
  62. </configuration>
  63. </plugin>
  64. <plugin>
  65. <artifactId>maven-shade-plugin</artifactId>
  66. <version>3.0.0</version>
  67. <executions>
  68. <execution>
  69. <phase>package</phase>
  70. <goals>
  71. <goal>shade</goal>
  72. </goals>
  73. <configuration>
  74. <artifactSet>
  75. <excludes>
  76. <exclude>org.apache.flink:force-shading</exclude>
  77. <exclude>com.google.code.findbugs:jsr305</exclude>
  78. <exclude>org.slf4j:*</exclude>
  79. <exclude>log4j:*</exclude>
  80. </excludes>
  81. </artifactSet>
  82. <filters>
  83. <filter>
  84. <artifact>*:*</artifact>
  85. <excludes>
  86. <exclude>META-INF/*.SF</exclude>
  87. <exclude>META-INF/*.DSA</exclude>
  88. <exclude>META-INF/*.RSA</exclude>
  89. </excludes>
  90. </filter>
  91. </filters>
  92. <transformers>
  93. <transformer>
  94. <mainClass>org.springblade.StreamingJob</mainClass>
  95. </transformer>
  96. </transformers>
  97. </configuration>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. <profiles>
  104. <profile>
  105. <id>add-dependencies-for-IDEA</id>
  106. <dependencies>
  107. <dependency>
  108. <groupId>org.apache.flink</groupId>
  109. <artifactId>flink-java</artifactId>
  110. <version>${flink.version}</version>
  111. <scope>compile</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.flink</groupId>
  115. <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
  116. <version>${flink.version}</version>
  117. <scope>compile</scope>
  118. </dependency>
  119. </dependencies>
  120. </profile>
  121. </profiles>
  122. <repositories>
  123. <repository>
  124. <releases>
  125. <enabled>false</enabled>
  126. </releases>
  127. <snapshots />
  128. <id>apache.snapshots</id>
  129. <name>Apache Development Snapshot Repository</name>
  130. <url>https://repository.apache.org/content/repositories/snapshots/</url>
  131. </repository>
  132. </repositories>
  133. <dependencies>
  134. <dependency>
  135. <groupId>org.apache.flink</groupId>
  136. <artifactId>flink-java</artifactId>
  137. <version>1.14.0</version>
  138. <scope>provided</scope>
  139. <exclusions>
  140. <exclusion>
  141. <artifactId>commons-math3</artifactId>
  142. <groupId>org.apache.commons</groupId>
  143. </exclusion>
  144. </exclusions>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.flink</groupId>
  148. <artifactId>flink-streaming-java_2.11</artifactId>
  149. <version>1.14.0</version>
  150. <scope>provided</scope>
  151. <exclusions>
  152. <exclusion>
  153. <artifactId>flink-file-sink-common</artifactId>
  154. <groupId>org.apache.flink</groupId>
  155. </exclusion>
  156. <exclusion>
  157. <artifactId>flink-scala_2.11</artifactId>
  158. <groupId>org.apache.flink</groupId>
  159. </exclusion>
  160. <exclusion>
  161. <artifactId>commons-math3</artifactId>
  162. <groupId>org.apache.commons</groupId>
  163. </exclusion>
  164. </exclusions>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.slf4j</groupId>
  168. <artifactId>slf4j-log4j12</artifactId>
  169. <version>1.7.7</version>
  170. <scope>runtime</scope>
  171. </dependency>
  172. <dependency>
  173. <groupId>log4j</groupId>
  174. <artifactId>log4j</artifactId>
  175. <version>1.2.17</version>
  176. <scope>runtime</scope>
  177. </dependency>
  178. </dependencies>
  179. </project>