Bug 1256388 - Could not resolve jbossxacml dependency when building project using maven repo
Summary: Could not resolve jbossxacml dependency when building project using maven repo
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal Packaging
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jean-frederic Clere
QA Contact: Tomas Kyjovsky
URL:
Whiteboard:
Depends On:
Blocks: 1252830
TreeView+ depends on / blocked
 
Reported: 2015-08-24 13:01 UTC by Filip Kiss
Modified: 2018-02-06 19:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Filip Kiss 2015-08-24 13:01:52 UTC
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:

 <dependencyManagement>
     <dependencies>
         <dependency>
             <groupId>org.jboss.security</groupId>
             <artifactId>jbossxacml</artifactId>
             <version>2.0.8.Final-redhat-1</version>
         </dependency>
     </dependencies>
 </dependencyManagement>

This workaround should be added into documentation or readme files.


Note You need to log in before you can comment on or make changes to this bug.