You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/10/20 08:38:08 UTC

[GitHub] [shardingsphere] taojintianxia opened a new issue #13170: maven install blocked by some test dependencies

taojintianxia opened a new issue #13170:
URL: https://github.com/apache/shardingsphere/issues/13170


   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   did search the issues
   
   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**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   master (832149355859eb3abd7dc838701574da4d4b3c34)
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   NONE
   
   ### Expected behavior
   `./mvnw clean install -Dmaven.javadoc.skip=true -B -Drat.skip=true -Djacoco.skip=true -Dmaven.test.skip=true -T1C -Prelease` could works well
   
   ### Actual behavior
   now, on a clean environment, after cloned shardingsphere code and installed the openjdk8, access the root of shardingsphere code, and execute following command :
   
   ```
   ./mvnw clean install -Dmaven.javadoc.skip=true -B -Drat.skip=true -Djacoco.skip=true -Dmaven.test.skip=true -T1C -Prelease
   ```
   after downloading the dependencies and compile the code , will get follwing issue :
   
   ![image](https://user-images.githubusercontent.com/4112856/138058142-53763933-c261-43ab-bcc7-348bb6866811.png)
   
   ```log
   [ERROR] Failed to execute goal on project shardingsphere-integration-agent-test-jaeger: Could not resolve dependencies for project org.apache.shardingsphere:shardingsphere-integration-agent-test-jaeger:jar:5.0.0-RC1-SNAPSHOT: Could not find artifact org.apache.shardingsphere:shardingsphere-integration-agent-test-common:jar:tests:5.0.0-RC1-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1]
   [ERROR] Failed to execute goal on project shardingsphere-integration-agent-test-opentelemetry: Could not resolve dependencies for project org.apache.shardingsphere:shardingsphere-integration-agent-test-opentelemetry:jar:5.0.0-RC1-SNAPSHOT: Could not find artifact org.apache.shardingsphere:shardingsphere-integration-agent-test-common:jar:tests:5.0.0-RC1-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1]
   [ERROR] Failed to execute goal on project shardingsphere-integration-agent-test-metrics: Could not resolve dependencies for project org.apache.shardingsphere:shardingsphere-integration-agent-test-metrics:jar:5.0.0-RC1-SNAPSHOT: Could not find artifact org.apache.shardingsphere:shardingsphere-integration-agent-test-common:jar:tests:5.0.0-RC1-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1]
   [ERROR] Failed to execute goal on project shardingsphere-integration-agent-test-zipkin: Could not resolve dependencies for project org.apache.shardingsphere:shardingsphere-integration-agent-test-zipkin:jar:5.0.0-RC1-SNAPSHOT: Could not find artifact org.apache.shardingsphere:shardingsphere-integration-agent-test-common:jar:tests:5.0.0-RC1-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1]
   ```
   
   this issue has been reproduced on another CentOS 7.
   
   make release package should not block by the test dependencies.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] sandynz commented on issue #13170: maven install blocked by some test dependencies

Posted by GitBox <gi...@apache.org>.
sandynz commented on issue #13170:
URL: https://github.com/apache/shardingsphere/issues/13170#issuecomment-950253221


   Looks it is caused by `-Dmaven.test.skip=true`, since `shardingsphere-integration-agent-test-common` is a test-jar, it should be compiled and packaged, but it's ignored by `-Dmaven.test.skip=true`.
   
   Use `-DskipTests` instead could solve it.
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] taojintianxia closed issue #13170: maven install blocked by some test dependencies

Posted by GitBox <gi...@apache.org>.
taojintianxia closed issue #13170:
URL: https://github.com/apache/shardingsphere/issues/13170


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org