I'm attempting to build the latest 3.x source code using the command line instructions in the dev-build page.  The compile option ran clean. But I'm having a bit of trouble understanding the 'package' command.

"package - generates all the James distributions, packed. From the root directory, cd to 'server/container/spring/target' to have the build distribution. Notice, for the latest trunk(revision 1430655+), a specific profile argument need to be set: '-Pwith-assembly'. The location of final distributions is also changed to 'JAMES_SRC_HOME/server/app/target'."

The instructions appear to say the output builds are in 'server/container/spring/target'  but then it says the output builds are in 'JAMES_SRC_HOME/server/app/target' or does that mean that I need to run the mvn package from the server/container... folder?

I ran the command "mvn package -Pwith-assembly"** It failed with: *
*

[WARNING] The requested profile "with-assembly" could not be activated because it does not exist. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project james-server-task-memory: There are test failures.*
*

Is there some dependency I need to additionally download?  Or do I have the syntax or folder or something incorrect to run the mvn package command?

Thx

Jerry*
*

Reply via email to