[jira] Created: (MINVOKER-21) Clean up IT test output when running mvn clean.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org
Clean up IT test output when running mvn clean.
-----------------------------------------------

                 Key: MINVOKER-21
                 URL: http://jira.codehaus.org/browse/MINVOKER-21
             Project: Maven 2.x Invoker Plugin
          Issue Type: New Feature
    Affects Versions: 1.1
            Reporter: Paul Gier
            Assignee: John Casey


Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/MINVOKER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117595 ]

Olivier Lamy commented on MINVOKER-21:
--------------------------------------

with a new mojo invoker:clean and you can attach this to the clean phase ("à la" cobertura:clean).
WDYT ?

> Clean up IT test output when running mvn clean.
> -----------------------------------------------
>
>                 Key: MINVOKER-21
>                 URL: http://jira.codehaus.org/browse/MINVOKER-21
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Paul Gier
>            Assignee: John Casey
>
> Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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


Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Olivier Lamy updated MINVOKER-21:
---------------------------------

         Assignee:     (was: John Casey)
    Fix Version/s: 1.2

> Clean up IT test output when running mvn clean.
> -----------------------------------------------
>
>                 Key: MINVOKER-21
>                 URL: http://jira.codehaus.org/browse/MINVOKER-21
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Paul Gier
>             Fix For: 1.2
>
>
> Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/MINVOKER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117597 ]

Paul Gier commented on MINVOKER-21:
-----------------------------------

Yes, a new mojo sounds good.  It could probably attach itself to the clean phase right?  I'm lazy, so I don't want to have to add the execution config :)

> Clean up IT test output when running mvn clean.
> -----------------------------------------------
>
>                 Key: MINVOKER-21
>                 URL: http://jira.codehaus.org/browse/MINVOKER-21
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Paul Gier
>             Fix For: 1.2
>
>
> Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/MINVOKER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123059 ]

Benjamin Bentmann commented on MINVOKER-21:
-------------------------------------------

An alternative would be to use the plugin's option [cloneProjectsTo|http://maven.apache.org/plugins/maven-invoker-plugin/run-mojo.html#cloneProjectsTo]. That way, all the test output can be redirected into the normal target directory:
{code:xml}
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
{code}

> Clean up IT test output when running mvn clean.
> -----------------------------------------------
>
>                 Key: MINVOKER-21
>                 URL: http://jira.codehaus.org/browse/MINVOKER-21
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Paul Gier
>             Fix For: 1.2
>
>
> Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/MINVOKER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124378 ]

Olivier Lamy commented on MINVOKER-21:
--------------------------------------

I'm tempted to say won't fix because the benjamin's comment is a good idea and do the job.
Paul have you try that ?



> Clean up IT test output when running mvn clean.
> -----------------------------------------------
>
>                 Key: MINVOKER-21
>                 URL: http://jira.codehaus.org/browse/MINVOKER-21
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Paul Gier
>             Fix For: 1.2
>
>
> Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/MINVOKER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124387 ]

Paul Gier commented on MINVOKER-21:
-----------------------------------

Yes, using that option works fine for me too.  If you want you can close the issue or schedule it for an undefined future release if you think having a clean mojo would be useful.

> Clean up IT test output when running mvn clean.
> -----------------------------------------------
>
>                 Key: MINVOKER-21
>                 URL: http://jira.codehaus.org/browse/MINVOKER-21
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Paul Gier
>             Fix For: 1.2
>
>
> Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Olivier Lamy closed MINVOKER-21.
--------------------------------

      Assignee: Olivier Lamy
    Resolution: Won't Fix

workaround is to use
{code:xml}
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
{code}

> Clean up IT test output when running mvn clean.
> -----------------------------------------------
>
>                 Key: MINVOKER-21
>                 URL: http://jira.codehaus.org/browse/MINVOKER-21
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Paul Gier
>            Assignee: Olivier Lamy
>             Fix For: 1.2
>
>
> Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (MINVOKER-21) Clean up IT test output when running mvn clean.

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Olivier Lamy updated MINVOKER-21:
---------------------------------

    Fix Version/s:     (was: 1.2)

> Clean up IT test output when running mvn clean.
> -----------------------------------------------
>
>                 Key: MINVOKER-21
>                 URL: http://jira.codehaus.org/browse/MINVOKER-21
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Paul Gier
>            Assignee: Olivier Lamy
>
> Not sure if there is an easy way to do this, but it would be nice if the invoker plugin could be set up so that during a "mvn clean" the target directories and the build.log created by the integration tests would be cleaned up.

--
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