You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Magne Skjeret <ms...@broadpark.no> on 2010/04/17 11:24:26 UTC

Install plugin

Hi all

I am trying to optimize a large build and have made quite some progress 
already.
I am facing a little annoying problem now, but I am not sure that it is 
in fact an error or missing feature, as I am calling mvn install directly.

The problem is that I have turned of forced jar generating, so that only 
projects where the source actually have changed generates a new jar.
Still, if a new jar is not created it is published into my local 
repository. Going to other parts of the code it will regenerate some of 
my ear and wars, as it thinks the installed jar is new.
In fact they are new as the timestamp has changed on the file in the 
repo, but the content is exactly the same.

Now, is there a possibility to avoid the install file copy if a new jar 
was not generated??

Magne

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


Re: Install plugin

Posted by Brian Fox <br...@infinity.nu>.
On Sat, Apr 17, 2010 at 5:24 AM, Magne Skjeret <ms...@broadpark.no> wrote:
> Hi all
>
> I am trying to optimize a large build and have made quite some progress
> already.
> I am facing a little annoying problem now, but I am not sure that it is in
> fact an error or missing feature, as I am calling mvn install directly.
>
> The problem is that I have turned of forced jar generating, so that only
> projects where the source actually have changed generates a new jar.
> Still, if a new jar is not created it is published into my local repository.
> Going to other parts of the code it will regenerate some of my ear and wars,
> as it thinks the installed jar is new.
> In fact they are new as the timestamp has changed on the file in the repo,
> but the content is exactly the same.
>
> Now, is there a possibility to avoid the install file copy if a new jar was
> not generated??
>

I thought the install plugin did some time checks

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

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