[GRADLE-3019] Gradle 1.10 cannot resolve org.jboss.arquillian.container:arquillian-weld-se-embedded-1.1:1.0.0.CR7 Created: 11/Feb/14  Updated: 06/Apr/14  Resolved: 06/Apr/14

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.12-rc-1

Type: Bug
Reporter: Gradle Forums Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

gradle-1.10 cannot resolve a transitive dependency of org.jboss.arquillian.container:arquillian-weld-se-embedded-1.1:1.0.0.CR7,
but earlier versions (1.8 and 1.9) can.

You can use this code example to reproduce the problem: [1]https://github.com/JianbaoTao/arquill....

If you change the wrapper to be of version 1.10, and run
```
./gradlew clean test
```
You will get something like this:
```

  • What went wrong:
    Could not resolve all dependencies for configuration ':testCompile'.
    > Could not resolve org.jboss.arquillian.container:arquillian-weld-se-embedded-1.1:1.0.0.CR7.
    Required by:
    com.tao:greeter:1.0-SNAPSHOT
    > Could not parse POM [2]http://repo1.maven.org/maven2/org/jbo...
    > Unable to resolve version for dependency 'org.jboss.weld:weld-core:jar'
    ```

However, gradle-1.8 and 1.9 do not have any problem.
----------------------------------------------------------------------------------------
[1] https://github.com/JianbaoTao/arquillian-examples/tree/master/greeter
[2] http://repo1.maven.org/maven2/org/jboss/arquillian/container/arquillian-weld-se-embedded-1.1/1.0.0.CR7/arquillian-weld-se-embedded-1.1-1.0.0.CR7.pom


Generated at Wed Jun 30 12:37:42 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.