I've reproduced this by deleting Cayenne folder from a local .m2 repository on my mac.
The problem is that you are trying to build with -DskipTests before regular build, which just fails on some tests for cayenne-server on your environment. 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, I think we should avoid it somehow. What do you think about it? While we are figuring it out, you could try to build with "mvn clean install -fn" first. But I'm not sure that it will help you. It's strange that you have test failures. Do you have the latest Cayenne version from trunk [1]? And which Java do you use? [1] https://github.com/apache/cayenne On Tue, Sep 27, 2016 at 10:57 PM, Lon Varscsak <lon.varsc...@gmail.com> wrote: > That doesn’t succeed either (but fails for a different reason). Attached. > > On Tue, Sep 27, 2016 at 12:02 PM, Savva Kolbachev <s.kolbac...@gmail.com> > wrote: > >> Hi Lon, >> >> From your output it looks like you just have test failures. Do you build >> from trunk? >> Could you also provide build output with -Dmaven.test.skip=true >> or -DskipTests? >> >> Also, you could try to build via "mvn clean install -fn". Build will >> continue even if there are test failures. >> >> On Tue, Sep 27, 2016 at 8:46 PM, Lon Varscsak <lon.varsc...@gmail.com> >> wrote: >> >> > The entire output? 😳 Okay, here it is :) >> > >> > On Tue, Sep 27, 2016 at 8:00 AM, John Huss <johnth...@gmail.com> wrote: >> > >> >> Without the entire build output I don't think anyone is going to be >> able >> >> to >> >> help you. >> >> >> >> On Tue, Sep 27, 2016 at 9:56 AM Lon Varscsak <lon.varsc...@gmail.com> >> >> wrote: >> >> >> >> > No, I’m on a Mac (Sierra). If I compile with tests, the error above >> >> > doesn’t appear, but another error does (similar can’t resolve >> >> > dependencies). >> >> > >> >> > -Lon >> >> > >> >> > On Tue, Sep 27, 2016 at 1:13 AM, Andrus Adamchik < >> >> and...@objectstyle.org> >> >> > wrote: >> >> > >> >> > > Hi Lon, >> >> > > >> >> > > On OS X and Linux Cayenne compiles fine, with tests. Are you on >> >> Windows >> >> > by >> >> > > any chance? >> >> > > >> >> > > Andrus >> >> > > >> >> > > >> >> > > > On Sep 27, 2016, at 2:30 AM, Lon Varscsak < >> lon.varsc...@gmail.com> >> >> > > wrote: >> >> > > > >> >> > > > Every time I wipe my machine and need to work with the latest >> >> > SNAPSHOT, I >> >> > > > forget some magic sauce to make the compile work. :) >> >> > > > >> >> > > > Outside of running “mvn clean install -Dmaven.test.skip=true” (or >> >> even >> >> > > with >> >> > > > tests) what am I missing? >> >> > > > >> >> > > > The above command produces: >> >> > > > >> >> > > > [ERROR] Failed to execute goal on project cayenne-client: Could >> not >> >> > > resolve >> >> > > > dependencies for project >> >> > > > org.apache.cayenne:cayenne-client:jar:4.0.M4-SNAPSHOT: Could not >> >> find >> >> > > > artifact org.apache.cayenne:cayenne-ser >> ver:jar:tests:4.0.M4-SNAPSHOT >> >> -> >> >> > > > [Help 1] >> >> > > > >> >> > > > Thanks, >> >> > > > >> >> > > > Lon >> >> > > >> >> > > >> >> > >> >> >> > >> > >> >> >> -- >> Best Regards, >> Savva Kolbachev >> > > -- Best Regards, Savva Kolbachev