Great to know, Tho it seems like my build didn't generate Guice+JPA artifacts inside the server/app folder, to build I run `mvn clean install -DskipTests` and there is no guice jar inside server/app
Kindly let me know how to achive the guice+jpa setup Cheers On Fri, Dec 24, 2021 at 12:57 PM Jean Helou <jean.he...@gmail.com> wrote: > Hello, > > Runnable assemblies are in server/apps/ > > Server/containers only contains the core libs > > Cheers > > > Le ven. 24 déc. 2021 à 11:17, Bs Serge <sergeb...@gmail.com> a écrit : > > > My build was successful after some time, I want the Guice JPA setup, > > So I went in server/container/guice/jpa-guice/target/ and I found the > > james-server-jpa-guice.zip file (93 MB), > > I extracted the zip and it contains : > > - conf (will all the configuration files) > > - james-server-jpa-guice.lib (contains a bunch of jars) > > > > Though It does not contain the bin directory with the command line tools > to > > run James > > Seems like everything is in place except for the missing bin directory > and > > there is no james-cli.jar or james-server-cli.jar in the zip file > > > > First, Let me know if this is the zip file I should be using > > and Second, how do I go on and start James without the CLI tools? > > > > Best regards, > > > > > > > > On Fri, Dec 24, 2021 at 3:21 AM Garry Hurley <garry.hurley...@gmail.com> > > wrote: > > > > > Piggybacking on Jean’s response, you may be able to do a skip-tests on > > the > > > maven build, which will skip the Cassandra and Docker stuff. > > > > > > On Thu, Dec 23, 2021 at 4:50 PM Bs Serge <sergeb...@gmail.com> wrote: > > > > > > > Wow, it's amazing how you just spotted it. > > > > > > > > cheers > > > > > > > > On Thu, Dec 23, 2021 at 9:50 PM Jean Helou <jean.he...@gmail.com> > > wrote: > > > > > > > > > Hello, > > > > > > > > > > Even if you don't intend to use cassandra if you are building the > > whole > > > > > repo from source it is going to build the cassandra packages. The > > > actual > > > > > error is > > > > > > > > > > - 21:14:07.434 [ERROR] o.t.d.DockerClientProviderStrategy - Could > not > > > > > find a valid Docker environment. Please check configuration. > > Attempted > > > > > configurations were: > > > > > - 21:14:07.435 [ERROR] o.t.d.DockerClientProviderStrategy - > > > > > UnixSocketClientProviderStrategy: failed with exception > > > > > InvalidConfigurationException (Could not find unix domain socket). > > > > > Root cause NoSuchFileException (/var/run/docker.sock) > > > > > > > > > > > > > > > All the tests for storage engine use testcontainers to spin up > > > containers > > > > > for the corresponding external tool (cassanda, postgresql, > > > elasticsearch, > > > > > rabbitmq, ...) many modules will fail to build if you don't have > > docker > > > > > available. > > > > > > > > > > cheers > > > > > jean > > > > > > > > > > > > > > > On Thu, Dec 23, 2021 at 8:39 PM Bs Serge <sergeb...@gmail.com> > > wrote: > > > > > > > > > > > I figured I'm using the wrong version of Java, I switched to Java > > 11 > > > > > > > > > > > > The next error is Cassandra related [1], and I don't want to use > > > > > Cassandra, > > > > > > I want to use JPA instead > > > > > > > > > > > > [INFO] Apache James Cassandra backend ..................... > FAILURE > > > > > [01:05 > > > > > > min] > > > > > > > > > > > > [1] > > > > > > > > > > > > > > > > > > > > > > > > > > > https://paste.0xfc.de/?df21131d3962c67c#Cfhsu8StrovVt9j2qHjZa4UXdEwx4FiFsf979Nkaixvx > > > > > > > > > > > > Any comments or thoughts would be appreciated! > > > > > > > > > > > > Best regards, > > > > > > > > > > > > On Thu, Dec 23, 2021 at 8:52 PM Bs Serge <sergeb...@gmail.com> > > > wrote: > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > I'm trying to compile the james-project 3.6.1 with maven and > I'm > > > > > > > experiencing this error [1] when I run `mvn clean install` > > > > > > > > > > > > > > "Fatal error compiling: invalid flag: --release" > > > > > > > > > > > > > > Apache Maven 3.8.4 > > > > > > > Java version: 1.8.0_311 > > > > > > > > > > > > > > [1] > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://paste.0xfc.de/?a8332c3f91e8ff48#1PwvpmSCZq6L4z32BqarWCQBbhxPz35uSbnwcesd7QS > > > > > > > > > > > > > > Any comments or thoughts would be appreciated! > > > > > > > > > > > > > > Best regards, > > > > > > > > > > > > > > > > > > > > > > > > > > > >