Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scaffold Task cannot be used for new versions of existing packages with the same name in git #389

Open
linghengqian opened this issue Sep 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@linghengqian
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

  • scaffold Task cannot be used for new versions of existing packages with the same name in git.
  • A simple example is com.mysql:mysql-connector-j:8.1.0.

To Reproduce
Steps to reproduce the behavior:

git clone [email protected]:oracle/graalvm-reachability-metadata.git
./gradlew scaffold --coordinates com.mysql:mysql-connector-j:8.1.0

Please use backticks to properly format code.
If possible please attach a complete reproducer here (either as a zip file or as a link to public repository/branch).

Expected behavior
A clear and concise description of what you expected to happen.

  • No Error.

Logs
Add logs to help explain your problem.
Please use backticks to properly format big logs.

$ ./gradlew scaffold --coordinates com.mysql:mysql-connector-j:8.1.0

> Configure project :
GraalVM Reachability Metadata TCK
---------------------------------

> Task :scaffold FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':scaffold'.
> Metadata for 'com.mysql:mysql-connector-j' already exists! Use --force to overwrite existing metadata

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
12 actionable tasks: 2 executed, 1 from cache, 9 up-to-date

System Info (please complete the following information):

  • OS: [e.g. Windows] Ubuntu 22.04.3 LTS
  • GraalVM Version [e.g. 22.0 CE] CE 17.0.8
  • Java Version [e.g. 17] 17
  • Plugin version [e.g. native-gradle-plugin:0.9.10] native-gradle-plugin:0.9.26

Additional context
Add any other context about the problem here.

@linghengqian linghengqian added the bug Something isn't working label Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant