[
https://jira.codehaus.org/browse/MRM-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=334919#comment-334919
]
Kosala De Silva edited comment on MRM-1786 at 10/30/13 11:04 PM:
-----------------------------------------------------------------
This is the error I got in the eclipse. Also I have attached the archiva logs
as well.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building com Ejb Client 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ com-ejb-client ---
[INFO] Deleting /Office/workspace/comEjbClientAS7/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
com-ejb-client ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/Office/workspace/comEjbClientAS7/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
com-ejb-client ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e.
build is platform dependent!
[INFO] Compiling 15 source files to
/Office/workspace/comEjbClientAS7/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
com-ejb-client ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/Office/workspace/comEjbClientAS7/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
com-ejb-client ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ com-ejb-client ---
[INFO] No tests to run.
[INFO] Surefire report directory:
/Office/workspace/comEjbClientAS7/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ com-ejb-client ---
[INFO] Building jar:
/Office/workspace/comEjbClientAS7/target/com-ejb-client-1.0.0.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
com-ejb-client ---
[INFO] Installing
/Office/workspace/comEjbClientAS7/target/com-ejb-client-1.0.0.jar to
/home/kosala/.m2/repository/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.jar
[INFO] Installing /Office/workspace/comEjbClientAS7/pom.xml to
/home/kosala/.m2/repository/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ com-ejb-client ---
Uploading:
http://repo.com.net:8092/archiva/repository/internal/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.jar
Uploading:
http://repo.com.net:8092/archiva/repository/internal/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.068s
[INFO] Finished at: Thu Oct 31 09:18:13 IST 2013
[INFO] Final Memory: 9M/77M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on
project com-ejb-client: Failed to deploy artifacts: Could not transfer artifact
com:com-ejb-client:jar:1.0.0 from/to archiva.internal
(http://repo.com.net:8092/archiva/repository/internal/): Failed to transfer
http://repo.com.net:8092/archiva/repository/internal/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.jar.
Error code 405, HTTP method PUT is not supported by this URL -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
was (Author: kosalads):
This is the error I get in the eclipse. Also I have attached the archiva
logs.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building com Ejb Client 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ com-ejb-client ---
[INFO] Deleting /Office/workspace/comEjbClientAS7/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
com-ejb-client ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/Office/workspace/comEjbClientAS7/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
com-ejb-client ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e.
build is platform dependent!
[INFO] Compiling 15 source files to
/Office/workspace/comEjbClientAS7/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
com-ejb-client ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/Office/workspace/comEjbClientAS7/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
com-ejb-client ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ com-ejb-client ---
[INFO] No tests to run.
[INFO] Surefire report directory:
/Office/workspace/comEjbClientAS7/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ com-ejb-client ---
[INFO] Building jar:
/Office/workspace/comEjbClientAS7/target/com-ejb-client-1.0.0.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
com-ejb-client ---
[INFO] Installing
/Office/workspace/comEjbClientAS7/target/com-ejb-client-1.0.0.jar to
/home/kosala/.m2/repository/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.jar
[INFO] Installing /Office/workspace/comEjbClientAS7/pom.xml to
/home/kosala/.m2/repository/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ com-ejb-client ---
Uploading:
http://repo.com.net:8092/archiva/repository/internal/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.jar
Uploading:
http://repo.com.net:8092/archiva/repository/internal/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.068s
[INFO] Finished at: Thu Oct 31 09:18:13 IST 2013
[INFO] Final Memory: 9M/77M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on
project com-ejb-client: Failed to deploy artifacts: Could not transfer artifact
com:com-ejb-client:jar:1.0.0 from/to archiva.internal
(http://repo.com.net:8092/archiva/repository/internal/): Failed to transfer
http://repo.com.net:8092/archiva/repository/internal/com/com-ejb-client/1.0.0/com-ejb-client-1.0.0.jar.
Error code 405, HTTP method PUT is not supported by this URL -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> Apache Archiva 1.4-M4 - Deployment Issue
> ----------------------------------------
>
> Key: MRM-1786
> URL: https://jira.codehaus.org/browse/MRM-1786
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.4-M4
> Reporter: Kosala De Silva
> Fix For: 2.0.0
>
> Attachments: archiva-19700101.log, archiva.log, archiva.pid,
> request-20131031.log, wrapper-20131031.log
>
>
> However, when I try to deploy the artifact through eclipse (Kepler) Im
> getting the below error.
> Error code 405, HTTP method PUT is not supported by this URL
> For more details pls refer
> http://stackoverflow.com/questions/19313521/apache-archiva-1-4-m4-deployment-issue
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira