You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/05/27 00:58:15 UTC

[jira] Closed: (MPCLEAN-2) Allow plugins to register with clean similar to report

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Wed, 26 May 2004 6:58 PM

try adding:
<preGoal name="clean:clean">
 <attainGoal name="torque:clean" />
</preGoal>

In the torque plugin.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCLEAN-2

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCLEAN-2
    Summary: Allow plugins to register with clean similar to report
       Type: Improvement

     Status: Closed
   Priority: Minor
 Resolution: WON'T FIX

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-clean-plugin

   Assignee: 
   Reporter: thierry lach

    Created: Wed, 26 May 2004 10:00 AM
    Updated: Wed, 26 May 2004 6:58 PM

Description:
Using the torque plugin as an example, there are a number of generated files not located under ${maven.build.dir} that should be part of the cleanup.  Ideally there would be a torque:clean goal that takes care of these generated files.  For this goal to be executed automatically as part of "maven clean", the developer needs to add a preGoal or postGoal in maven.xml.

It should not be necessary for a maven plugin user to modify maven.xml to accomplish standard cleanup of a plugin.  The user should be able to expect that a plugin can clean up after itself in an integrated manner.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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