But this is a sign of something being wrong. You should not normally have to
do this.
Why do you have to do this?

/Anders (mobile)
Den 2 sep 2011 16.59 skrev "Guillaume Polet" <[email protected]>:
> Use 'mvn clean package' instead of 'mvn package'
> Use 'mvn clean install' instead of 'mvn install'
> Use 'mvn clean deploy' instead of 'mvn deploy'
>
> Cheers,
>
> Guillaume
> Le 2/09/2011 16:56, anamika gupta a écrit :
>> Hi,
>>
>> I need to clean my target folder every time i create the jar file or war
>> file , can you please tell me what to write in pom.xml to do it.
>>
>> Any help is appreciated
>>
>> --
>> View this message in context:
http://maven.40175.n5.nabble.com/Clean-Command-tp4762653p4762653.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> 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