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

Could not find org.apache.shardingsphere:shardingsphere-test-util:5.5.0 #31128

Closed
renwairen opened this issue May 6, 2024 · 3 comments · Fixed by #31143
Closed

Could not find org.apache.shardingsphere:shardingsphere-test-util:5.5.0 #31128

renwairen opened this issue May 6, 2024 · 3 comments · Fixed by #31143

Comments

@renwairen
Copy link

Question

For English only, other languages will not accept.

Before asking a question, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.

I try to upgrade shardingsphere-jdbc to 5.5.0, but some dependency cannot be found, is there something wrong?

`Execution failed for task ':sharding:compileJava'.

Could not resolve all files for configuration ':sharding:compileClasspath'.
Could not find org.apache.shardingsphere:shardingsphere-test-util:5.5.0.
Required by:
project :sharding > org.apache.shardingsphere:shardingsphere-jdbc:5.5.0 > org.apache.shardingsphere:shardingsphere-infra-url-core:5.5.0
project :sharding > org.apache.shardingsphere:shardingsphere-jdbc:5.5.0 > org.apache.shardingsphere:shardingsphere-authority-core:5.5.0 > org.apache.shardingsphere:shardingsphere-authority-api:5.5.0 > org.apache.shardingsphere:shardingsphere-infra-algorithm-core:5.5.0
`

@linghengqian
Copy link
Member

  • How did you obtain this Log? The Maven module of org.apache.shardingsphere:shardingsphere-test-util involves test dependencies that are incompatible with the Apache License, so this module only exists in the master branch and will not be transferred to the Maven Central repo.

@AntonyCheng
Copy link

AntonyCheng commented May 6, 2024

You can do this:

<dependency>
        <groupId>org.apache.shardingsphere</groupId>
        <artifactId>shardingsphere-jdbc</artifactId>
        <version>5.5.0</version>
        <exclusions>
            <exclusion>
                <groupId>org.apache.shardingsphere</groupId>
                <artifactId>shardingsphere-test-util</artifactId>
            </exclusion>
        </exclusions>
</dependency>

@linghengqian
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants