org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.something rom/to External-Repo (http://localhost:9080/repository/internal): Bad Request (400)

archiva-users | Bk Lau | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Deploy URL for "internal" repository

    archiva-users | 3 years ago | Bk Lau
    org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.something rom/to External-Repo (http://localhost:9080/repository/internal): Bad Request (400)
  2. 0

    Re: Deploy URL for "internal" repository

    archiva-users | 3 years ago | Bk Lau
    org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.abc:HelloWorld:war:1.0.0 from/to External-Repo ( http://localhost:9080/archiva/repository/internal/): HTTP method PUT is not supported by this URL (405)

    Root Cause Analysis

    1. org.eclipse.aether.transfer.ArtifactTransferException

      Could not transfer artifact org.something rom/to External-Repo (http://localhost:9080/repository/internal): Bad Request (400)

      at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed()
    2. Aether Connector Basic
      BasicRepositoryConnector.put
      1. org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
      2. org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
      3. org.eclipse.aether.connector.basic.BasicRepositoryConnector.put(BasicRepositoryConnector.java:274)
      3 frames
    3. Aether Implementation
      DefaultRepositorySystem.deploy
      1. org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:335)
      2. org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:269)
      3. org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:434)
      3 frames