Hello,

First of all congratulations for being graduated as a top level proyecto at
the ASF. It's was about time considering all the efforts the whole group has
done for this piece of fine work.

I dont know if I should post a jira about this issue I found following the
Apache Servicemix Tutorial. I have a problem with the maven dependencies
that belong to the tutorial application. I dont know if this is due to a
Maven bug or a problem with the pom files.

The error I am getting when I try to build the service assembly is:

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Tutorial
[INFO]   Tutorial :: File SU
[INFO]   Tutorial :: SA
[INFO]
----------------------------------------------------------------------------
[INFO] Building Tutorial
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing
/Users/edevera/Documents/desarrollo/servicemix-tutorial-1/parent/pom.xml to
/Users/edevera/.m2/repository/org/apache/servicemix/tutorial/parent/1.0-SNAPSHOT/parent-
1.0-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building Tutorial :: File SU
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
Downloading:
http://repository.jboss.com/maven2//wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
Downloading: http://repo1.maven.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/opensaml/opensaml/1.1/opensaml-1.1.pom
Downloading:
http://repository.jboss.com/maven2//org/opensaml/opensaml/1.1/opensaml-1.1.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/opensaml/opensaml/1.1/opensaml-1.1.pom
Downloading:
http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1/opensaml-1.1.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repository.jboss.com/maven2//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-common/3.1.2/servicemix-common-3.1.2.jar
Downloading:
http://repository.jboss.com/maven2//org/apache/servicemix/servicemix-common/3.1.2/servicemix-common-3.1.2.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-common/3.1.2/servicemix-common-3.1.2.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/servicemix/servicemix-common/3.1.2/servicemix-common-3.1.2.jar
Downloading:
http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo/org/apache/servicemix/servicemix-common/3.1.2/servicemix-common-3.1.2.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-shared/3.1.2/servicemix-shared-3.1.2.jar
Downloading:
http://repository.jboss.com/maven2//org/apache/servicemix/servicemix-shared/3.1.2/servicemix-shared-3.1.2.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-shared/3.1.2/servicemix-shared-3.1.2.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/servicemix/servicemix-shared/3.1.2/servicemix-shared-3.1.2.jar
Downloading:
http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo/org/apache/servicemix/servicemix-shared/3.1.2/servicemix-shared-3.1.2.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-soap/3.1.2/servicemix-soap-3.1.2.jar
Downloading:
http://repository.jboss.com/maven2//org/apache/servicemix/servicemix-soap/3.1.2/servicemix-soap-3.1.2.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-soap/3.1.2/servicemix-soap-3.1.2.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/servicemix/servicemix-soap/3.1.2/servicemix-soap-3.1.2.jar
Downloading:
http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo/org/apache/servicemix/servicemix-soap/3.1.2/servicemix-soap-3.1.2.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.servicemix:servicemix-common:jar:3.1.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.servicemix-DartifactId=servicemix-common \
          -Dversion=3.1.2 -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-DartifactId=servicemix-common \
          -Dversion=3.1.2 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1)
org.apache.servicemix.tutorial:tutorial-file-su:jbi-service-unit:1.0-SNAPSHOT
        2) org.apache.servicemix:servicemix-file:jar:3.1.2
        3) org.apache.servicemix:servicemix-shared:jar:3.1.2
        4) org.apache.servicemix:servicemix-common:jar:3.1.2

2) org.apache.servicemix:servicemix-shared:jar:3.1.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.servicemix-DartifactId=servicemix-shared \
          -Dversion=3.1.2 -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-DartifactId=servicemix-shared \
          -Dversion=3.1.2 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1)
org.apache.servicemix.tutorial:tutorial-file-su:jbi-service-unit:1.0-SNAPSHOT
        2) org.apache.servicemix:servicemix-file:jar:3.1.2
        3) org.apache.servicemix:servicemix-shared:jar:3.1.2

3) org.apache.servicemix:servicemix-soap:jar:3.1.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.servicemix-DartifactId=servicemix-soap \
          -Dversion=3.1.2 -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-DartifactId=servicemix-soap \
          -Dversion=3.1.2 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1)
org.apache.servicemix.tutorial:tutorial-file-su:jbi-service-unit:1.0-SNAPSHOT
        2) org.apache.servicemix:servicemix-file:jar:3.1.2
        3) org.apache.servicemix:servicemix-shared:jar:3.1.2
        4) org.apache.servicemix:servicemix-soap:jar:3.1.2

----------
3 required artifacts are missing.

for artifact:

org.apache.servicemix.tutorial:tutorial-file-su:jbi-service-unit: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-incubating (http://people.apache.org/repo/m2-incubating-repository
),
  apache.incubating (http://people.apache.org/repo/m2-incubating-repository
),
  jboss-http-repository (http://repository.jboss.com/maven2/)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 40 seconds
[INFO] Finished at: Tue Sep 25 12:57:56 CEST 2007
[INFO] Final Memory: 8M/254M
[INFO]
------------------------------------------------------------------------

-- 
Eduardo de Vera

Reply via email to