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

Maven cannot download the dependency of ShardingSphere 5.3.1 #24126

Closed
KouShenhai opened this issue Feb 12, 2023 · 3 comments
Closed

Maven cannot download the dependency of ShardingSphere 5.3.1 #24126

KouShenhai opened this issue Feb 12, 2023 · 3 comments

Comments

@KouShenhai
Copy link

Which version of ShardingSphere did you use?

My version is ShardingSphere 5.3.1

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

I use ShardingSphere-JDBC

Operation steps

I imported ShardingSphere in the SpringBoot project and reported an error.

            <dependency>
                <groupId>org.apache.shardingsphere</groupId>
                <artifactId>shardingsphere</artifactId>
                <version>5.3.1</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
Could not transfer artifact org.springframework:spring-jdbc:jar:${springframework.version} 

After repeated debugging, the original pom.xml of the parent module does not define the <springframework.version/> variable.

I hope to solve this problem. Thank you very much.

@linghengqian
Copy link
Member

@KouShenhai
Copy link
Author

Yeah, I just want to import the ShardingSphere - JDBC dependency, but I can't import it. Therefore, directly import the entire ShardingSphere dependency

Finally, thank you very much!

@TeslaCN
Copy link
Member

TeslaCN commented Feb 13, 2023

Thanks for your answer! @linghengqian

@TeslaCN TeslaCN closed this as completed Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants