On 12/20/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
There was support in maven to run plugins from target/, but it was broken: MNG-2677 (originally MNG-870).
well, the eclipse plugin was using that till a few weeks ago and I can assure it was working! I was able to modify the plugin code from eclipse, to set breakpoints and to run junit tests from the IDE without having to rerun maven at all (it was only needed when adding new parameters, since the plugin descriptor had to be generated by maven). As said, the only problem was the inability to run reactor builds: for that reason the only test that was needing it was implemented using a command line call and never enabled in the surefire configuration (only run manually). I could be wrong, but if you try to get a revision before John's refactoring it should work this way. I see that the tests didn't do anything special: https://svn.apache.org/viewvc/maven/plugins/tags/maven-eclipse-plugin-2.2/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java?revision=393014&view=markup
But would indeed be best if plugin integration tests are done in the integration-test phase, using the packaged plugin from target/ (which is available from the reactor).
well, I'd love to see plugin tests working without having to package a plugin at all. It's a lot better if you are also able to run tests from an IDE. I was pretty happy on how tests were done previously apart from the multiproject stuff and a better control over the test repository... fabrizio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
