If this helps make it clearer for anyone... In your Cayenne source code folder (from Git, not the distribution):
[mrg@odin 09:38:53] ~/Projects/cayenne master> git checkout tags/4.2.B1 Note: switching to 'tags/4.2.B1'. ... [mrg@odin 09:39:17] ~/Projects/cayenne (HEAD detached at 4.2.B1)> In your distribution source folder (downloaded from the link above): [mrg@odin 09:40:18] ~/Projects/Cayenne-Release/cayenne-4.2.B1-src > mkdir -p cayenne-gradle-plugin/gradle [mrg@odin 09:41:22] ~/Projects/Cayenne-Release/cayenne-4.2.B1-src > cp -rp ~/Projects/cayenne/cayenne-gradle-plugin/gradle/wrapper cayenne-gradle-plugin/gradle Maybe we need a copy_gradle_jars.sh or similar to simplify this step? On Thu, Dec 2, 2021 at 7:02 AM Nikita Timofeev <ntimof...@objectstyle.com> wrote: > Hi John, > > Yeah, that's expected. You need manually copy > 'cayenne-gradle-plugin/gradle' directory from the git checkout to the > source release. > Can't bundle it with the source code release due to the Apache policies. > > On Wed, Dec 1, 2021 at 9:37 PM John Huss <johnth...@gmail.com> wrote: > > > > Note, I'm using java 17.0.1 on an M1 mac. > > > > On Wed, Dec 1, 2021 at 12:34 PM John Huss <johnth...@gmail.com> wrote: > > > > > Is there a dependency I need to install first for the gradle plugin to > > > build? I'm getting this error when building: > > > > > > [*INFO*] *--- *exec-maven-plugin:1.6.0:exec *(gradle)* @ > > > cayenne-gradle-plugin* ---* > > > > > > Error: Could not find or load main class > > > org.gradle.wrapper.GradleWrapperMain > > > > > > Caused by: java.lang.ClassNotFoundException: > > > org.gradle.wrapper.GradleWrapperMain > > > > > > On Wed, Dec 1, 2021 at 10:19 AM Nikita Timofeev < > ntimof...@objectstyle.com> > > > wrote: > > > > > >> Hi all, > > >> > > >> Here's a new build of 4.2.B1. > > >> > > >> Release notes: > > >> https://github.com/apache/cayenne/blob/4.2.B1/RELEASE-NOTES.txt > > >> Maven repo: > > >> > https://repository.apache.org/content/repositories/orgapachecayenne-1046/ > > >> Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.2.B1/ > > >> > > >> Please evaluate and cast your votes. > > >> > > >> -- > > >> Best regards, > > >> Nikita Timofeev > > >> > > > > > > > -- > Best regards, > Nikita Timofeev >