Thanks for help!
 The complete build failure message:

D:\project>mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   SMX-Camel :: Tutorial
[INFO]   Tutorial :: Camel
[INFO]   A Camel based JBI Service Unit
[INFO]
------------------------------------------------------------------------
[INFO] Building SMX-Camel :: Tutorial
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\project\pom.xml to C:\Documents and
Settings\tiger\.m2\repo
sitory\org\apache\servicemix\tutorial\parent\1.0-SNAPSHOT\parent-1.0-SNAPSHOT.po
m
[INFO]
------------------------------------------------------------------------
[INFO] Building Tutorial :: Camel
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] snapshot
org.apache.servicemix.tutorial.camel:tutorial-camel-su:1.0-SNAPS
HOT: checking for updates from apache.snapshots
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/ser
vicemix/tutorial/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAP
SHOT.pom
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/ser
vicemix/tutorial/camel/tutorial-camel-su/1.0-SNAPSHOT/tutorial-camel-su-1.0-SNAP
SHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.servicemix.tutorial.camel:tutorial-camel-su:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.servicemix.tutorial.camel -D
artifactId=tutorial-camel-su -Dversion=1.0-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.tutorial.camel
-Dar
tifactId=tutorial-camel-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/t
o/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1)
org.apache.servicemix.tutorial:tutorial-camel-sa:jbi-service-assembly
:1.0-SNAPSHOT
        2)
org.apache.servicemix.tutorial.camel:tutorial-camel-su:jar:1.0-SNAPSH
OT

----------
1 required artifact is missing.

for artifact:
 
org.apache.servicemix.tutorial:tutorial-camel-sa:jbi-service-assembly:1.0-SNAP
SHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Thu Oct 09 14:30:08 CST 2008
[INFO] Final Memory: 9M/17M
[INFO]
------------------------------------------------------------------------


Gert Vanthienen wrote:
> 
> L.S.,
> 
> If you follow the tutorials step-by-step, these artifacts are gradually 
> being created throughout the tutorial.  They are not available from any 
> internet repository, they are all being created while you take the 
> tutorial.  Could you try checking every step of the tutorial quickly and 
> otherwise post the complete build failure message so we can point you in 
> the right direction.
> 
> Regards,
> 
> Gert
> 
> duotiger wrote:
>> I've followed the Tutorial "
>> http://servicemix.apache.org/25-beginner-deploying-the-service-assembly.html
>> 25-beginner-deploying-the-service-assembly " and "
>> http://servicemix.apache.org/26-beginner-exercise.html
>> 26-beginner-exercise
>> ",and this kind of error occured.
>>
>> But the "
>> http://servicemix.apache.org/23-beginner-configuring-the-servicemix-file-su.html
>> tutorial-file-su "  could been downloaded correctly.
>> I've searched some answers,but not exactly the same as mine.
>> And I didn't find any "tutorial" files from the specified remote
>> repositories. Then which configuration file determines the path for
>> downloading specified pom from repositories?
>>
>> I'm new to Maven.Thanks a lot!
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: 
http://www.nabble.com/Missing-org.apache.servicemix.tutorial.camel%3Atutorial-camel-su%3Ajar%3A1.0-SNAPSHOT-tp19832879p19893401.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to