org.apache.maven.lifecycle.LifecycleExecutionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • [Maven 2] Parsing XML impossible [Résolu]
    via by Unknown author,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install) on project maven-linkcheck-plugin: Failed to install metadata org.apache.maven.plugins:maven-linkcheck-plugin/maven-metadata.xml: Could not parse metadata f:\hudson\hudson-slave\maven-repositories\1\org\apache\maven\plugins\maven-linkcheck-plugin\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 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:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117) 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:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181) 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:601) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to install metadata org.apache.maven.plugins:maven-linkcheck-plugin/maven-metadata.xml: Could not parse metadata f:\hudson\hudson-slave\maven-repositories\1\org\apache\maven\plugins\maven-linkcheck-plugin\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) at org.apache.maven.plugin.install.InstallMojo.installProject(InstallMojo.java:236) at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:126) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 31 more Caused by: org.apache.maven.artifact.installer.ArtifactInstallationException: Failed to install metadata org.apache.maven.plugins:maven-linkcheck-plugin/maven-metadata.xml: Could not parse metadata f:\hudson\hudson-slave\maven-repositories\1\org\apache\maven\plugins\maven-linkcheck-plugin\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111) at org.apache.maven.plugin.install.InstallMojo.installProject(InstallMojo.java:197) ... 34 more Caused by: org.sonatype.aether.installation.InstallationException: Failed to install metadata org.apache.maven.plugins:maven-linkcheck-plugin/maven-metadata.xml: Could not parse metadata f:\hudson\hudson-slave\maven-repositories\1\org\apache\maven\plugins\maven-linkcheck-plugin\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) at org.sonatype.aether.impl.internal.DefaultInstaller.install(DefaultInstaller.java:313) at org.sonatype.aether.impl.internal.DefaultInstaller.install(DefaultInstaller.java:211) at org.sonatype.aether.impl.internal.DefaultInstaller.install(DefaultInstaller.java:158) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.install(DefaultRepositorySystem.java:436) at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:107) ... 35 more Caused by: org.sonatype.aether.RepositoryException: Could not parse metadata f:\hudson\hudson-slave\maven-repositories\1\org\apache\maven\plugins\maven-linkcheck-plugin\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) at org.apache.maven.repository.internal.MavenMetadata.read(MavenMetadata.java:105) at org.apache.maven.repository.internal.MavenMetadata.merge(MavenMetadata.java:69) at org.sonatype.aether.impl.internal.DefaultInstaller.install(DefaultInstaller.java:301) ... 39 more Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1528) at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1407) at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105) at org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:1193) at org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:1122) at org.apache.maven.repository.internal.MavenMetadata.read(MavenMetadata.java:97) ... 41 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,