Red Hat Bugzilla – Bug 1256388
Could not resolve jbossxacml dependency when building project using maven repo
Last modified: 2018-02-06 14:17:25 EST
Description of problem:
This issue is related to BZ 1252830. There is an error when building test project with patched maven repo:
[ERROR] Failed to execute goal on project gatein.test: Could not resolve dependencies for project com.redhat.gss:gatein.test:jar:0.0.1-SNAPSHOT: Failure to find org.jboss.security:jbossxacml:jar:2.0.8.Final in file:///path/to/the/jpp-maven-repository was cached in the local repository, resolution will not be reattempted until the update interval of jpp has elapsed or updates are forced -> [Help 1]
Adding following lines specifying dependency version into test project pom.xml resolved this issue and project was built successfully:
This workaround should be added into documentation or readme files.