Yes, you're right, the jar is only generated whe any file changes.

I don't see much sense to do what you say in an install goal, as it's used
when making releases, neither in an install-snapshot as usually you will
clean first to ensure everything is correctly built, do you ;)?

If you don't think so please raise an isue in JIRA (artifact plugin) and try
to convince.

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net


> -----Original Message-----
> From: colin saxton [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 12, 2004 4:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: jar install plugin (maven)
> 
> Not when I tested it...the jar is only generated if you have 
> updated any of the files that make up the jar...If you don't 
> change the files then the jar doesn't change...so if 
> overwrite is set to false then it would not copy the latest 
> jar to the repository since it will not have changed.
> On Mon, 2004-07-12 at 13:41, Carlos Sanchez wrote:
> > Hi,
> > 
> > jar:install attains jar:jar so the jar created will have 
> the current 
> > date, it will always override the one in the repository.
> > 
> > Regards
> > 
> > Carlos Sanchez
> > A Coruña, Spain
> > 
> > Oness Project
> > http://oness.sourceforge.net
> > 
> > 
> > > -----Original Message-----
> > > From: colin saxton [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, July 12, 2004 1:35 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: jar install plugin (maven)
> > > 
> > > Just wondering! The jar:install goal copies the jar to the local 
> > > repository even if there are no changes since overwrite is set to 
> > > true...This can be a problem when using the reactor since all of 
> > > your subcomponents will now have new dates set against 
> jars in the 
> > > repository...it just causes unnecessary builds...can we just set 
> > > this to false or would it cause problems?
> > > 
> > > 
> > > 
> --------------------------------------------------------------------
> > > - 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]
> > 
> 
> 
> 



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

Reply via email to