Hi,
I can't get maven modules run in desired order.
I have ported test-reporting for the testsuite.
Now I am trying to put it to right place in POM.
Ideally, `mvn install site` should have reporting by default, `-DnoReport` should skip reporting.
I've tried:
1) Having in testsuite/pom.xml, bound to the site phase.
This needs to run `mvn site` in a separate command, like `mvn install; mvn site`, since with `mvn install site` reporting would run before the submodules (with tests) were run.
2) Having it in testsuite/reporting/pom.xml
Because of how testsuite/pom.xml is written (multiple profiles activating modules used to separate certain test groups),
reporting must be defined in a profile, in order to run it after other submodules.
That blocks having it auto-activated since it's not possible to move auto-activated profiles after property-activated.
So it's only possible to having it not running by default, and running on-demand. (And that's what I am going to use as fallback solution.)
Any idea how should I get this working "ideally", as defined above?
Thanks,
Ondra
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev