linghengqian commented on issue #30896: URL: https://github.com/apache/shardingsphere/issues/30896#issuecomment-2058101477
- If you need to test locally, you need to compile manually. ```shell sdk install java 21.0.2-graalce sdk use java 21.0.2-graalce git clone [email protected]:apache/shardingsphere.git cd ./shardingsphere/ git reset --hard ff0da07d640860b1c0668d5b22c361e0160f6aae ./mvnw clean install -Prelease -T1C -DskipTests -Djacoco.skip=true -Dcheckstyle.skip=true -Drat.skip=true -Dmaven.javadoc.skip=true ``` - Obviously, in Maven. ```xml <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>shardingsphere-jdbc</artifactId> <version>5.4.2-SNAPSHOT</version> </dependency> ``` - Obviously, in Gradle. ```groovy repositories { mavenLocal() mavenCentral() } dependencies { implementation 'org.apache.shardingsphere:shardingsphere-jdbc:5.4.2-SNAPSHOT' } ``` > Do I need to upgrade my Shardingsphere version? - This does not prevent you from pushing modules from your local maven repo to a private maven repo. Usually third-party tools will provide documentation, such as https://docs.gitlab.com/16.9/ee/user/packages/maven_repository/ . There are too many middleware and cloud services that can serve as Maven private repo, which usually involves redefining Maven GAV information in private projects. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
