Hello, It's been a while since I wrote on this list. I just tried to build James locally and failed.
I `git clone`d master and `mvn clean package` using adoptopenjdk 11 . The compilation fails on my machine (Debian Buster+Testing). That is however besides the point. I noticed the integration tests are ran as part of the normal build. Especially Casandra, ActiveMQ and DB integration tests. These have a habbit of taking a lot of time and personally I believe they should be OPT-IN. I don't use Casandra and ActiveMQ and I don't test on them. It's fine that we have integration tests but they should be activated on CI or locally for interested parties. I believe we need to improve the developer experience a bit and this is my proposal that I would like to discuss with everyone. I propose we make integration tests OPT-IN behind a maven profile ?! I propose we document how people can OPT-IN FOR them. What are other ways of making a James build slimmer ?! This is the error that I get locally. If someone can give me some clues on what is happening I would appreciate it. Thanks, ---- [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.4.4:compile (scala-compile-first) on project event-sourcing-event-store-api: wrap: org.apache.maven.shared.dependency.graph.DependencyGraphBuilderException: Could not resolve following dependencies: [org.apache.james:event-sourcing-pojo:jar:tests:3.6.0-SNAPSHOT (test)]: Could not resolve dependencies for project org.apache.james:event-sourcing-event-store-api:jar:3.6.0-SNAPSHOT: Failure to find org.apache.james:event-sourcing-pojo:jar:tests:3.6.0-SNAPSHOT in https://jcenter.bintray.com was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :event-sourcing-event-store-api ---- Regards, -- Eugen Stan +40720 898 747 / netdava.com
<<attachment: eugen_stan.vcf>>
signature.asc
Description: OpenPGP digital signature