steveb
(x1000)
June 7, 2013, 9:27am
1
Hi,
i’m using gradle 1.6 with a depchain dependency like
testCompile(“org.jboss.arquillian.extension:arquillian-drone-webdriver-depchain:1.2.0.Alpha2”)
In eclipse it seems to generate the correct classpath with all deps in this chain, but gradle also adds the depchain pom itself, so I get a build path problem like this:
Archive for required library:
‘D:/.gradle/caches/artifacts-24/filestore/org.jboss.arquillian.extension/arquillian-drone-webdriver-depchain/1.2.0.Alpha2/pom/89132e674e3696c742a837900af8dab0e0aab66f/arquillian-drone-webdriver-depchain-1.2.0.Alpha2.pom’
in project ‘projectname’ cannot be read or is not a valid ZIP file.
Anyone got a fix/workaround for this ?
Thanks
Gradle doesn’t support BOMs. You’ll have to list the dependencies in the build script.
steveb
(x1000)
June 10, 2013, 7:53am
3
Looking at dependencies.txt it resolves the depchain as it should and cmd line builds are fine. Do I have to manually list the deps in order to get eclipse working ?
|
\--- org.jboss.arquillian.graphene:graphene-webdriver:2.0.0.Alpha4
|
+--- org.jboss.arquillian.graphene:graphene-webdriver-impl:2.0.0.Alpha4
|
|
+--- org.jboss.arquillian.graphene:graphene-webdriver-spi:2.0.0.Alpha4
|
|
|
+--- org.jboss.arquillian.core:arquillian-core-spi:1.0.3.Final (*)
|
|
|
\--- org.jboss.arquillian.test:arquillian-test-spi:1.0.3.Final (*)
|
|
+--- org.jboss.arquillian.extension:arquillian-drone-configuration:1.2.0.Alpha2 (*)
|
|
+--- org.jboss.arquillian.core:arquillian-core-spi:1.0.3.Final (*)
|
|
+--- org.jboss.arquillian.test:arquillian-test-spi:1.0.3.Final (*)
|
|
\--- org.jboss.arquillian.config:arquillian-config-api:1.0.3.Final (*)
|
+--- org.jboss.arquillian.extension:arquillian-drone-webdriver-depchain:1.2.0.Alpha2
|
|
+--- org.jboss.arquillian.extension:arquillian-drone-api:1.2.0.Alpha2
|
|
+--- org.seleniumhq.selenium:selenium-api:2.31.0 (*)