Error in Javadoc when attempting to publish a new plugin version

31 views
Skip to first unread message

Stéphane BOBIN

unread,
Mar 5, 2024, 11:25:19 AM3/5/24
to Jenkins Developers
Hi all!

Sorry, it is probably a newbie question. I was just attempting to publish a new version of my plugin (mvn release:prepare release:perform) and I got plenty of errors in the Javadoc I recently added in my code. I didn't have these errors while building and testing (mvn clean install). 
  • How can I get the errors sooner in my workflow?
  • Can I run "mvn release:prepare" safely to get these errors before without running remote stuff and getting into a wrong state?
Thanks for your help.

Stephane

Basil Crow

unread,
Mar 5, 2024, 12:09:26 PM3/5/24
to jenkin...@googlegroups.com
You can reproduce locally by running mvn clean verify -Pjenkins-release and on CI by enabling incrementals. Be sure to use the same version of Java you intend to use when doing the release, as different Java versions produce different errors.

Stéphane BOBIN

unread,
Mar 5, 2024, 12:25:09 PM3/5/24
to jenkin...@googlegroups.com
Hi Basil!

Great, thanks, I will try that 👍

-- Stéphane

Le mar. 5 mars 2024 à 18:09, Basil Crow <m...@basilcrow.com> a écrit :
You can reproduce locally by running mvn clean verify -Pjenkins-release and on CI by enabling incrementals. Be sure to use the same version of Java you intend to use when doing the release, as different Java versions produce different errors.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAFwNDjqEWaYB9Kb21Mkzr9VCW9H8v6%2BG%3Dr6_UpuaGg3PyTUTnA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages