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]

Reply via email to