[ 
http://jira.codehaus.org/browse/MECLIPSE-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257936#action_257936
 ] 

Holger Hoffstätte commented on MECLIPSE-680:
--------------------------------------------

Could be the same problem as MECLIPSE-642.

> StringIndexOutOfBoundsException on Apache Commons VFS Core
> ----------------------------------------------------------
>
>                 Key: MECLIPSE-680
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-680
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Ubuntu 10.10, Maven 3.0.2, Apache Commons VFS r1075087
>            Reporter: James Shaw
>
> The error given by {{mvn eclipse:eclipse -X}} is:
> {code}
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Commons VFS ....................................... SUCCESS [2.278s]
> [INFO] Commons VFS Core .................................. FAILURE [0.473s]
> [INFO] Commons VFS Examples .............................. SKIPPED
> [INFO] Commons VFS Sandbox ............................... SKIPPED
> [INFO] Commons VFS Distribution .......................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 4.872s
> [INFO] Finished at: Sun Feb 27 16:54:37 GMT 2011
> [INFO] Final Memory: 13M/32M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse (default-cli) on 
> project commons-vfs2: Execution default-cli of goal 
> org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse failed: String 
> index out of range: -5 -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse (default-cli) 
> on project commons-vfs2: Execution default-cli of goal 
> org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse failed: String 
> index out of range: -5
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:616)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
> default-cli of goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse 
> failed: String index out of range: -5
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:116)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>       ... 19 more
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: -5
>       at java.lang.String.substring(String.java:1949)
>       at java.lang.String.substring(String.java:1916)
>       at 
> org.apache.maven.plugin.eclipse.writers.EclipseSettingsWriter.write(EclipseSettingsWriter.java:111)
>       at 
> org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:1113)
>       at 
> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:511)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>       ... 20 more
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to