Generate test javadoc with Maven in Netbeans

Asked

Viewed 186 times

2

  • With Maven or Netbeans? Or want to generate automatically when generating a . jar or . War?

  • In his pom.xml, right click -> Run Maven, in the window that appears, put something like compile javadoc:test-javadoc (is the Lifecycle that you actually need) in Goals, marque Remember as, put a name to this run will be saved to use later

  • Hello Bruno. I’d like to generate the test javadoc in Netbeans. Would you know if it is possible to create a profile to generate the test javadocs? That way, everyone who clones my project will be able to generate the test documentation.

  • Profile in netbeans or Maven profile? If from Maven, just create one and set the javadoc:test-javadoc as defaultGoal, if required enabled by default. To rotate, mvn -Ptest-javadoc, or just mvn if active by default. If you have anything else, update your question with more details that include an answer, rather than comments.

  • That’s just what I needed. Thanks for your help!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.