Good day, Martin M. If you use an aggregating goal and call it last it your mvn command, that will run after all modules have been processed.
Also, if you want, you can delcare another module and declare the build that you want to do in there. And to make sure that it is executed at the very last, add to its list of dependencies all the other modules of the base project. Cheers, Franz Martin M wrote: > > Hi all, > > I have a project with several sub-projects. > When I execute "mvn clean package", the clean and the package phases of > the base-project are executed first and then the clean and package phases > of the sub-projects. > > Is there a way to define tasks or plugins in the base-project, which can > be executed after sub-project execution? > I need such a task to perform an obfuscation over all created jar-files of > the sub-projects at the same time. > > Thanks in advance! > > Regards, > Martin > -- View this message in context: http://www.nabble.com/lifecycle-of-projects-with-sub-projects-tf3052881s177.html#a8487571 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
