Hello, I have a maven project with multiple modules defined in the top of level. Now, after CI build, I want to grab all the test result files (pass or failure) under "target/surefire-reports" of all modules and zip them up before posting it to a specific reporting directory, where the users can browse and download the created test results zip.
I'm thinking of using "antrun" plug-in in the top level that will sweep through all of directories under the top level and look for all "target/surefire-reports" directory. However, in this method, I might need to know how many modules that have been included in "reactor" because I have some profiles that activate different set of modules for the build. Is there a way to get the built module name in the pom.xml? Or, is there a better way to accomplish above? Thanks Yan
