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

    unable to build apache-servicemix-4.0.0.4-fuse

    igorkl

      Hi,

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

       

      hamcrest-all-1.2-dev1.jar

       

      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:4.0.0.4-fuse

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

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

       

      -


      1 required artifact is missing.

       

      for artifact:

        org.apache.servicemix.camel:org.apache.servicemix.camel.features:pom:4.0.0.4-fuse

      ---

       

      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,

       

      Igor