org.apache.maven.InternalErrorException

Internal error: java.lang.RuntimeException: Error occurred while publishing artifact to Artifactory: C:\hudson_home\jobs\AuditingWebService-Build-release-2.2.1\workspace\AuditingWebService\AuditingWebService-installer\target\izpack\CustomComponents.jar. Skipping deployment of remaining artifacts (if any) and build info.

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 web401

  • Internal error: java.lang.RuntimeException: Error occurred while publishing artifact to Artifactory: C:\hudson_home\jobs\AuditingWebService-Build-release-2.2.1\workspace\AuditingWebService\AuditingWebService-installer\target\izpack\CustomComponents.jar. Skipping deployment of remaining artifacts (if any) and build info.
  • via JFrog JIRA by Alessandro Dionisi, 10 months ago
    Internal error: java.lang.RuntimeException: Error occurred while publishing artifact to Artifactory: C:\hudson_home\jobs\AuditingWebService-Build-release-2.2.1\workspace\AuditingWebService\AuditingWebService-installer\target\izpack\CustomComponents.jar. Skipping deployment of remaining artifacts (if any) and build info.
  • via JFrog JIRA by Alessandro Dionisi, 1 year ago
    Internal error: java.lang.RuntimeException: Error occurred while publishing artifact to Artifactory: C:\hudson_home\jobs\AuditingWebService-Build-release-2.2.1\workspace\AuditingWebService\AuditingWebService-installer\target\izpack\CustomComponents.jar. Skipping deployment of remaining artifacts (if any) and build info.
  • Stack trace

    • org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Error occurred while publishing artifact to Artifactory: C:\hudson_home\jobs\AuditingWebService-Build-release-2.2.1\workspace\AuditingWebService\AuditingWebService-installer\target\izpack\CustomComponents.jar. Skipping deployment of remaining artifacts (if any) and build info. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) 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.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:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:98) at hudson.maven.Maven3Builder.call(Maven3Builder.java:64) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.RuntimeException: Error occurred while publishing artifact to Artifactory: C:\hudson_home\jobs\AuditingWebService-Build-release-2.2.1\workspace\AuditingWebService\AuditingWebService-installer\target\izpack\CustomComponents.jar. Skipping deployment of remaining artifacts (if any) and build info. at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deployArtifacts(BuildDeploymentHelper.java:134) at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy(BuildDeploymentHelper.java:78) at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded(BuildInfoRecorder.java:128) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:170) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 19 more Caused by: java.io.IOException: Failed to deploy file: HTTP response code: 409. HTTP response message: Failed to read POM for 'it/ids/AuditingWebService-installer/2.2.1/AuditingWebService-installer-2.2.1.pom': only whitespace content allowed before start tag and not P (position: START_DOCUMENT seen P... @1:1) . at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:641) at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:516) at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:291) at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deployArtifacts(BuildDeploymentHelper.java:132) ... 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

    Unknown user
    Once, 1 year ago