2 Replies Latest reply on Apr 24, 2009 1:48 AM by igorkl

    unable to build apache-servicemix-

    igorkl Newbie


      I am building apache-servicemix- from source and there is a missing jar I can't find anywhere:




      The full error message is:


      1) org.hamcrest:hamcrest-all:jar:1.2-dev1


        Try downloading the file manually from the project website.


        Then, install it using the command:

            mvn install:install-file -DgroupId=org.hamcrest -DartifactId=hamcrest-all -Dversion=1.2-dev1 -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.hamcrest -DartifactId=hamcrest-all -Dversion=1.2-dev1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


        Path to dependency:

             1) org.apache.servicemix.camel:org.apache.servicemix.camel.features:pom:

             2) org.apache.camel:camel-hamcrest:jar:

             3) org.hamcrest:hamcrest-all:jar:1.2-dev1



      1 required artifact is missing.


      for artifact:




      On the wiki I have seen that this jar is for testing, only.

      I tried to skip the test units compilation via mvn install -Dmaven.test.skip=true or mvn ?Pfastinstall but without success.


      Please, where to get this jar, or is there a workaround?


      Thank you in advance,