Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Maxim Solodovnik
Hello Hemant, I'm using Eclipse for coding only (debugging, code completion etc.) Full/partial builds are only being done by command line Maven on Ubuntu This is why I wonder why tests can fail in command line ... On Tue, Mar 14, 2017 at 11:13 AM, Coscend@OM wrote: > Hello Maxim, > > > > “Not

RE: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Coscend@OM
Hello Maxim, “Not sure why tests are failing for you (works OK both locally and on build server)” Here is a vector to identify the cause and save your time for new code development. This is a conjecture: You are probably compiling and building from the nightly build in your full-f

RE: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Coscend@OM
Hello Dan, Hope I understood your question correctly. Your installation file is: /openmeetings-server/target/apache-openmeetings-3.2.X.tar Copy this file to your installation directory. Unarchive: tar apache-openmeetings-3.2.X.tar See Alvaro’s tutorials (https://cwiki.apache.org/conf

RE: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Coscend@OM
Hello Dan, Hope I understood your question correctly. Your installation file is: /openmeetings-server/target/apache-openmeetings-3.2.X.tar Copy this file to your installation directory. Unarchive: tar apache-openmeetings-3.2.X.tar See Alvaro’s tutorials (https://cwiki.apache.org/conf

Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Maxim Solodovnik
Hello Daniel, You can get nightly build (both binary and source) from our build server: https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.2.x/ Not sure why tests are failing for you (works OK both locally and on build server) After successful build you can get artifacts fro

Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Daniel Baker
Yes its builds now. The question I have now is how do I use the results to replace my existing OM install ? I have these results from the build : # ls CHANGELOG NOTICE openmeetings-db openmeetings-install openmeetings-server openmeetings-util openmeetings-webservice

RE: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Coscend@OM
Hello Dan, For nightly build, you might want to add the following to your maven install command. This builds all modules without running tests. -P allModules -DskipTests=true You might want to avoid a similar command -Dmaven.test.skip=true, which will skip test compilation, thereby givi

Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Daniel Baker
I also get an error when building 3.2.1 Tests run: 54, Failures: 0, Errors: 4, Skipped: 0 [INFO] [INFO] Reactor Summary: [INFO] [INFO] Openmeetings ... SUCCESS [01:03 min] [INFO] Open

Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Daniel Baker
After trying to build I get an error. Maybe this is because it is the nightly build? What I would really like is branch 3.2.2 as that fixes 2 issues am I am most concerned about. How can I build 3.2.2 ? Thanks, Dan Results : Tests in error: TestUserContact>AbstractWicketTester.set

Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Daniel Baker
There's another step . You have to cd into /trunk. Get the source: svn checkout https://svn.apache.org/repos/asf/openmeetings/application/trunk/ * * *Change into correct directory :** * *cd /trunk* * * Run the command: mvn clean install -P allModules http://openmeetings.apache.org/Buil

Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Maxim Solodovnik
Just have tested Everything works as expected Profile definitely exists: https://github.com/apache/openmeetings/blob/trunk/pom.xml#L62 On Mon, Mar 13, 2017 at 4:00 PM, Daniel Baker wrote: > The nightly build. So far i've issued two commands : > > > Get the source: > > svn checkout > https://svn.a

Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Daniel Baker
The nightly build. So far i've issued two commands : Get the source: svn checkout https://svn.apache.org/repos/asf/openmeetings/application/trunk/ Run the command: mvn clean install -P allModules On 03/13/2017 03:30 PM, Maxim Solodovnik wrote: What branch are you building? On Mon, Mar 13,

Re: Apache Maven build failure when issuing mvn clean install -P allModules

2017-03-13 Thread Maxim Solodovnik
What branch are you building? On Mon, Mar 13, 2017 at 1:55 PM, Daniel Baker wrote: > Hi, > > Following your tutorial here > http://openmeetings.apache.org/BuildInstructions.html > > > apache-maven-3.3.9 # mvn clean install -P allModules > > > I get this error : > > > [INFO] Scanning for projects.