[ http://jira.codehaus.org/browse/MNG-2097?page=comments#action_59193 ]
Thomas Will commented on MNG-2097: ---------------------------------- I've got a similar situation. Need to perform some work prior to 'package', but only when 'package' is to be executed after. A prepare-package phase would be a clean solution and avoid any dirty workarounds. Tom. > adding a phase called prepare-package > ------------------------------------- > > Key: MNG-2097 > URL: http://jira.codehaus.org/browse/MNG-2097 > Project: Maven 2 > Type: New Feature > Components: Plugins and Lifecycle > Versions: 2.0.2 > Environment: all > Reporter: Olivier Lamy > > > Hi, > I have an artifact (packaging war). > I have some jobs to do (xdoclet-maven-plugin others internal plugin) which > are only needed for included materials in the war : > - web.xml > - automatic generated pages (about page etc..) > Actually I attached it tho the phase process-classes or test. > But when I just want to try a simple the simple : mvn -Dtest=something clean > test. > All of my .java are parsed by the plugin and all other jobs made whereas this > should be done in a phase just before packaging. > I really need a phase just before package to place all this jobs. > Probably this can be extends to phase deploy. > Olivier -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
