Actually, the solution is pretty simple here: copy/paste. All the logic is in a TestCaseHelper or whatever class that is in core. We move the StrutsTestCase, only a few lines of code, into our src/test/java directory then create a new struts2-junit-plugin (or whatever) jar and copy the code in there too. Same process to solve the TestNG dependency only there, we don't even need it in src/test/java.
Don On Mon, Apr 7, 2008 at 11:43 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/4/7, Don Brown <[EMAIL PROTECTED]>: > > > * JUnit - Create struts2-junit-plugin (we'd probably have to copy the > > testcase into our test code to avoid the circular dependency, keeping > > the testhelper class in core) > > * TestNG - Create struts2-testng-plugin > > This is a difficult one, since the core must depend on the JUnit and > TestNG artifact, while these two depend on the core. Yuk! > > Antonio > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]