I'm looking at the code for maven-release-plugin and I can't see how
it add sources and javadocs.

RunPerformGoalsPhase is about the only interesting place that
isUseReleaseProfile() is used and all it does is add
"-DperformRelease=true" to additionalArguments which is then passed
into mavenExecutor.executeGoals()

But nothing has modified the pom internally to add the sources/javadocs plugins.

It looks like I need to add my own profile to my pom which is
activated on performRelease=true to hook in sources and javadocs.

Any de-mystifying guidance out there?
Cheers
Barrie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to