You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2008/03/30 16:52:58 UTC

[jira] Closed: (MWAR-152) mvn clean does not clean up target directories and build logs from integration tests

     [ http://jira.codehaus.org/browse/MWAR-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak closed MWAR-152.
----------------------------

         Assignee: Wendy Smoak  (was: Stephane Nicoll)
       Resolution: Fixed
    Fix Version/s: 2.1-alpha-2

Fixed in r642754.

Hi Stephane.  I don't know if it's a big deal, but in general I expect 'mvn clean' to get me back to the equivalent of a clean checkout, and I was surprised when it didn't for the war plugin.  

I just took the config from the javadoc plugin, which is the one I've been using as an example to figure out plugins and integration testing.

> mvn clean does not clean up target directories and build logs from integration tests
> ------------------------------------------------------------------------------------
>
>                 Key: MWAR-152
>                 URL: http://jira.codehaus.org/browse/MWAR-152
>             Project: Maven 2.x War Plugin
>          Issue Type: Task
>    Affects Versions: 2.1-alpha-2
>            Reporter: Wendy Smoak
>            Assignee: Wendy Smoak
>            Priority: Minor
>             Fix For: 2.1-alpha-2
>
>
> After adding an integration test for MWAR-131, I noticed that 'mvn clean' didn't clean up after it properly.
> $ mvn install; mvn clean
> $ svn status
> ?      src/it/MWAR-131/build.log
> ?      src/it/MWAR-131/mwar131-webapp/target
> ?      src/it/MWAR-131/mwar131-test/target
> ?      src/it/MWAR-131/mwar131-webapp2/target
> However:
> $ find . -name target
> ./src/it/MWAR-129/target
> ./src/it/MWAR-131/mwar131-test/target
> ./src/it/MWAR-131/mwar131-webapp/target
> ./src/it/MWAR-131/mwar131-webapp2/target
> ./src/it/MWAR-139/target
> ./src/it/MWAR-143/war-common/target
> ./src/it/MWAR-143/war-filter-overlay/target
> ./src/it/MWAR-62/target
> ./src/it/MWAR-96/target
> ./src/it/scoped-dependency-same-artifact/target
> ./src/it/simple-war-no-webxml/target
> ./src/it/simple-war-project/target
> $ find . -name build.log
> ./src/it/MWAR-129/build.log
> ./src/it/MWAR-131/build.log
> ./src/it/MWAR-139/build.log
> ./src/it/MWAR-143/build.log
> ./src/it/MWAR-62/build.log
> ./src/it/MWAR-96/build.log
> ./src/it/scoped-dependency-same-artifact/build.log
> ./src/it/simple-war-no-webxml/build.log
> ./src/it/simple-war-project/build.log
> Instead of the clean plugin being configured to delete these files, the svn:ignore property is set.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira