You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by standior <st...@hotmail.com> on 2008/05/13 08:16:11 UTC

mvn error on tutorials 2.5. Beginner - Deploying the service assembly

I strarted the ServiceMix
cd tutorial-sa
mvn jbi:projectDeploy

then got the error:

Missing:
----------
1) org.apache.servicemix.tutorial:tutorial-file-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
-Dartifa
ctId=tutorial-file-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/fil
e

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tutorial
-Dartifact
Id=tutorial-file-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1)
org.apache.servicemix.tutorial:tutorial-sa:jbi-service-assembly:1.0-S
NAPSHOT
        2) org.apache.servicemix.tutorial:tutorial-file-su:jar:1.0-SNAPSHOT

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

for artifact:
 
org.apache.servicemix.tutorial:tutorial-sa:jbi-service-assembly:1.0-SNAPSHOT

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: 2 seconds
[INFO] Finished at: Tue May 13 13:54:42 CST 2008
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------

how to resolve that?

-- 
View this message in context: http://www.nabble.com/mvn-error-on-tutorials--2.5.-Beginner---Deploying-the-service-assembly-tp17201815p17201815.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: mvn error on tutorials 2.5. Beginner - Deploying the service assembly

Posted by Gert Vanthienen <ge...@skynet.be>.
L.S.,

It looks like th file SU isn't available in the local maven repo.  Did 
you first build the project with 'mvn install' from the project root 
directory before attempting to deploy the SA?

Gert

standior wrote:
> I strarted the ServiceMix
> cd tutorial-sa
> mvn jbi:projectDeploy
>
> then got the error:
>
> Missing:
> ----------
> 1) org.apache.servicemix.tutorial:tutorial-file-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
> -Dartifa
> ctId=tutorial-file-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/fil
> e
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>
>       mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tutorial
> -Dartifact
> Id=tutorial-file-su -Dversion=1.0-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
> -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1)
> org.apache.servicemix.tutorial:tutorial-sa:jbi-service-assembly:1.0-S
> NAPSHOT
>         2) org.apache.servicemix.tutorial:tutorial-file-su:jar:1.0-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  
> org.apache.servicemix.tutorial:tutorial-sa:jbi-service-assembly:1.0-SNAPSHOT
>
> 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: 2 seconds
> [INFO] Finished at: Tue May 13 13:54:42 CST 2008
> [INFO] Final Memory: 2M/5M
> [INFO]
> ------------------------------------------------------------------------
>
> how to resolve that?
>
>