Cool! So then we are sorted out? If yes: In cases like this, if we'd get a beer, half of it would be yours :D
Thanks T On Fri, Jul 11, 2025 at 4:22 PM Steinar Bang <s...@dod.no> wrote: > > >>>>> Steinar Bang <s...@dod.no>: > > > So I put the javadoc generation config back, and "mvn release:prepare" > > stopped working again. > > > I have tried the following: > > 1. Remove the aggregate javadoc > > 2. Go back from javadoc-no-fork to javadoc as the execution goal > > 3. Put javadoc attachment in the <verify> phase > > > But all of them fails in "mvn release:prepare". > > I figured it out from the documentation of "release:prepare" > > https://maven.apache.org/maven-release/maven-release-plugin/usage/prepare-release.html > > Specifically, this bit: > Note: If an error occurs, or the process is cancelled, then running this > command again will pick up from where the last one left off. > > So when > mvn release:prepare -DreleaseVersion=3.0.2 > -DdevelopmentVersion=3.0.3-SNAPSHOT -DautoVersionSubmodules=true > failed with the expected, obscure, compilation failure, I ran the > command without any arguments, i.e. just: > mvn release:prepare > > This time the command completed without issues and did its things, and > the "mvn release:perform" command completed successfully, since the jar > files were now accompanied by matching javadoc jars. > > > > > > --------------------------------------------------------------------- > 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