Hi, I am using Maven 1.0b7 and XDoclet 1.2b2 Maven Plugin (downloaded from
xdoclet.sf.net)
When I use XDoclet's goal - xdoclet:ejbdoclet, I get the following
exception:
[ejbdoclet] [ERROR] java.lang.NullPointerException
[ejbdoclet] [ERROR] at
org.apache.commons.logging.LogFactory.getFact
ory(LogFactory.java:326)
[ejbdoclet] [ERROR] at
org.apache.commons.logging.LogFactory.getLog(
LogFactory.java:401)
[ejbdoclet] [ERROR] at
xdoclet.util.LogUtil.getLog(LogUtil.java:26)
[ejbdoclet] [ERROR] at
xdoclet.ConfigParamIntrospector.fillConfigPar
amsHashMapUsingReflectionFor(ConfigParamIntrospector.java:140)
[ejbdoclet] [ERROR] at
xdoclet.ConfigParamIntrospector.fillConfigPar
amsFor(ConfigParamIntrospector.java:102)
I noticed that once I installed commons-logging 1.0.2 into my repository and
changed XDoclet's dependency to use commons-logging 1.0.2, I can get past
that point.
So, my question is, should XDoclet's plugin depends on commons-logging 1.0.2
instead?
I have also made two changes to XDoclet's plugin and am wondering if these
changes are "proper" in the spirit of Maven and XDoclet plugin:
1. I added
<pathelement path="${plugin.getDependencyPath('xdoclet+ejb-module')}"/>
to the taskdef/classpath section of the ejbdoclet goal. Otherwise, I got a
class not found exception for "xdoclet.modules.ejb.EjbDocletTask".
2. I added
<dependency>
<id>xdoclet+ejb-module</id>
<version>1.2b2</version>
</dependency>
to XDoclet's project.xml file.
It makes sense to me to list XDoclet plugin's dependency in the XDoclet
project.xml file instead of my own project.xml file.
Any advice is appreciated.
Thanks,
Charles
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user