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,
> > > >
> > >
> >
>

Reply via email to