Hi,
If I add the following dependency to my build.gradle file:
testCompile "org.jboss.test:jboss-test:1.1.3.GA"
I get this error when doing "gradle eclipse":
:eclipseCp
:: problems summary ::
:::: WARNINGS
[NOT FOUND ]
org.jboss.jbossas#jboss-as-j2se;5.0.0.CR2!jboss-as-j2se.test-jar (463ms)
==== jboss: tried
http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar
My .gradle/cache/org.jboss.jbossas/jboss-as-jmx/ivy-5.0.0.CR2.xml shows
the following:
<dependency org="org.jboss.jbossas" name="jboss-as-j2se" rev="5.0.0.CR2"
force="true" conf="compile->compile(*),master(*);runtime->runtime(*)">
<artifact name="jboss-as-j2se" type="test-jar" ext="test-jar" conf=""/>
</dependency>
This should instead look like this instead:
<dependency org="org.jboss.jbossas" name="jboss-as-j2se" rev="5.0.0.CR2"
force="true" conf="compile->compile(*),master(*);runtime->runtime(*)">
<artifact name="jboss-as-j2se" type="test-jar" ext="jar" conf="tests"
m:classifier="tests"/>
</dependency>
So that it downloads:
http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2-tests.jar
Instead of trying to download:
http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-j2se/5.0.0.CR2/jboss-as-j2se-5.0.0.CR2.test-jar
This looks to be a bug of some sort but not sure. Can you confirm? Is it
Gradle bug or Ivy one?
Regards,
--
Galder ZamarreƱo
http://galder.zamarreno.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email