3 Replies Latest reply on Feb 13, 2014 2:18 PM by Jens Schauder

    Arquillian poms not parsable by Gradle

    Jens Schauder Newbie

      I'm trying to get Arquillian to work in my current project. We use Gradle as the build tool.


      When adding the embedded weld container as a dependency:


        testCompile "org.jboss.arquillian.container:arquillian-weld-ee-embedded-1.1:1.0.0.CR7"


      I get the following error in my gradle build


      FAILURE: Build failed with an exception.


      * What went wrong:

      Could not resolve all dependencies for configuration ':guiTests:testCompile'.

      > Could not resolve org.jboss.arquillian.container:arquillian-weld-ee-embedded-1.1:1.0.0.CR7.

        Required by:


         > Could not parse POM http://<ourPrivateMavenMirror>/org/jboss/arquillian/container/arquillian-weld-ee-


            > Unable to resolve version for dependency 'org.jboss.weld:weld-core:jar'


      * Try:

      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.




      I did some searching and came to the conclussion that it is due to unresolved properties in the pom, e.g.



      This seems to be discouraged even by Maven and doesn't work in Gradle




      Is a workaround for this available? Or should I file a bug report?