> > On Sat, Sep 24, 2022, 14:40 Alex Herbert <alex.d.herb...@gmail.com> wrote: > > > > I will set up a Jenkins CI build to deploy commons-parent to snapshots. > > Then I can test the build of RNG using the latest CP snapshot. This may > > help feedback whether changes made in CP will be problematic for > > dependent projects trying to keep up with CP. If the idea works then we > can > > extend it to some other child projects (lang, etc). > > I have tried this idea. The deployment of CP is working. So any project can now just update to the latest snapshot version in their pom for testing purposes.
However the Jenkins build of a child project using the snapshot fails. I created an action to update to the latest snapshot in the pom which runs and is successful. The next step of the Jenkins CI build is to scan the project pom dependencies. This errors on the commons-parent snapshot version. See for example the build log here [1]. This Jenkins specific step of 'Parsing POMs' occurs before the maven build command. So it does not seem possible to modify the pom to use the parent snapshot when running a Jenkins build. I have disabled the project but left it as there may be some settings I have not discovered that will allow it to work. Alex [1] https://ci-builds.apache.org/job/Commons/job/commons-rng__jdk11_parent_snapshot/lastBuild/console