java - Maven enunciate error: "String index out of range: 0" -


when build maven project or generate eclipse configuration using mvn eclipse:eclipse, following error:

[error] failed execute goal org.codehaus.enunciate:maven-enunciate-plugin:1.28:docs (default) on project appserver-server: problem assembling enunciate app. string index out of range: 0 -> [help 1] 

i have isolated issue single dependency:

<dependency>     <groupid>com.tinkerpop.blueprints</groupid>     <artifactid>blueprints-neo4j-graph</artifactid>     <version>2.4.0</version> </dependency> 

i need dependency, getting rid of isn't option why causing error in enunciate appear? there way fix this?

edit: after further testing, root of problem may dependency of dependency of dependency of dependency of previous dependency:

<dependency>     <groupid>org.scala-lang</groupid>     <artifactid>scala-library</artifactid>     <version>2.10.4</version> </dependency> 

full error:

[error] failed execute goal org.codehaus.enunciate:maven-enunciate-plugin:1.28:docs (default) on project appserver-server: problem assembling enunciate app. string index out of range: 0 -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.codehaus.enunciate:maven-enunciate-plugin:1.28:docs (default) on project appserver-server: problem assembling enunciate app.     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:216)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145)     @ org.apache.maven.lifecycle.internal.mojoexecutor.executeforkedexecutions(mojoexecutor.java:364)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:198)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145)     @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:84)     @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:59)     @ org.apache.maven.lifecycle.internal.lifecyclestarter.singlethreadedbuild(lifecyclestarter.java:183)     @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:161)     @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:317)     @ org.apache.maven.defaultmaven.execute(defaultmaven.java:152)     @ org.apache.maven.cli.mavencli.execute(mavencli.java:555)     @ org.apache.maven.cli.mavencli.domain(mavencli.java:214)     @ org.apache.maven.cli.mavencli.main(mavencli.java:158)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:606)     @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:289)     @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:229)     @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:415)     @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:356) caused by: org.apache.maven.plugin.mojoexecutionexception: problem assembling enunciate app.     @ org.codehaus.enunciate.docsmojo.execute(docsmojo.java:100)     @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:106)     @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:208)     ... 23 more caused by: java.lang.stringindexoutofboundsexception: string index out of range: 0     @ java.lang.string.charat(string.java:658)     @ org.codehaus.enunciate.main.importedclassesclasspathhandler.handleresource(importedclassesclasspathhandler.java:55)     @ org.codehaus.enunciate.main.enunciate.scanclasspath(enunciate.java:462)     @ org.codehaus.enunciate.main.enunciate.dogenerate(enunciate.java:355)     @ org.codehaus.enunciate.configmojo$mavenspecificenunciate.dogenerate(configmojo.java:670)     @ org.codehaus.enunciate.main.enunciate$stepper.step(enunciate.java:1799)     @ org.codehaus.enunciate.main.enunciate$stepper.stepto(enunciate.java:1831)     @ org.codehaus.enunciate.docsmojo.execute(docsmojo.java:96)     ... 25 more 

yep. reported , fixed here.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -