cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <lon.varsc...@gmail.com>
Subject Re: Compiling from source
Date Wed, 28 Sep 2016 17:19:45 GMT
This gets failsafe failure too:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify
(integration-test) on project cayenne-server: There are test failures.

Am I wrong in assuming it should compile with tests without issue (from
clean, no .m2 directory)?

-Lon

On Tue, Sep 27, 2016 at 11:37 PM, Andrus Adamchik <andrus@objectstyle.org>
wrote:

> Also if the failures are HSQL-specific (I can't reproduce it, so hard to
> say), perhaps another way to circumvent the failures is to use another
> in-memory DB for testing. E.g:
>
> mvn clean install -DcayenneTestConnection=derby
>
> Not ideal, but who knows, maybe this will also get it unstuck.
>
> Andrus
>
>
> > On Sep 28, 2016, at 9:30 AM, Andrus Adamchik <andrus@objectstyle.org>
> wrote:
> >
> > Interesting. Didn't know about -skipTests.
> >
> > And another mystery - why do those tests fail in the first place.
> >
> > Andrus
> >
> >
> >
> >> On Sep 28, 2016, at 9:28 AM, Savva Kolbachev <s.kolbachev@gmail.com>
> wrote:
> >>
> >>> We are reusing test classes from cayenne-server in testing the client.
> No
> >> easy way around that.
> >>
> >> Sorry for misunderstanding. I meant that Cayenne should not require test
> >> classes from cayenne-server for building cayenne-client without testing.
> >>
> >> It happens when you build with -Dmaven.test.skip=true. On the other
> hand,
> >> if you build with -DskipTests, it will not require test classes from
> >> cayenne-server for building cayenne-client and will work great.
> >>
> >> It is important for those, who just takes the latest version from trunk
> and
> >> wants to build sources without testing. So, if they build
> 4.0.M4-SNAPSHOT
> >> for the first time and without testing, they might not have
> >> cayenne-server:jar:tests:4.0.M4-SNAPSHOT
> >> in the local .m2 repo.
> >>
> >> On Wed, Sep 28, 2016 at 8:25 AM, Andrus Adamchik <
> andrus@objectstyle.org>
> >> wrote:
> >>
> >>>
> >>>> On Sep 27, 2016, at 11:34 PM, Savva Kolbachev <s.kolbachev@gmail.com>
> >>> wrote:
> >>>>
> >>>> So, your .m2 repository doesn't contain
> >>>> org.apache.cayenne:cayenne-server:jar:tests:4.0.M4-SNAPSHOT, which is
> >>>> necessary for the cayenne-client. Not sure that it is a correct
> behaviour
> >>>
> >>> We are reusing test classes from cayenne-server in testing the client.
> No
> >>> easy way around that.
> >>>
> >>> Andrus
> >>>
> >>>
> >>
> >>
> >> --
> >> Best Regards,
> >> Savva Kolbachev
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message