Wed, 01 Jan 2020 03:14:25 +0100, /Steinar Bang/:
Karl Heinz Marbaise:

(The purpose of the javadoc aggregate is to get a javadoc jar
attached to the parent pom artifact, that I can link to with a javadoc
banner in the README.)

The question is also why running javadoc everytime?

Hm... I don't understand...? Could you clarify?

I guess it is more common to have the javadoc jar (and sources jar) packaged just with a "release" profile, speeding up development builds:

mvn package/verify/install (local build w/o javadoc and sources artifacts)

mvn -P release install (local build w/ javadoc and sources artifacts)

mvn -P release deploy (CI build w/ javadoc and sources artifacts)

--
Stanimir

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to