hi all,
i suddenly started to receive a disaster exception while generating
hibernate mappings using xdoclet2
maven2 plugin...

i have used following configuration

<plugin>
   <groupId>xdoclet</groupId>
   <artifactId>maven2-xdoclet2-plugin</artifactId>
   <version>2.0.5-SNAPSHOT</version>
   <executions>
       <execution>
       <id>xdoclet</id>
       <phase>process-classes</phase>
       <goals>
           <goal>xdoclet</goal>
       </goals>
       </execution>
   </executions>
   <dependencies>
       <dependency>
       <groupId>xdoclet-plugins</groupId>
       <artifactId>xdoclet-plugin-hibernate</artifactId>
       <version>1.0.4-SNAPSHOT</version>
       </dependency>
   </dependencies>
   <configuration>
       <configs>
       <config>
           <components>
           <component>
               <classname>
org.xdoclet.plugin.hibernate.HibernateMappingPlugin</classname>
                <params>
                   <version>3.0</version>
                   <destdir>${project.build.outputDirectory}</destdir>
                            </params>
           </component>
           </components>


       </config>
       </configs>
   </configuration>
</plugin>

i had it at work as of friday.... now i receive followign exception

[INFO] Failed to configure plugin parameters for:
xdoclet:maven2-xdoclet2-plugin
:2.0.5-SNAPSHOT



Cause: Cannot find setter nor field in org.codehaus.xdoclet.Config for
'componen
ts'
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring:
xdocl
et:maven2-xdoclet2-plugin. Reason: Unable to parse the created DOM for
plugin co
nfiguration
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(Defa
ultLifecycleExecutor.java:563)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(Defau
ltLifecycleExecutor.java:454)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLi
fecycleExecutor.java:140)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)

       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.PluginConfigurationException: Error
configuri
ng: xdoclet:maven2-xdoclet2-plugin. Reason: Unable to parse the created DOM
for
plugin configuration
       at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields
(Def
aultPluginManager.java:1036)
       at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
(Defaul
tPluginManager.java:576)
       at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPlugi
nManager.java:390)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(Defa
ultLifecycleExecutor.java:534)
       ... 16 more
Caused by:
org.codehaus.plexus.component.configurator.ComponentConfigurationExce
ption: Cannot find setter nor field in org.codehaus.xdoclet.Config for
'componen
ts'
       at
org.codehaus.plexus.component.configurator.converters.ComponentValueS
etter.<init>(ComponentValueSetter.java:68)
       at
org.codehaus.plexus.component.configurator.converters.composite.Objec
tWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java
:134)
       at
org.codehaus.plexus.component.configurator.converters.composite.Objec
tWithFieldsConverter.fromConfiguration(ObjectWithFieldsConverter.java:90)
       at
org.codehaus.plexus.component.configurator.converters.composite.Colle
ctionConverter.fromConfiguration(CollectionConverter.java:177)
       at
org.codehaus.plexus.component.configurator.converters.ComponentValueS
etter.configure(ComponentValueSetter.java:207)
       at
org.codehaus.plexus.component.configurator.converters.composite.Objec
tWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java
:137)
       at
org.codehaus.plexus.component.configurator.BasicComponentConfigurator
.configureComponent(BasicComponentConfigurator.java:56)
       at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields
(Def
aultPluginManager.java:1030)
       ... 19 more
[INFO]
------------------------------------------------------------------------



could anyone help please?

thanks in advance and regards
 marco
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to