archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bk Lau <bklau2...@gmail.com>
Subject Re: Deploy URL for "internal" repository
Date Wed, 05 Mar 2014 20:25:09 GMT
I'm seeing the same behaviour indicates by the bug:
http://stackoverflow.com/questions/19313521/apache-archiva-1-4-m4-deployment-issue
https://jira.codehaus.org/browse/MRM-1786

03/05/14 10:32:58.775 SEVERE: [DefaultTransferListener] Artifact transfer
failed 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)
    at
org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
    at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
    at
org.eclipse.aether.connector.basic.BasicRepositoryConnector.put(BasicRepositoryConnector.java:274)
    at
org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:335)
    at
org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:269)
   ....
    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:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.http.client.HttpResponseException: HTTP method PUT is
not supported by this URL (405)
    at
org.eclipse.aether.transport.http.HttpTransporter.handleStatus(HttpTransporter.java:458)
    at
org.eclipse.aether.transport.http.HttpTransporter.execute(HttpTransporter.java:283)
    at
org.eclipse.aether.transport.http.HttpTransporter.implPut(HttpTransporter.java:257)
    at
org.eclipse.aether.spi.connector.transport.AbstractTransporter.put(AbstractTransporter.java:117)
    at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask(BasicRepositoryConnector.java:510)
    at
org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)
    ... 14 more



On Wed, Mar 5, 2014 at 3:05 PM, Bk Lau <bklau2006@gmail.com> wrote:

> Hi :
>
> The "out-of-the-box" URL for "internal"  repository is
> http://<host name>:8080/archiva/repository/internal
> for Apache Archiva 1.3.6
>
> But for Apache Archiva 2.0.0, it seems to indicate to be something else
> because my deployment to the previous
> URL  http://<host name>:8080/archiva/repository/internal
>
> no longer works!!!
>
> Am I missing something?
>
> /BK Lau
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message