-
1. Re: 8.0.0.Beta2-SNAPSHOT build dependencies
ctomc Nov 22, 2013 7:51 AM (in response to gebuh)Hi,
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.
--
tomaz
-
2. Re: 8.0.0.Beta2-SNAPSHOT build dependencies
gebuh Nov 23, 2013 6:10 PM (in response to ctomc)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
ctomc Nov 23, 2013 6:43 PM (in response to gebuh)1 of 1 people found this helpfulHey,
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