camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: camel-example-cxf pom.xml
Date Thu, 31 Mar 2011 04:46:35 GMT
Hi,

Can you try the latest code in the camel trunk, I did some change on the 
relative path of the camel examples pom recently.
Can you verify the change with your eclipse maven plugin :)

Willem
On 3/30/11 10:18 PM, dead_devil_66 wrote:
> Hi Claus.
>
> I tried to build but, unfortunetly, i got a new error...
>
> This is how i did it:
>
> a) Through eclipse, i used the maven plugin. This is the error i got:
>
>
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project ->  [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.camel:camel-example-cxf:2.8-SNAPSHOT
> (/home/echo66/camel_workspace/camel-example-cxf/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.camel:examples:pom:2.8-SNAPSHOT and 'parent.relativePath' points
> at wrong local POM @ line 23, column 10 ->  [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>
> b) Through command prompt, in the project directory. This is the output i
> got:
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:camel-example-cxf:bundle:null
>
> Reason: Cannot find parent: org.apache.camel:examples for project:
> null:camel-example-cxf:bundle:null for project
> null:camel-example-cxf:bundle:null
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache.camel:examples for project: null:camel-example-cxf:bundle:null
> for project null:camel-example-cxf:bundle: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:57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	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.apache.camel:examples for project:
> null:camel-example-cxf:bundle:null for project
> null:camel-example-cxf:bundle: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.apache.camel:examples' not found in repository: Unable to download the
> artifact from any repository
>
>    org.apache.camel:examples:pom:2.8-SNAPSHOT
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2)
>
>   for project org.apache.camel:examples
> 	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.apache.camel:examples:pom:2.8-SNAPSHOT
>
> 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: Wed Mar 30 14:20:49 WEST 2011
> [INFO] Final Memory: 1M/30M
> [INFO]
> ------------------------------------------------------------------------
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-example-cxf-pom-xml-tp4268673p4271569.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Mime
View raw message