maven xerces-2_2_1
Hi there, are there any known problems with xerces-2_2_1 or xerces-apis-2_2_1 and maven? I use org.apache.html.dom.HTMLDocumentImpl and my class and test is running well in eclipse, but until i use maven to run the tests i got a error: loader constraints violated when linking org/w3c/dom/Element class java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Element class Does maven use a different version of xerces? Does maven extend the classpath for the junit tests with more then the dependencies? Thanks for any hints! Stefan --- open technology: http://www.media-style.com open source: http://www.weta-group.net open discussion:http://www.text-mining.org
Generating EJBs with XDoclet plugin
Hi, I'm just starting to use the Maven plugin to build the EJBs. I declared the xdoclet plugin as follows: dependency groupIdxdoclet/groupId artifactIdmaven-xdoclet-plugin/artifactId version1.2/version typeplugin/type urlhttp://xdoclet.sourceforge.net//url /dependency I've got also the following dependencies in my project: dependency groupIdxdoclet/groupId artifactIdxdoclet/artifactId version1.2/version urlhttp://xdoclet.sourceforge.net//url /dependency dependency groupIdxdoclet/groupId artifactIdxdoclet-ejb-module/artifactId version1.2/version urlhttp://xdoclet.sourceforge.net//url /dependency dependency groupIdxdoclet/groupId artifactIdxdoclet-jboss-module/artifactId version1.2/version urlhttp://xdoclet.sourceforge.net//url /dependency dependency groupIdxdoclet/groupId artifactIdxdoclet-jmx-module/artifactId version1.2/version urlhttp://xdoclet.sourceforge.net//url /dependency However, when I run maven xdoclet:ejbdoclet I obtain the following exception: BUILD FAILED File.. file:/C:/Documents and Settings/mtedone/.maven/plugins/maven-xdoclet-plugin-1.2/ Element... taskdef Line.. 5746 Column 81 taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found Total time: 4 seconds Finished at: Sun Mar 14 19:26:09 GMT 2004 Obviously the EjbDocletTask class is not in the classpath, although I declared it as a dependency. How could I solve this problem? Many thanks, Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plugin configuration and behavior
Hi Eric, I just tried your suggestion, but got an error because the project.xml file for the maven-javadoc-plugin extends ../project.xml, which doesn't exist. What can I do? Cheers, Chuck --- Eric Giguere [EMAIL PROTECTED] wrote: Hi Charles When applying patches to a plugin, you should then afterward install it in maven so that the cache for goals is refreshed and all files deployed. You can perform this by calling plugin:install goal from the directory where the source of the modified plugin. Never got that error if you modify an existing goal, but I guess that when adding goals, the install call in necessary. Hope it helps. Eric. Charles Daniels wrote: Hi, I am quite new to Maven and am having a difficult time understanding some behavior I am seeing with respect to plugins. I have been doing some experimentation with the javadoc plugin to try to resolve some other issue, but ran across some behavior that I don't understand. In an attempt to mimic the war:load goal, I placed an empty javadoc:load goal within the plugin.jelly file of the javadoc plugin (v1.4). Then, I added javadoc:load to the prereqs of the javadoc goal. When I run 'maven javadoc', I can see from the output that the javadoc:load goal was attained prior to the javadoc goal, as expected. However, when I attempt to directly attain the javadoc:load goal (via 'maven javadoc:load'), I get the following message: INTERNAL ERROR Reference made to goal 'javadoc:load' which has no definition. What am I missing? Why would I get this message when I directly attempt to attain the javadoc:load goal, but get no complaints when it is attained via a prereq? I am getting very confused by Maven's behavior. Any clarification on this type of behavior will be greatly appreciated. Cheers, Chuck - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie question about Plugin versions
Hi there, just one question : How can I tell Maven to use a newer version of a plugin ? Actually RC1 is using checkstyle 2.1 but I want to use 3.2 ? Is that possible ? Regards Christopher Rammensée - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]