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:51:31 UTC
examples/camel build failure also under binary 3.3.1 on OS X 10.6.2
I am new to SM so please bear with me.
I was trying to do the cxf-wsdl-first and posted a message right before this
one about how I'm stuck on the one, so I moved onto another one that looked
interesting and actually is one of the next examples. The camel example.
On this one I made some headway by changing the parent version in the
pom.xml to 3.3.1 from 3.3.1-SNAPSHOT, but then it still fails with this
error that I'm not sure how to deal with. I'd ideally like to not have to
pull sources down but a workaround if possible.
Here's the error I get after it build for awhile:
[INFO] [jbi:projectDeploy {execution: default-cli}]
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: Camel :: Simple SU has -1 child dependencies
[INFO] -----------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel :: SA
[INFO] task-segment: [install, jbi:projectDeploy]
[INFO]
------------------------------------------------------------------------
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.servicemix.samples:camel-simple-su:pom:3.3.1-SNAPSHOT' in
repository apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.servicemix.samples:camel-simple-su:pom:3.3.1-SNAPSHOT' in
repository servicemix.m2
(http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading:
http://repository.codehaus.org/org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.servicemix.samples:camel-simple-su:pom:3.3.1-SNAPSHOT' in
repository codehaus (http://repository.codehaus.org)
Downloading:
http://download.java.net/maven/1/org.apache.servicemix.samples/poms/camel-simple-su-3.3.1-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.servicemix.samples:camel-simple-su:pom:3.3.1-SNAPSHOT' in
repository java.net (http://download.java.net/maven/1)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.jar
[INFO] Unable to find resource
'org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT' in
repository apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.jar
[INFO] Unable to find resource
'org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT' in
repository servicemix.m2
(http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading:
http://repository.codehaus.org/org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.jar
[INFO] Unable to find resource
'org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT' in
repository codehaus (http://repository.codehaus.org)
Downloading:
http://download.java.net/maven/1/org.apache.servicemix.samples/jars/camel-simple-su-3.3.1-SNAPSHOT.jar
[INFO] Unable to find resource
'org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT' in
repository java.net (http://download.java.net/maven/1)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.servicemix.samples
-DartifactId=camel-simple-su -Dversion=3.3.1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.apache.servicemix.samples
-DartifactId=camel-simple-su -Dversion=3.3.1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.servicemix.samples:camel-sa:jbi-service-assembly:3.3.1
2) org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.servicemix.samples:camel-sa:jbi-service-assembly:3.3.1
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
central (http://repo1.maven.org/maven2),
codehaus (http://repository.codehaus.org),
java.net (http://download.java.net/maven/1),
apache.incubating
(http://people.apache.org/repo/m2-incubating-repository),
servicemix.m2 (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Tue Dec 29 16:41:41 CST 2009
[INFO] Final Memory: 54M/264M
[INFO]
------------------------------------------------------------------------
It's gotta be something I'm missing from docs online or something as I'm
assuming that the examples were tested and built fine before the release.
I've searched for this one in the forums as well as on Google, but again
haven't found anything that seems to help.
Any help would be appreciated....
--
View this message in context: http://old.nabble.com/examples-camel-build-failure-also-under-binary-3.3.1-on-OS-X-10.6.2-tp26961606p26961606.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: examples/camel build failure also under binary 3.3.1 on OS X 10.6.2
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
This error is a known issue.
We have snapshot dependency in samples for 3.3.1 code.
You can change the version from 3.3.1-SNAPSHOT to 3.3.1of pom.xml in
samples and then you should build it successfully.
We will fix it in 3.3.2 release.
Thanks
Freeman
On 2009-12-30, at 上午6:51, Sam Griffith Jr. wrote:
>
> I am new to SM so please bear with me.
>
> I was trying to do the cxf-wsdl-first and posted a message right
> before this
> one about how I'm stuck on the one, so I moved onto another one that
> looked
> interesting and actually is one of the next examples. The camel
> example.
> On this one I made some headway by changing the parent version in the
> pom.xml to 3.3.1 from 3.3.1-SNAPSHOT, but then it still fails with
> this
> error that I'm not sure how to deal with. I'd ideally like to not
> have to
> pull sources down but a workaround if possible.
>
> Here's the error I get after it build for awhile:
>
> [INFO] [jbi:projectDeploy {execution: default-cli}]
> [INFO] ------------------ Deployment Analysis --------------------
> [INFO] ServiceMix :: Samples :: Camel :: Simple SU has -1 child
> dependencies
> [INFO] -----------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ServiceMix :: Samples :: Camel :: SA
> [INFO] task-segment: [install, jbi:projectDeploy]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.samples:camel-simple-su:pom:3.3.1-SNAPSHOT' in
> repository apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo//org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.samples:camel-simple-su:pom:3.3.1-SNAPSHOT' in
> repository servicemix.m2
> (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> Downloading:
> http://repository.codehaus.org/org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.samples:camel-simple-su:pom:3.3.1-SNAPSHOT' in
> repository codehaus (http://repository.codehaus.org)
> Downloading:
> http://download.java.net/maven/1/org.apache.servicemix.samples/poms/camel-simple-su-3.3.1-SNAPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.servicemix.samples:camel-simple-su:pom:3.3.1-SNAPSHOT' in
> repository java.net (http://download.java.net/maven/1)
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT' in
> repository apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo//org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT' in
> repository servicemix.m2
> (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
> Downloading:
> http://repository.codehaus.org/org/apache/servicemix/samples/camel-simple-su/3.3.1-SNAPSHOT/camel-simple-su-3.3.1-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT' in
> repository codehaus (http://repository.codehaus.org)
> Downloading:
> http://download.java.net/maven/1/org.apache.servicemix.samples/jars/camel-simple-su-3.3.1-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT' in
> repository java.net (http://download.java.net/maven/1)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.servicemix.samples
> -DartifactId=camel-simple-su -Dversion=3.3.1-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the
> file
> there:
> mvn deploy:deploy-file -DgroupId=org.apache.servicemix.samples
> -DartifactId=camel-simple-su -Dversion=3.3.1-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.apache.servicemix.samples:camel-sa:jbi-service-assembly:3.3.1
> 2) org.apache.servicemix.samples:camel-simple-su:jar:3.3.1-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.apache.servicemix.samples:camel-sa:jbi-service-assembly:3.3.1
>
> from the specified remote repositories:
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> ),
> central (http://repo1.maven.org/maven2),
> codehaus (http://repository.codehaus.org),
> java.net (http://download.java.net/maven/1),
> apache.incubating
> (http://people.apache.org/repo/m2-incubating-repository),
> servicemix.m2 (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20 seconds
> [INFO] Finished at: Tue Dec 29 16:41:41 CST 2009
> [INFO] Final Memory: 54M/264M
> [INFO]
> ------------------------------------------------------------------------
>
>
> It's gotta be something I'm missing from docs online or something as
> I'm
> assuming that the examples were tested and built fine before the
> release.
> I've searched for this one in the forums as well as on Google, but
> again
> haven't found anything that seems to help.
>
> Any help would be appreciated....
> --
> View this message in context: http://old.nabble.com/examples-camel-build-failure-also-under-binary-3.3.1-on-OS-X-10.6.2-tp26961606p26961606.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com