3 Replies Latest reply on Jul 21, 2010 10:38 AM by pmuir

    Howto build weld trunk?

    heikobraun
      I am trying to build weld, but it constantly fails due to missing maven deps. I.e. when building 'core/trunk':


      Missing:
      ----------
      1) org.jboss.test-harness:jboss-test-harness:jar:1.1.0-CR5

        Try downloading the file manually from the project website.

        Then, install it using the command:
            mvn install:install-file -DgroupId=org.jboss.test-harness -DartifactId=jboss-test-harness -Dversion=1.1.0-CR5 -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.jboss.test-harness -DartifactId=jboss-test-harness -Dversion=1.1.0-CR5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

        Path to dependency:
              1) org.jboss.weld:weld-core-test:jar:1.0.2-SNAPSHOT
              2) org.jboss.test-harness:jboss-test-harness:jar:1.1.0-CR5

      2) org.glassfish.web:el-impl:jar:2.1.2-b04

        Try downloading the file manually from the project website.

        Then, install it using the command:
            mvn install:install-file -DgroupId=org.glassfish.web -DartifactId=el-impl -Dversion=2.1.2-b04 -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.glassfish.web -DartifactId=el-impl -Dversion=2.1.2-b04 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

        Path to dependency:
              1) org.jboss.weld:weld-core-test:jar:1.0.2-SNAPSHOT
              2) org.glassfish.web:el-impl:jar:2.1.2-b04

      3) org.jboss.test-harness:jboss-test-harness-jboss-as-60:jar:1.1.0-CR5

        Try downloading the file manually from the project website.

        Then, install it using the command:
            mvn install:install-file -DgroupId=org.jboss.test-harness -DartifactId=jboss-test-harness-jboss-as-60 -Dversion=1.1.0-CR5 -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.jboss.test-harness -DartifactId=jboss-test-harness-jboss-as-60 -Dversion=1.1.0-CR5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

        Path to dependency:
              1) org.jboss.weld:weld-core-test:jar:1.0.2-SNAPSHOT
              2) org.jboss.test-harness:jboss-test-harness-jboss-as-60:jar:1.1.0-CR5

      4) javax.faces:jsf-api:jar:2.0.2-FCS

        Try downloading the file manually from the project website.

        Then, install it using the command:
            mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-api -Dversion=2.0.2-FCS -Dpackaging=jar -Dfile=/path/to/file

        Alternatively, if you host your own repository you can deploy the file there:
            mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-api -Dversion=2.0.2-FCS -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

        Path to dependency:
              1) org.jboss.weld:weld-core-test:jar:1.0.2-SNAPSHOT
              2) javax.faces:jsf-api:jar:2.0.2-FCS

      ----------
      4 required artifacts are missing.
        • 1. Re: Howto build weld trunk?
          fabriciolemos

          I had the same problem with javax.faces:jsf-api:jar:2.0.2-FCS while building (mvn compile) jsf-numberguess. I had to add



                    <repository>
                         <id>repository.jboss.org</id>
                         <name>JBoss Repository</name>
                         <url>http://repository.jboss.org/maven2</url>
                    </repository>



          to pom.xml to make it work.


          Fabricio Lemos


          • 2. Re: Howto build weld trunk?
            andygibson.contact.andygibson.net

            I had the same problem and tried Fabricio's solution which didn't work for some reason (it could just have been the state of the build at the time).


            I had to create a new maven project, add this repository and for each missing dependency, add it to my mini-maven project and build it so it would download to my local repository where the weld trunk build would pick it up, and repeat for each missing dependency.


            Cumbersome, but it works.


            Cheers,


            Andy Gibson

            • 3. Re: Howto build weld trunk?
              pmuir

              Apologies for the broken build stuff right now, we are working on getting it back to being a bit more stable...