-----Oorspronkelijk bericht-----
Van: Yves Van Steen [mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 9 november 2006 15:33
Aan: 'Maven Users List'
Onderwerp: RE: How Do I Deploys The Sources To The Repository

Hey greg,

Sorry for this wrong information it does seem to work with the install goal.
I made a little error.

Thx.

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 7 november 2006 17:20
Aan: Maven Users List; [EMAIL PROTECTED]
Onderwerp: Re: How Do I Deploys The Sources To The Repository

"Yves Van Steen" <[EMAIL PROTECTED]> wrote on 11/07/2006 09:58:46 AM:

> I can generate a jar containing the source files of a project.  But how 
do I
> configure it to deploy the source jar to the repo?
> 
> I need this because I would like to use the download sources setting of 
the
> eclipse plugin for my own projects.
> 
> So far I have found nothing that would accomplish this task.

Somewhere deep in the plugins of maven adding a system property of 
performRelease=true causes both source and javadoc jars to be generated 
and deployed. It's not well documented. So you can do

mvn -DperformRelease=true deploy

and you get both source and javadoc jars in the repository along with the 
main artifact. It also works with the install target.

-Greg Vaughn
[EMAIL PROTECTED]

======================================================================
Confidentiality Notice: The information contained in and transmitted with
this communication is strictly confidential, is intended only for the use of
the intended recipient, and is the property of Countrywide Financial
Corporation or its affiliates and subsidiaries.  If you are not the intended
recipient, you are hereby notified that any use of the information contained
in or transmitted with the communication or dissemination, distribution, or
copying of this communication is strictly prohibited by law.  If you have
received this communication in error, please immediately return this
communication to the sender and delete the original message and any copy of
it in your possession.
======================================================================

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.0/524 - Release Date: 8/11/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.0/525 - Release Date: 9/11/2006
 


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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.0/525 - Release Date: 9/11/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.0/525 - Release Date: 9/11/2006
 


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

Reply via email to