Forgot to add: Java 21 + Maven 3.9,10 + Linux Fedora 42

On Thu, Jul 10, 2025 at 5:57 PM Tamás Cservenák <ta...@cservenak.net> wrote:
>
> Howdy,
>
> I performed local some changes:
> https://gist.github.com/cstamas/7f8194817660df4b0ed62ee16eb620f9
>
> Note: `local/` was just added to be able to use -Dmaven.repo.local=local
>
> And cannot reproduce with those:
> https://gist.github.com/cstamas/be6448a532a7c215118adcb7c5f12e60
>
> Thanks
> T
>
> On Thu, Jul 10, 2025 at 5:53 PM Steinar Bang <s...@dod.no> wrote:
> >
> > >>>>> Steinar Bang <s...@dod.no>:
> >
> > >> (I presume this is a problem to do with this being built with a
> > >> non-snapshot version...? I see 3.0.2 in the failing compilation and that
> > >> is the version I am trying to release?)
> >
> > What's left over when "mvn release:prepare" crashes has 
> > <version>3.0.2</version>
> > in all poms.
> >
> > And that builds just fine with "mvn clean install".
> >
> > In the failing release build
> >  1. clean deletes the target directory
> >      
> > https://gist.github.com/steinarb/b4245e26cd10ee3a3def70e16438ba40#file-gistfile1-txt-L611
> >
> >  2. then compile is run, compiling the "not found" class with no errors
> >      
> > https://gist.github.com/steinarb/b4245e26cd10ee3a3def70e16438ba40#file-gistfile1-txt-L623
> >
> >  3. then testCompile is run, and fails because it can't find the class
> >     compiled in step 2 above
> >      
> > https://gist.github.com/steinarb/b4245e26cd10ee3a3def70e16438ba40#file-gistfile1-txt-L641
> >
> > I am using maven-release-plugin 3.1.1 (from July 2024, and used by me
> > since September 2024, so I've done successful releases with it before)
> >
> > (I am also using central-publishing-maven-plugin 0.8.  Not sure how it
> > works together with maven-release-plugin, but they are both involved in
> > making releases.)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to