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 01:10:15 UTC

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

The following comment has been added to this issue:

     Author: thierry lach
    Created: Wed, 26 May 2004 7:08 PM
       Body:
Maven's plugin structure is so rich and so process-oriented that IMHO it is counterproductive for each developer to have to find out if a plugin provides a clean goal, then modify the maven.xml to include it.

Shouldn't a plugin attempt to provide as much functionality as possible without additional configuration?

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPCLEAN-2?page=comments#action_20125

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