Maven Javadoc 'Cannot find default setter' and fails -


i'm trying generate javadocs maven project, , i'm running error every time.
unable parse configuration of mojo org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc parameter #: cannot find default setter in class org.apache.maven.plugin.javadoc.options.group. command i'm using mvn javadoc:javadoc root directory, pom is.

i don't have groups configured @ all, or have special configuration @ all. same error whether omit plugin in pom completely, add reporting, or add build plugin. i've tried adding empty groups well, , while message changes somewhat, still appears.

i ran across this question, a. don't have testng dependencies, b. i'm not using command line parameters, , c. never resolved.

it selenium project, suppose there similar, can't figure out. ideas? i've included maven debug stack trace below.

[error] failed execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc (default-cli) on project selenium: unable parse configuration of mojo org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc parameter #: cannot find default setter in class org.apache.maven.plugin.javadoc.options.group -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc (default-cli) on project selenium: unable parse configuration of mojo org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc parameter #: cannot find default setter in class org.apache.maven.plugin.javadoc.options.group     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:220)     ... caused by: org.apache.maven.plugin.pluginconfigurationexception: unable parse configuration of mojo org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc parameter #: cannot find default setter in class org.apache.maven.plugin.javadoc.options.group     @ org.apache.maven.plugin.internal.defaultmavenpluginmanager.populatepluginfields(defaultmavenpluginmanager.java:605)     @ org.apache.maven.plugin.internal.defaultmavenpluginmanager.getconfiguredmojo(defaultmavenpluginmanager.java:537)     @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:119)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:208)     ... 19 more caused by: org.codehaus.plexus.component.configurator.componentconfigurationexception: cannot find default setter in class org.apache.maven.plugin.javadoc.options.group     @ org.eclipse.sisu.plexus.compositebeanhelper.setdefault(compositebeanhelper.java:95)     @ org.codehaus.plexus.component.configurator.converters.composite.objectwithfieldsconverter.fromconfiguration(objectwithfieldsconverter.java:61)     @ org.codehaus.plexus.component.configurator.converters.composite.abstractcollectionconverter.fromchildren(abstractcollectionconverter.java:54)     @ org.codehaus.plexus.component.configurator.converters.composite.arrayconverter.fromconfiguration(arrayconverter.java:57)     @ org.eclipse.sisu.plexus.compositebeanhelper.convertproperty(compositebeanhelper.java:273)     @ org.eclipse.sisu.plexus.compositebeanhelper.setproperty(compositebeanhelper.java:210)     @ org.codehaus.plexus.component.configurator.converters.composite.objectwithfieldsconverter.processconfiguration(objectwithfieldsconverter.java:101)     @ org.codehaus.plexus.component.configurator.basiccomponentconfigurator.configurecomponent(basiccomponentconfigurator.java:32)     @ org.apache.maven.plugin.internal.defaultmavenpluginmanager.populatepluginfields(defaultmavenpluginmanager.java:575)     ... 22 more 

that error message indicates configurator can't turn string instance. instead of doing like

<groups>   <group>com.example</group>   ... </groups> 

try reworking groups usage example:

<groups>   <group>     <title>core packages</title>     <!-- includes java.lang, java.lang.ref,     java.lang.reflect , java.util     (i.e. not java.util.jar) -->     <packages>java.lang*:java.util</packages>   </group>   <group>     <title>extension packages</title>      <!-- include javax.accessibility,     javax.crypto, ... (among others) -->     <packages>javax.*</packages>   </group> </groups> 

Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -