Benoit,
I forgot to respond and thank you for the information. It worked
perfectly. Thanks for all the work you've done on JAMES. Mail is just
one of my development and hosting responsibilities. I get JAMES stable,
then head off for while for other things. Each time I cycle back to
refresh JAMES, I see all the updates and enhancements. I know this is
taking a lot of work on everyone's part. Just wanted you to know the
hard work is recognized and appreciated.
Now that I'm back for a while... I'll probably have a few more
questions... :-)
Thanks.
Jerry
On 9/7/2021 10:38 PM, btell...@apache.org wrote:
Hi Jerry,
Thanks for the report, we should refresh that page that looks like
mostly outdated.
The `with-assembly` profile was removed, so you do not need to pass it.
I would encourage you to also add the maven `clean` goal, just to be sure.
Also, running the test suite is quite long and requires docker to be
installed, this can be skipped with the `-DskipTests` option.
Finally `server/app` had been relocated to `server/apps/spring`.
You might also include threading options (more threads = faster): -T 3
As a reference this is the file used by the CI:
https://github.com/apache/james-project/blob/master/Jenkinsfile
The command I perfornnaly use is: mvn clean install -DskipTests
-Dmaven.javadoc.skip=true -T 3
Regards,
Benoit
On 08/09/2021 10:31, Jerry Malcolm wrote:
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*
*
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org