3 Replies Latest reply on Nov 23, 2013 6:43 PM by Tomaž Cerar

    8.0.0.Beta2-SNAPSHOT build dependencies

    gebuh Newbie

      I'm trying to build wildfly from source.  I forked and cloned it from github and after a couple of false starts (wildfly readme says mvn 3.0.4 is required, but it actually requires 3.1.0) I thought I had it.   The build is failing for:




      missing dependencies.  I went looking for them here

      It shows the latest available versions for these files to be 8.0.0.Beta1, am I missing something else?


      Thanx in advance

        • 1. Re: 8.0.0.Beta2-SNAPSHOT build dependencies
          Tomaž Cerar Master



          thank you for note on readme, i have sent PR with changed docs. We moved to 3.1 as requirement just this week.


          all 8.0.0.Beta2-SNAPSHOT are part of source, there are not part of any public repository as you build them yourself and have them available as such.


          i would assume that you tried to build just some sub module, which would require some dependency to what you have missing.

          before you do such thing, please build whole server first, this way you will have all dependencies populated in your local maven repo.


          i would recommend you to do


          mvn clean install -DskipTests -T1c

          in root directory.

          after that you should have all deps available.




          • 2. Re: 8.0.0.Beta2-SNAPSHOT build dependencies
            gebuh Newbie

            Thank you Tomaz,

            I was running from the root directory with the command:

            clean install -Drelease=true -Dmaven.test.skip=true


            When I run with

            clean install -DskipTests -T1c


            it built correctly.   After that I reran the original command and it worked.

            what does "-T1c" do?

            • 3. Re: 8.0.0.Beta2-SNAPSHOT build dependencies
              Tomaž Cerar Master



              yeah using -Dmaven.test.skip=true will make maven skip test dependencies completely not just skip running it.

              -DskipTests does build tests and test dependencies but doesn't run it. what happened to you is that later in build process some of this test deps are needed and it broke.

              so at least initially it is good to run it with -DskipTests then you can go ahead with -Dmaven.test.skip


              that magical "-T1c" just tells maven to execute in parallel, in short using 1 thread per core in your machine, making build faster.

              this works well when you are not running tests but just building distribution


              for more on that see https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3

              1 of 1 people found this helpful