Hi all,

I have a simple project which only contains a jms-consumer SU. When I try to
install the corresponding SA, I get the folloeing error:

C:\Servicemix\Test\keh>mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Incremental_Project
[INFO]   Incremental_Project_jms-consumer
[INFO]   A custom project
[WARNING] POM for 'commons-pool:commons-pool:pom:1.2:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.springframework:spring-dao:pom:2.0.6:runtime' is
invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO]
------------------------------------------------------------------------
[INFO] Building Incremental_Project
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\Servicemix\Test\keh\pom.xml to C:\Users\Kenneth
Henriksen\.m2\repository\keh\round1\parent\1\parent-1.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building Incremental_Project_jms-consumer
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 20 resources
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/keh/round1/servicemix-jms/3.2.3/servicemix-jms-3.2.3.pom
[INFO] Unable to find resource 'keh.round1:servicemix-jms:pom:3.2.3' in
repository apache
(http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading:
http://repo1.maven.org/maven2/keh/round1/servicemix-jms/3.2.3/servicemix-jms-3.2.3.pom
[INFO] Unable to find resource 'keh.round1:servicemix-jms:pom:3.2.3' in
repository central (http://repo1.maven.org/maven2)
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/keh/round1/servicemix-jms/3.2.3/servicemix-jms-3.2.3.jar
[INFO] Unable to find resource 'keh.round1:servicemix-jms:jar:3.2.3' in
repository apache
(http://people.apache.org/repo/m2-ibiblio-rsync-repository)
Downloading:
http://repo1.maven.org/maven2/keh/round1/servicemix-jms/3.2.3/servicemix-jms-3.2.3.jar
[INFO] Unable to find resource 'keh.round1:servicemix-jms:jar:3.2.3' in
repository central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) keh.round1:servicemix-jms:jar:3.2.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=keh.round1
-DartifactId=servicemix-jms -Dversion=3.2.3 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=keh.round1
-DartifactId=servicemix-jms -Dversion=3.2.3 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) keh.round1:my-jms-consumer-su:jbi-service-unit:1
        2) keh.round1:servicemix-jms:jar:3.2.3

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

for artifact:
  keh.round1:my-jms-consumer-su:jbi-service-unit:1

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2),
  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: 8 seconds
[INFO] Finished at: Thu Dec 10 13:22:15 CET 2009
[INFO] Final Memory: 18M/32M
[INFO]
------------------------------------------------------------------------


Does anybody know why it can't find servicemix-jms-3.2.3.jar?

Thanks.

Kenneth H.  
-- 
View this message in context: 
http://old.nabble.com/Maven-error-on-locating-servicemix-jms-3.2.3.jar-in-a-simple-project-tp26726435p26726435.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to