Re: Help getting m2 poms for 3.0.2 release
"Simone Bordet" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, as an update, following most of Jason's suggestions mvn clean install -Dtest=false builds fine for me. Whew. One big issue I have is that test classes have dependencies between modules. For example, class JMXConnectorTestCase is a base class defined in the tests for module jsr160. However, this class is also used as a base class for tests in the tools module. Is there a way to tell maven that test classes in one module depend on test classes of another module ? Or I am forced to write a dummy module that only contains a couple of base test classes ? This problem is particularly complicated in the jsr003 module, where the base test classes depend on the jsr003 main classes. In this case a separate jsr003-test module is not extractable, because it depends on jsr003 module, which will depend on jsr003-test module for its tests (did not try, to be honest, to check if maven resolves circular dependencies, but I doubt). Any thoughts ? Simon -- http://bordet.blogspot.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV