Did you try using -U flag to force Snapshot downloads?

Best,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2011/5/26 mahmood lebbai <mahmoodlebbai@yahoo.com>
Hi,
    I had taken the latest code base of Guvnor 5.2.x , when i tried to build webapp , I'm getting following pom error.



C:\fixguv\5.2.xsource\guv\guvnor-webapp>mvn -X clean install -Dmaven.test.skip=t
rue
Apache Maven 3.0.3 (r1075438; 2011-02-28 10:31:09-0700)
Maven home: C:\software\apache-maven-3.0.3-bin\apache-maven-3.0.3
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\glassfish3\jdk\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from C:\software\apache-maven-3.0.3-bin\apache-m
aven-3.0.3\conf\settings.xml
[DEBUG] Reading user settings from C:\Documents and Settings\mlebbai\.m2\setting
s.xml
[DEBUG] Using local repository at C:\Documents and Settings\mlebbai\.m2\reposito
ry
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for C:\Doc
uments and Settings\mlebbai\.m2\repository
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountere
d while processing the POMs:
[FATAL] Non-resolvable parent POM for org.drools:guvnor:5.2.0.CR1: Failure to fi
nd org.drools:droolsjbpm-parent:pom:5.2.0.CR1 in http://repository.jboss.org/nex
us/content/groups/public/ was cached in the local repository, resolution will no
t be reattempted until the update interval of jboss-public-repository-group has
elapsed or updates are forced and 'parent.relativePath' points at wrong local PO
M @ org.drools:guvnor:5.2.0.CR1, C:\fixguv\5.2.xsource\guv\pom.xml, line 6, colu
mn 11

        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:339)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:632)
        at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven
.java:581)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:233)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
[ERROR]
[ERROR]   The project org.drools:guvnor-webapp:5.2.0.CR1 (C:\fixguv\5.2.xsource\
guv\guvnor-webapp\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.drools:guvnor:5.2.0.CR1: Failure t
o find org.drools:droolsjbpm-parent:pom:5.2.0.CR1 in http://repository.jboss.org
/nexus/content/groups/public/ was cached in the local repository, resolution wil
l not be reattempted until the update interval of jboss-public-repository-group
has elapsed or updates are forced and 'parent.relativePath' points at wrong loca
l POM @ org.drools:guvnor:5.2.0.CR1, C:\fixguv\5.2.xsource\guv\pom.xml, line 6,
column 11 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Failure to find or
g.drools:droolsjbpm-parent:pom:5.2.0.CR1 in http://repository.jboss.org/nexus/co
ntent/groups/public/ was cached in the local repository, resolution will not be
reattempted until the update interval of jboss-public-repository-group has elaps
ed or updates are forced
        at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectMod
elResolver.java:159)
        at org.apache.maven.model.building.DefaultModelBuilder.readParentExterna
lly(DefaultModelBuilder.java:819)
        at org.apache.maven.model.building.DefaultModelBuilder.readParent(Defaul
tModelBuilder.java:670)
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
lBuilder.java:308)
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
lBuilder.java:232)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:386)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:355)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:319)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:632)
        at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven
.java:581)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:233)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure t
o find org.drools:droolsjbpm-parent:pom:5.2.0.CR1 in http://repository.jboss.org
/nexus/content/groups/public/ was cached in the local repository, resolution wil
l not be reattempted until the update interval of jboss-public-repository-group
has elapsed or updates are forced
        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Def
aultArtifactResolver.java:541)
        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArti
facts(DefaultArtifactResolver.java:220)
        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArti
fact(DefaultArtifactResolver.java:197)
        at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArti
fact(DefaultRepositorySystem.java:323)
        at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectMod
elResolver.java:155)
        ... 22 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to fi
nd org.drools:droolsjbpm-parent:pom:5.2.0.CR1 in http://repository.jboss.org/nex
us/content/groups/public/ was cached in the local repository, resolution will no
t be reattempted until the update interval of jboss-public-repository-group has
elapsed or updates are forced
        at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArti
fact(DefaultUpdateCheckManager.java:190)
        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Def
aultArtifactResolver.java:430)
        ... 26 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
gException
delException
C:\fixguv\5.2.xsource\guv\guvnor-webapp>
Regards,
Mahmood

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users