On 13/05/13 15:05, Gert Vanthienen wrote: > Daniel, > > > The tarball you downloaded will contain a src/ folder with a copy of > the tagged sources for > http://servicemix.apache.org/developers/source/smx4-features-source.html > > If you run a mvn clean install in that src/ folder, you will end up > with the different types of assemblies in the > assemblies/apache-servicemix-* folder (e.g. > assemblies/apache-servicemix-full/target will contain the ZIP and > tarball for the full assembly). >
Thanks for this feedback, I had managed to identify the same mvn arguments in the Jenkins log I also observed the same build issues mentioned in the BUILDING file, specifically, some dependencies failed to download on the first run, but it concluded successfully on a second run. I attach a patch for fixing the BUILDING file
--- BUILDING.orig 2013-05-14 10:02:45.778287226 +0200 +++ BUILDING 2013-05-14 10:06:01.926278969 +0200 @@ -21,14 +21,15 @@ Initial Setup ------------- -1) Install J2SE 5.0 SDK, which can be downloaded from - http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK. +1) Install J2SE 6.0 SDK, which can be downloaded from + http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html + Use the latest 1.6 update. 2) Make sure that your JAVA_HOME environment variable is set to the newly installed JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or $JAVA_HOME$/bin (unix). -3) Install Maven 2.2.1, which can be downloaded from +3) Install Maven 3.0.3 or later, which can be downloaded from http://maven.apache.org/download.html. Make sure that your PATH includes the MVN_HOME/bin directory. @@ -38,15 +39,17 @@ 1) Change to the top level directory of Apache ServiceMix 4 source distribution. 2) Run - $> mvn + $> mvn clean install This will compile Apache ServiceMix 4 and run all of the tests in the Apache ServiceMix Kernel source distribution. Alternatively, you can run - $> mvn -Pfastinstall + $> mvn -Pfastinstall clean install This will compile Apache ServiceMix 4 without running the tests and takes less time to build. Depending on the load of remote Maven 2.0 repositories, you may have to run "mvn" several times until the required dependencies are all located in your local maven repository. It usually takes some time for maven to download required dependencies in the first build. + A typical symptom of this problem is that the mvn build fails with + a series of ERROR messages warning about missing dependencies. 3) The distributions will be available under "assembly/target" directory.
