org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist

JFrog JIRA | Elifarley Cruz | 7 years ago
  1. 0

    When I try to deploy an artifact to my Artifactory 2.2.1 server, I receive this error: --- [INFO ] Retrieving previous build number from artifactory [INFO ] repository metadata for: 'snapshot net.webb.mplace:mplace-ear:2.2.3-SNAPSHOT' could not be found on repository: artifactory, so will be created [INFO ] Retrieving previous metadata from artifactory [INFO ] repository metadata for: 'snapshot net.webb.mplace:mplace-ear:2.2.3-SNAPSHOT' could not be found on repository: artifactory, so will be created [INFO ] Uploading repository metadata for: 'snapshot net.webb.mplace:mplace-ear:2.2.3-SNAPSHOT' [INFO ] Retrieving previous metadata from artifactory [INFO ] Uploading repository metadata for: 'artifact net.webb.mplace:mplace-ear' [INFO ] Uploading project information for mplace-ear 2.2.3-SNAPSHOT org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:102) at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:119) at hudson.maven.reporters.MavenAggregatedArtifactRecord.deploy(MavenAggregatedArtifactRecord.java:79) at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:213) at hudson.model.TaskThread.run(TaskThread.java:118) Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException: Error while deploying metadata: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:450) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:86) ... 4 more Caused by: org.apache.maven.wagon.TransferFailedException: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:283) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:169) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:446) ... 5 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(LightweightHttpWagon.java:168) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244) ... 7 more --- Looking at the Artifactory log, I saw this: --- 2010-03-08 10:05:11,182 [http-8080-16] [WARN ] (o.a.j.JcrServiceImpl:39) - Ignoring bad XML stream while importing '/repositories/libs-snapshots-local/net/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom/artifactory:xml': Invalid byte 2 of 3-byte UTF-8 sequence.. 2010-03-08 10:05:11,246 [http-8080-16] [WARN ] (o.a.r.j.StoringRepoMixin:543) - IO error while trying to save resource libs-snapshots-local:net/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom'': Invalid byte 2 of 3-byte UTF-8 sequence. ---

    JFrog JIRA | 7 years ago | Elifarley Cruz
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist
  2. 0

    When I try to deploy an artifact to my Artifactory 2.2.1 server, I receive this error: --- [INFO ] Retrieving previous build number from artifactory [INFO ] repository metadata for: 'snapshot net.webb.mplace:mplace-ear:2.2.3-SNAPSHOT' could not be found on repository: artifactory, so will be created [INFO ] Retrieving previous metadata from artifactory [INFO ] repository metadata for: 'snapshot net.webb.mplace:mplace-ear:2.2.3-SNAPSHOT' could not be found on repository: artifactory, so will be created [INFO ] Uploading repository metadata for: 'snapshot net.webb.mplace:mplace-ear:2.2.3-SNAPSHOT' [INFO ] Retrieving previous metadata from artifactory [INFO ] Uploading repository metadata for: 'artifact net.webb.mplace:mplace-ear' [INFO ] Uploading project information for mplace-ear 2.2.3-SNAPSHOT org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:102) at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:119) at hudson.maven.reporters.MavenAggregatedArtifactRecord.deploy(MavenAggregatedArtifactRecord.java:79) at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:213) at hudson.model.TaskThread.run(TaskThread.java:118) Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException: Error while deploying metadata: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:450) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:86) ... 4 more Caused by: org.apache.maven.wagon.TransferFailedException: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:283) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:169) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:446) ... 5 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(LightweightHttpWagon.java:168) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244) ... 7 more --- Looking at the Artifactory log, I saw this: --- 2010-03-08 10:05:11,182 [http-8080-16] [WARN ] (o.a.j.JcrServiceImpl:39) - Ignoring bad XML stream while importing '/repositories/libs-snapshots-local/net/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom/artifactory:xml': Invalid byte 2 of 3-byte UTF-8 sequence.. 2010-03-08 10:05:11,246 [http-8080-16] [WARN ] (o.a.r.j.StoringRepoMixin:543) - IO error while trying to save resource libs-snapshots-local:net/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom'': Invalid byte 2 of 3-byte UTF-8 sequence. ---

    JFrog JIRA | 7 years ago | Elifarley Cruz
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Resource to deploy not found: File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist
  3. 0

    Jenkins users - Trouble deploying to Archiva from Hudson

    nabble.com | 12 months ago
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error > deploying artifact: Unable to transfer file. HttpURLConnection > returned the response code: 401
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Artifactory - Users - mvn deploy on Artifactory gives File transfer error (Return Code 401)

    jfrog.org | 11 months ago
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: . Return code is: 401
  6. 0

    mvn deploy: Resource to deploy not found

    Stack Overflow | 2 years ago | Dreamer
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Resource to deploy not found: File: http://maven.myRepo/artifactory/my-release-local/com/app/myApp/my-dependencies/this-dependency0.0.1-/dependency-0.0.1.jar does not exist

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.wagon.ResourceDoesNotExistException

      File: http://chronos:8080/artifactory/libs-snapshots-local/br/com/webb/mplace/mplace-ear/2.2.3-SNAPSHOT/mplace-ear-2.2.3-SNAPSHOT.pom does not exist

      at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put()
    2. Maven
      DefaultArtifactDeployer.deploy
      1. org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(LightweightHttpWagon.java:168)
      2. org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
      3. org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:169)
      4. org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:446)
      5. org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:86)
      5 frames
    3. Legacy Maven 2 job type Plugin
      MavenAbstractArtifactRecord$1.perform
      1. hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:119)
      2. hudson.maven.reporters.MavenAggregatedArtifactRecord.deploy(MavenAggregatedArtifactRecord.java:79)
      3. hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:213)
      3 frames
    4. Hudson
      TaskThread.run
      1. hudson.model.TaskThread.run(TaskThread.java:118)
      1 frame