seatunnel
seatunnel copied to clipboard
[bug][dist]fix the release packaging exception
Purpose of this pull request
mvn clean package -pl :seatunnel-dist -am -D"skip.ui"=true -DskipTests -Prelease throw error
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] '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}, E:\gitwork\seatunnel\seatunnel-dist\pom.xml, line 487, column 29
[ERROR] 'dependencies.dependency.version' for com.facebook.presto:presto-jdbc:jar must be a valid version but is '${presto.version}'. @ org.apache.seatunnel:seatunnel-dist:${revision}, E:\gitwork\seatunnel\seatunnel-dist\pom.xml, line 990, column 30
[ERROR] 'dependencies.dependency.version' for io.trino:trino-jdbc:jar must be a valid version but is '${trino.version}'. @ org.apache.seatunnel:seatunnel-dist:${revision}, E:\gitwork\seatunnel\seatunnel-dist\pom.xml, line 996, column 30
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.seatunnel:seatunnel-dist:2.3.12-SNAPSHOT (E:\gitwork\seatunnel\seatunnel-dist\pom.xml) has 2 errors
[ERROR] 'dependencies.dependency.version' for com.facebook.presto:presto-jdbc:jar must be a valid version but is '${presto.version}'. @ org.apache.seatunnel:seatunnel-dist:${revision}, E:\gitwork\seatunnel\seatunnel-dist\pom.xml, line 990, column 30
[ERROR] 'dependencies.dependency.version' for io.trino:trino-jdbc:jar must be a valid version but is '${trino.version}'. @ org.apache.seatunnel:seatunnel-dist:${revision}, E:\gitwork\seatunnel\seatunnel-dist\pom.xml, line 996, column 30
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
- [ ] If any new Jar binary package adding in your PR, please add License Notice according New License Guide
- [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
- [ ] If you are contributing the connector code, please check that the following files are updated:
- Update plugin-mapping.properties and add new connector information in it
- Update the pom file of seatunnel-dist
- Add ci label in label-scope-conf
- Add e2e testcase in seatunnel-e2e
- Update connector plugin_config
waiting test case passes.