--- Daniel Beland <[EMAIL PROTECTED]> wrote:
> Hi, > > > Thanks for the info but it looks like I'm doing > things the right way. > > I can use the maven-xdoclet2-plugin with plugins > 1.0.3 without any problem. > I modified the maven plugin and the depdencies in my > project to use > 1.0.4-SNAPSHOT and I cannot get rid of the error: > Here is how I invoke it > > <xdoclet verbose="false"> > <fileset > dir="c:\eclipse\workspace\DBInterface/src"> > <include name="**/*.java"/> > </fileset> > <component > classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin" > encoding="utf-8" > version="3.0" > validate="false" > > destdir="c:\eclipse\workspace\DBInterface/xdoclet/hibernatedoclet" > > > </component> > </xdoclet> > > > I always get this error and I don't know how to get > rid of it: > > org.picocontainer.defaults.AmbiguousComponentResolutionException: > Ambiguous interface > org.xdoclet.QDoxPropertyExpander, resolves to > multiple > keys > [class > org.xdoclet.ant.XDocletTask$PropertyComposer, > class org.xdoclet.tools.SystemQDoxPropertyExpander, > class > org.xdoclet.ant.XDocletTask$MyPropertiesQDoxPropertyExpander] > > > I suppose I am using a wrong version of a > dependency, or there is a new > property I should declare on my component. Someone > has any idea? Yes, I have one ;) It's a bug in our current snapshot. ( we just registered all the available property expanders - 3 of them in the container. this leds to this ambuguity exception ) I have disabled their registration and snapshot will be deployed in next 10 minutes. ( there shall be no need to change your config ) regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest