You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jose Alberto Fernandez <jo...@cellectivity.com> on 2007/05/03 13:46:19 UTC
Cleaning before assembly
Hi,
Can someone point me at the correct way to tell Maven's assembly or cleaning
plug-in to clean the assembly area before assembling a new. Currently as the
assembly area is not cleaned up we finish with old jars still there from
older builds.
Any hints will be appreciated.
Jose Alberto
--
View this message in context: http://www.nabble.com/Cleaning-before-assembly-tf3685941s177.html#a10303138
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
AW: Cleaning before assembly
Posted by "Steinhauer, Frank" <f....@olympus-odl.com>.
Just look into the description of the clean plugin http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html
Frank
-----Ursprüngliche Nachricht-----
Von: Jose Alberto Fernandez [mailto:jose@cellectivity.com]
Gesendet: Donnerstag, 3. Mai 2007 14:22
An: users@maven.apache.org
Betreff: Re: Cleaning before assembly
For reasons of our configuration, we cannot really assembly inside the target
directory, but on an staging area pointed by an environment variable and
where we can start or server for manual testing.
This is why I would like having a way to tell either the cleaning plug-in or
assembly itself to clean up its content.
Any ideas?
J.A.
MALICE wrote:
>
> If you use a directory under 'target', it should be cleaned by the
> clean-plugin... Maybe the answer lies in configuring the assembly-plugin
> to
> use anothe dir, instead of telling the clean-plugin to clean up other
> dirs?
>
>
> On Thursday 03 May 2007 13:46, Jose Alberto Fernandez wrote:
>> Hi,
>>
>> Can someone point me at the correct way to tell Maven's assembly or
>> cleaning plug-in to clean the assembly area before assembling a new.
>> Currently as the assembly area is not cleaned up we finish with old jars
>> still there from older builds.
>>
>> Any hints will be appreciated.
>>
>> Jose Alberto
>
> --
> Roland Asmann
>
> CFC Informationssysteme Entwicklungsgesellschaft m.b.H
> Bäckerstrasse 1/2/7
> A-1010 Wien
> FN 266155f, Handelsgericht Wien
>
> Tel.: +43/1/513 88 77 - 27
> Fax.: +43/1/513 88 62
> Email: Roland.Asmann@cfc.at
> Web: www.cfc.at
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Cleaning-before-assembly-tf3685941s177.html#a10303664
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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
Re: Cleaning before assembly
Posted by Jose Alberto Fernandez <jo...@cellectivity.com>.
For reasons of our configuration, we cannot really assembly inside the target
directory, but on an staging area pointed by an environment variable and
where we can start or server for manual testing.
This is why I would like having a way to tell either the cleaning plug-in or
assembly itself to clean up its content.
Any ideas?
J.A.
MALICE wrote:
>
> If you use a directory under 'target', it should be cleaned by the
> clean-plugin... Maybe the answer lies in configuring the assembly-plugin
> to
> use anothe dir, instead of telling the clean-plugin to clean up other
> dirs?
>
>
> On Thursday 03 May 2007 13:46, Jose Alberto Fernandez wrote:
>> Hi,
>>
>> Can someone point me at the correct way to tell Maven's assembly or
>> cleaning plug-in to clean the assembly area before assembling a new.
>> Currently as the assembly area is not cleaned up we finish with old jars
>> still there from older builds.
>>
>> Any hints will be appreciated.
>>
>> Jose Alberto
>
> --
> Roland Asmann
>
> CFC Informationssysteme Entwicklungsgesellschaft m.b.H
> Bäckerstrasse 1/2/7
> A-1010 Wien
> FN 266155f, Handelsgericht Wien
>
> Tel.: +43/1/513 88 77 - 27
> Fax.: +43/1/513 88 62
> Email: Roland.Asmann@cfc.at
> Web: www.cfc.at
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Cleaning-before-assembly-tf3685941s177.html#a10303664
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Cleaning before assembly
Posted by Roland Asmann <Ro...@cfc.at>.
If you use a directory under 'target', it should be cleaned by the
clean-plugin... Maybe the answer lies in configuring the assembly-plugin to
use anothe dir, instead of telling the clean-plugin to clean up other dirs?
On Thursday 03 May 2007 13:46, Jose Alberto Fernandez wrote:
> Hi,
>
> Can someone point me at the correct way to tell Maven's assembly or
> cleaning plug-in to clean the assembly area before assembling a new.
> Currently as the assembly area is not cleaned up we finish with old jars
> still there from older builds.
>
> Any hints will be appreciated.
>
> Jose Alberto
--
Roland Asmann
CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien
Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@cfc.at
Web: www.cfc.at
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Cleaning before assembly
Posted by Steven Rowe <sa...@syr.edu>.
Hi Jose,
maven-clean-plugin's "clean" goal can clean other directories besides
the default - see
<http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html>
Steve
Jose Alberto Fernandez wrote:
> Hi,
>
> Can someone point me at the correct way to tell Maven's assembly or cleaning
> plug-in to clean the assembly area before assembling a new. Currently as the
> assembly area is not cleaned up we finish with old jars still there from
> older builds.
>
> Any hints will be appreciated.
>
> Jose Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org