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/BuildInstructions.html


Thanks,


Dan



On 03/13/2017 07:56 PM, Maxim Solodovnik wrote:
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
<[email protected]> wrote:
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, 2017 at 1:55 PM, Daniel Baker
<[email protected]> 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...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.260 s
[INFO] Finished at: 2017-03-13T13:29:00+07:00
[INFO] Final Memory: 5M/106M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "allModules" could not be activated because
it does not exist.
[ERROR] The goal you specified requires a project to execute but there is no
POM in this directory (/opt/apache-maven-3.3.9). Please verify you invoked
Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException



I  have also tried  the command  in the parent directory
/opt/apache-maven-3.3.9



I followed  the link
http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
from the error message  and it says this usually occurs because  the command
is issued from the wrong directory.


Anybody else experienced this and how can I resolve this problem ?


Thanks,

Dan






Reply via email to