bendg wrote at Dienstag, 9. März 2010 10:44: > > Hi > > I am seeing issues with executing regular expressions using ant > replaceregexp when running with maven. I have included ant-no-depends, > ant-optionals, even ant-apache-regexp, it works fine if I run mvn clean > install from the module directory. > > If I go to the parent (which includes the child module using modules tag), > I get ClassNotFoundexception cannot find JDK14RegexpMatcher > > any ideas?
Plugin's are loaded only once and the first usage will defined its classpath. Therefore if you added those deps locally for your module and in your overall build another module makes also usage of the ant-run-plugin and that one is executed first, your local deps are missing. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
