pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  17. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  18. <modelVersion>4.0.0</modelVersion>
  19. <parent>
  20. <groupId>org.apache.seatunnel</groupId>
  21. <artifactId>seatunnel-core</artifactId>
  22. <version>${revision}</version>
  23. </parent>
  24. <artifactId>seatunnel-spark-starter</artifactId>
  25. <packaging>pom</packaging>
  26. <name>SeaTunnel : Core : Spark Starter :</name>
  27. <modules>
  28. <module>seatunnel-spark-2-starter</module>
  29. <module>seatunnel-spark-3-starter</module>
  30. <module>seatunnel-spark-starter-common</module>
  31. </modules>
  32. <properties>
  33. <docker.repo>seatunnel-spark</docker.repo>
  34. </properties>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.apache.seatunnel</groupId>
  38. <artifactId>seatunnel-core-starter</artifactId>
  39. <version>${project.version}</version>
  40. </dependency>
  41. </dependencies>
  42. <build>
  43. <finalName>${project.artifactId}</finalName>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-dependency-plugin</artifactId>
  48. </plugin>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-shade-plugin</artifactId>
  52. <configuration>
  53. <artifactSet>
  54. <excludes>
  55. <!--
  56. Spark(2.x) server lib already include:
  57. slf4j-api
  58. log4j
  59. slf4j-log4j12
  60. jul-to-slf4j
  61. jcl-over-slf4j
  62. Spark(3.x) server lib already include:
  63. slf4j-api
  64. log4j-api
  65. log4j-core
  66. log4j-slf4j-impl
  67. log4j-1.2-api
  68. jul-to-slf4j
  69. jcl-over-slf4j
  70. -->
  71. <exclude>org.slf4j:slf4j-api</exclude>
  72. <exclude>org.slf4j:slf4j-jdk14</exclude>
  73. <exclude>org.slf4j:slf4j-jcl</exclude>
  74. <exclude>org.slf4j:slf4j-nop</exclude>
  75. <exclude>org.slf4j:slf4j-simple</exclude>
  76. <exclude>org.slf4j:slf4j-reload4j</exclude>
  77. <exclude>org.slf4j:slf4j-log4j12</exclude>
  78. <exclude>org.slf4j:jcl-over-slf4j</exclude>
  79. <exclude>org.slf4j:jul-to-slf4j</exclude>
  80. <!-- spark2.x use slf4j + log4j1.x -->
  81. <exclude>org.slf4j:log4j-over-slf4j</exclude>
  82. <exclude>log4j:*</exclude>
  83. <exclude>commons-logging:*</exclude>
  84. <exclude>ch.qos.logback:*</exclude>
  85. <exclude>org.apache.logging.log4j:log4j-api</exclude>
  86. <exclude>org.apache.logging.log4j:log4j-core</exclude>
  87. <exclude>org.apache.logging.log4j:log4j-slf4j-impl</exclude>
  88. <!-- spark3.x use slf4j + log4j2.x -->
  89. <exclude>org.apache.logging.log4j:log4j-to-slf4j</exclude>
  90. <exclude>org.apache.seatunnel:seatunnel-hadoop3-3.1.4-uber</exclude>
  91. </excludes>
  92. </artifactSet>
  93. </configuration>
  94. </plugin>
  95. </plugins>
  96. </build>
  97. </project>