seatunnel icon indicating copy to clipboard operation
seatunnel copied to clipboard

[Bug] [Seatunnel-dist] Duplicate maven dependency caused mvnd compile failure

Open litiliu opened this issue 5 months ago • 1 comments
trafficstars

Search before asking

  • [x] I had searched in the issues and found no similar issues.

What happened

seatunnel-dist/pom.xml contains a duplicate dependency, thus lead to the build failure.

 The project org.apache.seatunnel:seatunnel-dist:2.3.12-SNAPSHOT (/Users//IdeaProjects/seatunnel-fork/seatunnel-dist/pom.xml) has 1 error
[ERROR]     'profiles.profile[seatunnel].dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.seatunnel:connector-doris:jar -> duplicate declaration of version ${project.version} @ org.apache.seatunnel:seatunnel-dist:${revision}, file:///Users//IdeaProjects/seatunnel-fork/seatunnel-dist/pom.xml, line 493, column 17

            <dependency>
                <groupId>org.apache.seatunnel</groupId>
                <artifactId>connector-doris</artifactId>
                <version>${project.version}</version>
                <scope>provided</scope>
            </dependency>

SeaTunnel Version

2.3.11

SeaTunnel Config

none

Running Command

none

Error Exception

The project org.apache.seatunnel:seatunnel-dist:2.3.12-SNAPSHOT (/Users//IdeaProjects/seatunnel-fork/seatunnel-dist/pom.xml) has 1 error
[ERROR]     'profiles.profile[seatunnel].dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.seatunnel:connector-doris:jar -> duplicate declaration of version ${project.version} @ org.apache.seatunnel:seatunnel-dist:${revision}, file:///Users//IdeaProjects/seatunnel-fork/seatunnel-dist/pom.xml, line 493, column 17

Zeta or Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

No response

Are you willing to submit PR?

  • [x] Yes I am willing to submit a PR!

Code of Conduct

litiliu avatar Jun 18 '25 07:06 litiliu