maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran" <dant...@gmail.com>
Subject Re: Is there a good way to accomplish this in a project with multiple modules?
Date Thu, 18 Oct 2007 20:09:08 GMT
have antrun at the same profile that produce your test.

-D

On 10/18/07, Yan Huang <azyhuang@gmail.com> wrote:
> 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
>

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


Mime
View raw message