The release profile is built into the superpom. http://svn.eu.apache.org/viewvc/maven/components/branches/maven-2.1.x/ma ven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml?vi ew=markup
-----Original Message----- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 9:29 PM To: Maven Developers List Subject: maven-release-plugin: useReleaseProfile - how does this work to add sources and javadocs? 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
