You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "suntectec (via GitHub)" <gi...@apache.org> on 2025/06/29 13:37:14 UTC
[I] [Bug] [plugins] Docker Container install-plugin.sh sepcify connectors BUILD FAILURE [seatunnel]
suntectec opened a new issue, #9521:
URL: https://github.com/apache/seatunnel/issues/9521
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
With Docker Container, specify config/plugin_config, execute command bin/install-plugin.sh, raise BUILD FAILURE:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not find artifact org.apache.seatunnel:connector-kafka
[ERROR] :jar:2.3.10 in central (https://repo.maven.apache.org/maven2)
### SeaTunnel Version
2.3.10
### SeaTunnel Config
```conf
No response
```
### Running Command
```shell
sh bin/install-plugin.sh
sh bin/install-plugin.sh 2.3.10
```
### Error Exception
```log
install connector : connector-kafka
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:get (default-cli) @ standalone-pom ---
[WARNING] The artifact xml-apis:xml-apis:jar:2.0.2 has been relocated to xml-apis:xml-apis:jar:1.0.b2
:jar:2.3.10lving org.apache.seatunnel:connector-kafka
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/seatunnel/connector-kafka%0D/2.3.10/connector-kafka%0D-2.3.10.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.797 s
[INFO] Finished at: 2025-06-29T13:20:42Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not find artifact org.apache.seatunnel:connector-kafka
[ERROR] :jar:2.3.10 in central (https://repo.maven.apache.org/maven2)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.seatunnel -DartifactId=connector-kafka
[ERROR] -Dversion=2.3.10 -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.seatunnel -DartifactId=connector-kafka
[ERROR] -Dversion=2.3.10 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.apache.seatunnel:connector-kafka
[ERROR] :jar:2.3.10
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR]
[ERROR] -> [Help 1]
[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/MojoExecutionException
```
### Zeta or Flink or Spark Version
_No response_
### Java or Scala Version
11
### Screenshots

### Are you willing to submit PR?
- [x] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [plugins] the binary package install-plugin.sh within docker container sepcify connectors BUILD FAILURE [seatunnel]
Posted by "suntectec (via GitHub)" <gi...@apache.org>.
suntectec commented on issue #9521:
URL: https://github.com/apache/seatunnel/issues/9521#issuecomment-3031531961
The issue happens due to config/plugin_config generation way.
If IntelliJ IDEA generates the plugin_config on Windows then mounted it to Docker Container, because the different character set of File Gen by Windows and by Linux, there will get different result of while read line.
E.g. bin/install-plugin.sh:
while read line; do
first_char=$(echo "$line" | cut -c 1)
if [ "$first_char" != "-" ] && [ "$first_char" != "#" ] && [ ! -z $first_char ]
then
echo "install connector : $line"XXYY
echo "install connector : $line ; $line"
echo "install connector : $version ; $version"
#${SEATUNNEL_HOME}/mvnw dependency:get -Dtransitive=false -DgroupId=org.apache.seatunnel -Dversion=${version} -Ddest=${SEATUNNEL_HOME}/connectors -DartifactId="$line"
fi
done < ${SEATUNNEL_HOME}/config/plugin_config
Result of config/plugin_config Generated By Windows:
XXYYall connector : connector-paimon
; connector-paimon connector-paimon
install connector : 2.3.11 ; 2.3.11

Result of config/plugin_config Generated By Linux:
install connector : connector-paimonXXYY
install connector : connector-paimon ; connector-paimon
install connector : 2.3.11 ; 2.3.11

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [plugins] the binary package install-plugin.sh within docker container sepcify connectors BUILD FAILURE [seatunnel]
Posted by "suntectec (via GitHub)" <gi...@apache.org>.
suntectec commented on issue #9521:
URL: https://github.com/apache/seatunnel/issues/9521#issuecomment-3031555710
If you try to use official apache/seatunnel image, u may need this [/opt/seatunnel/mvnw: not found](https://github.com/apache/seatunnel/issues/9522)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [plugins] the binary package install-plugin.sh within docker container sepcify connectors BUILD FAILURE [seatunnel]
Posted by "suntectec (via GitHub)" <gi...@apache.org>.
suntectec closed issue #9521: [Bug] [plugins] the binary package install-plugin.sh within docker container sepcify connectors BUILD FAILURE
URL: https://github.com/apache/seatunnel/issues/9521
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org