You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ch...@rbs.com on 2008/11/14 12:59:34 UTC

How to avoid sources jar creation ?

Whenever I do an mvn install, it creates a Xyz-sources.jar and takes a lot of time creating that jar.
I am not interested in the sources jar. How do I avoid that step during the install of a project ?

Thanks in Advance,
 Chandresh

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbs.com/gbm
www.rbsgc.com
***********************************************************************************


Re: How to avoid sources jar creation ?

Posted by Wendy Smoak <ws...@gmail.com>.
On Fri, Nov 14, 2008 at 4:59 AM,  <Ch...@rbs.com> wrote:
> Whenever I do an mvn install, it creates a Xyz-sources.jar and takes a lot of time creating that jar.
> I am not interested in the sources jar. How do I avoid that step during the install of a project ?

Put the configuration for the sources plugin in a profile, and only
activate it when you need it.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org