Did you check out from subversion with a tag?

I just checked out trunk and ran "mvn clean install -DskipTests=true" without any issues from within the trunk folder?

2010/10/2 Aman <boy18nj@gmail.com>

When I tried to run mvn install, it gave me following error-

 

[INFO] Scanning for projects...

Downloading: http://repo1.maven.org/maven2/org/drools/drools/5.1.1/drools-5.1.1.pom

[INFO] Unable to find resource 'org.drools:drools:pom:5.1.1' in repository central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------

[ERROR] FATAL ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Error building POM (may not be this project's POM).

 

 

Project ID: null:drools-examples:pom:null

 

Reason: Cannot find parent: org.drools:drools for project: null:drools-examples:pom:null for project null:drools-examples:pom:null

 

 

[INFO] ------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.drools:drools for project: null:drools-examples:pom:null for project null:drools-examples:pom:null

                at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)

                at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

                at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

                at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

                at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.drools:drools for project: null:drools-examples:pom:null for project null:drools-examples:pom:null

                at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)

                at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)

                at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)

                at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)

                at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)

                at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)

                at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)

                ... 12 more

Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.drools:drools' not found in repository: Unable to download the artifact from any repository

 

  org.drools:drools:pom:5.1.1

 

from the specified remote repositories:

  central (http://repo1.maven.org/maven2)

 

 for project org.drools:drools

                at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)

                at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)

                ... 18 more

Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

 

  org.drools:drools:pom:5.1.1

 

from the specified remote repositories:

  central (http://repo1.maven.org/maven2)

 

 

                at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)

                at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)

                at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)

                ... 19 more

Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

                at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)

                at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)

                ... 21 more

[INFO] ------------------------------------------------------------------------

[INFO] Total time: < 1 second

[INFO] Finished at: Sat Oct 02 16:37:04 EDT 2010

[INFO] Final Memory: 1M/4M

[INFO] ------------------------------------------------------------------------


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