[GRADLE-2796] Gradle does not include transitive required compile dependency Created: 20/Jun/13 Updated: 10/Feb/17 Resolved: 10/Feb/17 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | ||
Reporter: | Gradle Forums | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 1 |
Description |
I'm using Gradle 1.6. Here is the project that I have: apply plugin: 'groovy' dependencies { compile 'org.apache.activemq:activemq-core:5.4.0' }org.apache.activemq:activemq-core:5.4.0 has a compile dependency on activeio-core ([1]http://search.maven.org/remotecontent...): <dependency> The dependency is actually defined in here: [2]http://search.maven.org/remotecontent.... Gradle doesn't resolve the dependency: $ ./gradlew dependencyInsight --dependency activeio-core $ ./gradlew dependencies --configuration compile
$ ./gradlew dependencies | grep -i activeio-core (The last two lines just show that grepping all dependencies for activeio-core finds nothing.) Can it be that Gradle gets confused with the second dependency: <dependency> Analogous maven project: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" produces this: $ mvn dependency:tree -Dverbose As you can see, the org.apache.activemq:activeio-core:jar:3.1.2:compile dependency is there. wujek |
Comments |
Comment by Gradle Forums [ 20/Jun/13 ] | |
A very similar problem occurs with the following: apply plugin: 'groovy' dependencies { compile 'org.apache.myfaces.core:myfaces-impl:2.1.9' }org.apache.myfaces:myfaces-impl:2.1.9 has a compile dependency on myfaces-api ([1]http://search.maven.org/remotecontent...): <dependency> The dependency is actually defined in here: [2]http://search.maven.org/remotecontent.... Gradle doesn't resolve the dependency: $ ./gradlew dependencyInsight --dependency myfaces-api $ ./gradlew dependencies --configuration compile
$ ./gradlew dependencies | grep -i myfaces-api (The last two lines just show that grepping all dependencies for activeio-core finds nothing.) An similar situation as before, there is another dependency (also in the parent): <dependency> Analogous maven project: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" produces this: $ mvn dependency:tree -Dverbose As you can see, the myfaces-api dependency is in the list. wujek | |
Comment by Benjamin Muschko [ 15/Nov/16 ] | |
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub. We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to. Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle! | |
Comment by Benjamin Muschko [ 10/Feb/17 ] | |
Thanks again for reporting this issue. We haven't heard back from you after our inquiry from November 15th. We are closing this issue now. Please create an issue on GitHub if you still feel passionate about getting it resolved. |