[keycloak-dev] issues with building keycloak master
cedric@couralet.eu
cedric at couralet.eu
Wed Jul 24 09:14:00 EDT 2019
Hello, if it helps, I already had the same problems with the option -Dmaven.test.skip.
As I understand it, with this option maven does not create the test jar which are used by other modules.
If you want to skip tests, a better way is to use -DskipTests.
Cédric
Le Mercredi, Juillet 24, 2019 12:25 CEST, Federico Michele Facca <federico.facca at martel-innovate.com> a écrit:
> Hi Bruno,
> Thanks!
>
> Yes, I have been following the guide :) The only change to the process is
> that, to speed up the build, i wanted to skip tests.
>
> OS: MacOSX 10.13.6
> Java: 1.8.0_131 (i.e. > JDK 8)
> Maven: 3.6.1 (i.e. > 3.1.1)
>
> Cheers,
> Federico
>
> On Wed, 24 Jul 2019 at 12:13, Bruno Oliveira <bruno at abstractj.org> wrote:
>
> > Hi Federico, could you please provide more details about your
> > environment setup? Things like OS, JDK version and etc? Also, I'd
> > recommend to read
> > https://github.com/keycloak/keycloak/blob/master/docs/building.md.
> >
> > On Wed, Jul 24, 2019 at 7:10 AM Federico Michele Facca
> > <federico.facca at martel-innovate.com> wrote:
> > >
> > > Hi,
> > > I have been trying to build the master branch using:
> > >
> > > mvn install -Dmaven.test.skip
> > >
> > > The installation fails at the last project:
> > >
> > > [*INFO*] SSSD tests .........................................
> > > *FAILURE* [ 0.586
> > > s]
> > >
> > > [*INFO*]
> > >
> > *------------------------------------------------------------------------*
> > >
> > > [*INFO*] *BUILD FAILURE*
> > >
> > > [*INFO*]
> > >
> > *------------------------------------------------------------------------*
> > >
> > > [*INFO*] Total time: 03:53 min
> > >
> > > [*INFO*] Finished at: 2019-07-24T10:50:40+02:00
> > >
> > > [*INFO*]
> > >
> > *------------------------------------------------------------------------*
> > >
> > > [*ERROR*] Failed to execute goal on project
> > > integration-arquillian-tests-sssd: *Could not resolve dependencies for
> > > project
> > >
> > org.keycloak.testsuite:integration-arquillian-tests-sssd:jar:8.0.0-SNAPSHOT:
> > > Could not find artifact
> > >
> > org.keycloak.testsuite:integration-arquillian-tests-base:jar:tests:8.0.0-SNAPSHOT*
> > > -> *[Help 1]*
> > >
> > > I am now trying without skipping tests (which takes quite some time, I
> > will
> > > update you later if that works), but in general I suppose this should
> > work
> > > also with skipping them.
> > >
> > > Thanks for any hint on the matter!
> > >
> > > Cheers,
> > > Federico
> > >
> > > --
> > > *Dr. FEDERICO MICHELE FACCA*
> > > *CTO, Head of Martel Lab*
> > > +41 788075838
> > > *MARTEL INNOVATE* <https://www.martel-innovate.com/> - INNOVATION, WE
> > MAKE
> > > IT HAPPEN
> > > Click *HERE* to download Martel reports and white papers!
> > > <https://www.martel-innovate.com/premium-content/>
> > > Follow us on *TWITTER* <https://twitter.com/Martel_Innovate>
> > > _______________________________________________
> > > keycloak-dev mailing list
> > > keycloak-dev at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-dev
> >
> >
> >
> > --
> > - abstractj
> >
>
>
> --
> *Dr. FEDERICO MICHELE FACCA*
> *CTO, Head of Martel Lab*
> +41 788075838
> *MARTEL INNOVATE* <https://www.martel-innovate.com/> - INNOVATION, WE MAKE
> IT HAPPEN
> Click *HERE* to download Martel reports and white papers!
> <https://www.martel-innovate.com/premium-content/>
> Follow us on *TWITTER* <https://twitter.com/Martel_Innovate>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
More information about the keycloak-dev
mailing list