org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.5.1:deploy (default-deploy) on project parent-pom: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081/nexus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4772

  • via Sonatype JIRA by Peter Lynch, 1 year ago
    Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.5.1:deploy (default-deploy) on project parent-pom: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081/nexus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
  • via Sonatype JIRA by Peter Lynch, 1 year ago
    Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.1:deploy (default) on project lucene: Execution default of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.1:deploy failed: Nexus connection problem to URL [https://localhost/nexus/service/local/staging/deploy/maven2/ ]: Cannot find a matching staging profile
  • via Sonatype JIRA by Peter Lynch, 11 months ago
    Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6:deploy-staged-repository (default-cli) on project staging-test-project: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6:deploy-staged-repository failed: Nexus connection problem to URL [https://localhost:8443/nexus ]: ProxyInfo and BaseUrl protocols does not align!
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.5.1:deploy (default-deploy) on project parent-pom: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081
    • exus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:317) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Nexus connection problem to URL [http://cft-nexus.ldn.swissbank.com:8081
    • exus/ ]: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) at org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.createNexusClient(RemotingImpl.java:236) at org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.getNexusClient(RemotingImpl.java:139) at org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.getStagingWorkflowV2Service(RemotingImpl.java:151) at org.sonatype.nexus.maven.staging.deploy.strategy.AbstractStagingDeployStrategy.initRemoting(AbstractStagingDeployStrategy.java:97) at org.sonatype.nexus.maven.staging.deploy.strategy.StagingDeployStrategy.deployPerModule(StagingDeployStrategy.java:70) at org.sonatype.nexus.maven.staging.deploy.DeployMojo.execute(DeployMojo.java:193) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()) at org.sonatype.plexus.rest.xstream.xml.LookAheadXppDriver.loadLibrary(LookAheadXppDriver.java:66) at org.sonatype.plexus.rest.xstream.xml.LookAheadXppDriver.createReader(LookAheadXppDriver.java:52) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1011) at org.sonatype.nexus.client.internal.rest.XStreamXmlProvider.readFrom(XStreamXmlProvider.java:84) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:565) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:517) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:684) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507) at org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.getStatus(JerseyNexusClient.java:147) at org.sonatype.nexus.client.internal.rest.AbstractNexusClient.initializeConnection(AbstractNexusClient.java:87) at org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.<init>(JerseyNexusClient.java:91) at org.sonatype.nexus.client.rest.jersey.NexusClientFactoryImpl.createFor(NexusClientFactoryImpl.java:110) at org.sonatype.nexus.maven.staging.deploy.strategy.RemotingImpl.createNexusClient(RemotingImpl.java:221) ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.