You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Sam Griffith Jr." <st...@mac.com> on 2009/12/29 23:00:22 UTC
SM 3.3.1 binary OS X 10.6.2 build/deploy of cxf-wsdl-first example
Hello,
I'm new to SM, so please bare with me on this.
I have done the example wsdl-first and am now trying to do the
cxf-wsdl-first example. I've undeployed the wsdl-first SA so it's not in
conflict with the cxf-wsdl-first example.
Anyway, now to my problem. I downloaded the latest 3.3.1 binary and
installed it on my OS X 10.6.2 machine. I didn't have problems doing the
first wsdl-first example but now I'm having a failure immediately on the
cxf-wsdl-first example. I want to use this because form what I read and
understand, the wsdl-first example uses XFire which is no longer supported.
Anyway, here is the build/deploy failure I get upon trying to do the deploy
specified in the README.txt.
apache-servicemix-3.3.1/examples/cxf-wsdl-first ]$ mvn install
jbi:projectDeploy
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.servicemix.samples:cxf-wsdl-first:pom:null
Reason: Cannot find parent: org.apache.servicemix:samples for project:
org.apache.servicemix.samples:cxf-wsdl-first:pom:null for project
org.apache.servicemix.samples:cxf-wsdl-first:pom:null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache.servicemix:samples for project:
org.apache.servicemix.samples:cxf-wsdl-first:pom:null for project
org.apache.servicemix.samples:cxf-wsdl-first: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.apache.servicemix:samples for project:
org.apache.servicemix.samples:cxf-wsdl-first:pom:null for project
org.apache.servicemix.samples:cxf-wsdl-first: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.apache.servicemix:samples' not found in repository: Unable to download
the artifact from any repository
org.apache.servicemix:samples:pom:3.3.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project org.apache.servicemix:samples
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.servicemix:samples:pom:3.3.1-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: Tue Dec 29 15:55:33 CST 2009
[INFO] Final Memory: 3M/264M
[INFO]
------------------------------------------------------------------------
Additionally, I have had worked around a build problem in the 'basic'
example (the only other one I tried to build) by changing the version tag in
the parent tag in the main pom.xml from 3.3.1-SNAPSHOT to just 3.3.1. I
tried this on this example as well, but that failed to do anything different
so I just put it back the way it was.
Thanks for any help you can provide.
Sam
--
View this message in context: http://old.nabble.com/SM-3.3.1-binary-OS-X-10.6.2-build-deploy-of-cxf-wsdl-first-example-tp26961092p26961092.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.