Good day,

Actually, the Super POM already has that ( see release-profile of [1] ).

Cheers,
Franz

[1] http://maven.apache.org/guides/introduction/introduction-to-the-pom.html


Jochen Wiedmann wrote:
> 
> On 1/11/07, DJP JEAN-PROST Dominique <[EMAIL PROTECTED]> wrote:
> 
>> I would like my team to deploy to my repository the following jars :
>> binaries (of course), sources and javadoc. As javadoc generation is a bit
>> time costly, I would like to get it generated only on the deploy phase,
>> so that, everyday work is not slowed by this generation.
> 
> The commons-parent POM from Jakarta has a different approach. It
> defines a special profile called release, which invokes the
> maven-source-plugin and the maven-javadoc-plugin and attaches the
> generated artifacts. In other words, the jar files are created and
> deployed, if you run Maven, for example, with
> 
>     mvn -Prelease deploy
> 
> See
> 
>    
> repo1.maven.org/maven2/org/apache/commons/commons-parent/1/commons-parent-1.pom
> 
> for details.
> 
> Jochen
> 
> -- 
> My wife Mary and I have been married for forty-seven years and not
> once have we had an argument serious enough to consider divorce;
> murder, yes, but divorce, never.
> (Jack Benny)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/changing-phase-of-javadoc%3Ajar-and-sources%3Ajar-tf2957919s177.html#a8278078
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to