Hi, I'm trying to use this guide http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
and I am running into some issues. 1 - I can't get the maven classpath passed into ant. I've seen several unanswered questions about this very issue. I saw something about switching to 2.1 of the maven-script-ant to fix this, but when I try that I get: java.lang.LinkageError: loader constraint violation: loader (instance of org/codehaus/classworlds/RealmClassLoader) previously initiated loading for a different type with name "org/codehaus/plexus/component/repository/ComponentDescriptor" 2 - I cant seem to find any documentation about the mojos.xml file format/schema. Does this exist anywhere? 3 - The maven plugin-plugin has been updated to 2.5 although the example in the documentation has 2.3. When I update to 2.5 I get: "The API of the mojo scanner is not compatible with this plugin version. Please check the plugin dependencies configured in the POM and ensure the versions match." I'm not sure what that message means, or how to go about fixing it. Hopefully someone out there has the answers, I would very much like to use this plugin. -- View this message in context: http://www.nabble.com/Developing-Ant-Plugins-problems-tp25531301p25531301.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
