|
From: Yoav L. <yla...@gm...> - 2007-05-04 11:38:45
|
Correct. We will look at why 500 is being returned, as BAD_REQUEST (400) seems more appropriate for this kind of error. On 5/4/07, Frederic Simon <fre...@gm...> wrote: > >From the deploy URL, you are trying to deploy to the local repository > named "repo" ( /artifactory/repo@repo/... ). > This repo is a virtual name for "all local repo", so you cannot deploy to it. > You need to choose one of your local repostory key to deploy to. > BTW: The @repo is not needed anymore. > > On 5/3/07, KapilKapil <Kap...@ps...> wrote: > > > > I am deploying an artifact with command > > mvn deploy > > > > but getting > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying > > artifact: Failed to transfer file: http://160.11 > > 0.222.234:9393/artifactory/repo@repo/com/fol/url/mtc-0.2.3.pom. Return code > > is: 500 Internal Server Error > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48 > > 0) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav > > a:311) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) > > 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:585) > > at > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > at > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying > > artifact: Failed to transfer file: http://160 > > .110.222.234:9393/artifactory/repo@repo/com/fol/url/mtc/0.2.3/etc-0.2.3.pom. > > Return code is: 500 Internal Server Error > > at > > org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:145) > > at > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) > > ... 16 more > > Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: > > Error deploying artifact: Failed to transfer > > file: > > http://160.110.222.234:9393/artifactory/repo@repo/com/fol/url/mtc/0.2.3/etc-0.2.3.pom. > > Return code is: 500 Intern > > al Server Error > > at > > org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94) > > at > > org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:123) > > ... 18 more > > Caused by: org.apache.maven.wagon.TransferFailedException: Failed to > > transfer file: http://160.110.222.234:9393/artifact > > ory/repo@repo/com/fol/url/mtc/0.2.3/etc-0.2.3.pom. Return code is: 500 > > Internal Server Error > > at > > org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java:311) > > at > > org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237) > > at > > org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:153) > > at > > org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80) > > ... 19 more > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 23 seconds > > [INFO] Finished at: Thu May 03 17:03:46 IST 2007 > > [INFO] Final Memory: 11M/20M > > > > > > Please help ... > > -- > > View this message in context: > > http://www.nabble.com/Getting-%22Redirect-requested-but-followRedirects-is-disabled%22-error-tf3686375.html#a10304612 > > Sent from the Artifactory-Users mailing list archive at Nabble.com. > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Artifactory-users mailing list > > Art...@li... > > https://lists.sourceforge.net/lists/listinfo/artifactory-users > > > > > -- > ------------------------ > Frederic Simon - Senior Architect > AlphaCSP Israel > Malam Group > Phone: +972 3 5312388 * Fax: +972 3 5312512 Mobile: +972 54 954301 > 13 Gosh Etzion St.,Givat Shmuel 54030, Israel > http://www.alphacsp.com/ http://www.malam.com/ > ------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Artifactory-users mailing list > Art...@li... > https://lists.sourceforge.net/lists/listinfo/artifactory-users > |