You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sp...@yahoo.fr on 2007/04/20 17:06:11 UTC

Re : Proximity

you're 100% right !  

this is the new situation :


C:\works\workspaceM2\TutelecOJV-v1.3>mvn deploy:deploy-file -Dfile=./lib/asm-1.5.3.jar \
         -DrepositoryTd=proximity  -Durl=http://localhost:8080/px-webapp-default-1.0.0-RC8/repository \
         -DartifactId=asm -DgroupId=asm -Dversion=1.5.3 -Dpackaging=j ar -e

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Unnamed - com:TutelecOJV-v1.3:jar:1.3
[INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
[INFO] -------------------------------------------------------------------------
---
[INFO] [deploy:deploy-file]
Uploading: http://localhost:8080/px-webapp-default-1.0.0-RC8/repository/asm/asm/
1.5.3/asm-1.5.3.jar
25K uploaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file: http://localhost:8080/
px-webapp-default-1.0.0-RC8/repository/asm/asm/1.5.3/asm-1.5.3.jar. Return code
is: 500

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact
: Failed to transfer file: http://localhost:8080/px-webapp-default-1.0.0-RC8/rep
ository/asm/asm/1.5.3/asm-1.5.3.jar. Return code is: 500
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:564)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:493)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:463)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:224)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
        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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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 artif
act: Failed to transfer file: http://localhost:8080/px-webapp-default-1.0.0-RC8/
repository/asm/asm/1.5.3/asm-1.5.3.jar. Return code is: 500
        at org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.
java:243)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:420)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        ... 16 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error
 deploying artifact: Failed to transfer file: http://localhost:8080/px-webapp-de
fault-1.0.0-RC8/repository/asm/asm/1.5.3/asm-1.5.3.jar. Return code is: 500
        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Def
aultArtifactDeployer.java:94)
        at org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.
java:239)
        ... 18 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer fi
le: http://localhost:8080/px-webapp-default-1.0.0-RC8/repository/asm/asm/1.5.3/a
sm-1.5.3.jar. Return code is: 500
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(Lightw
eightHttpWagon.java:172)
        at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(D
efaultWagonManager.java:222)
        at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(Def
aultWagonManager.java:151)
        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Def
aultArtifactDeployer.java:80)
        ... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Apr 20 14:42:51 GMT 2007
[INFO] Final Memory: 2M/5M
[INFO] ------------------------------------------------------------------------

Cheers
Nawfel
www.ilem.ma

----- Message d'origine ----
De : Thorsten Heit <th...@gmx.de>
À : Maven Users List <us...@maven.apache.org>
Envoyé le : Vendredi, 20 Avril 2007, 13h01mn 44s
Objet : Re: Proximity

Hi,

> The problem is : when I try to deploy (upload) a jar using this command
> line :
> 
> 
> 
> >mvn deploy:deploy-file -Dfile=./lib/asm-1.5.3.jar
> -DrepositoryTd=proximity \         
> 
>          
> -Durl=scp://localhost:8080/px-webapp-default-1.0.0-RC8/repository   \
> 
>           -DartifactId=asm -DgroupId=asm -Dversion=1.5.3 -Dpackaging=jar
> -e

I don't use Proximity, but I wondered why you try to deploy the artifact via SSH to your repository that is accessible via HTTP...? Shouldn't the URL start with http://, webdav:// or similar?


HTH

Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org








      
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

Re: Re : Proximity

Posted by Tamás Cservenák <t....@gmail.com>.
Hi,

Proximity is not able to "receive" artifacts on URL
http://localhost:8080/px-webapp-default-1.0.0-RC8/repository (that
evaluates in this case to
http://localhost:8080/px-webapp-default-1.0.0-RC8/repository/asm/asm/).
This servlet is the "repository" servlet that is RO only and offers
"view" to users and M2 itself.

I will try to explain using DEMO site:

Currently, with RC8 the only deployment way is via DAV or using some "bypass".

DAV:
http://proximity.abstracthorizon.org:12000/px-webapp/dav/public

You have to address the group, where you want to deploy. This might be
bad, if you have multiple resposes in same group, but it works with
"factory" configuration.

"Bypass":
Publish onto underlying FS, by publishing it over FTP or SFTP....


Hope helps,
~t~

On 4/20/07, Wayne Fay <wa...@gmail.com> wrote:
> Perhaps check your web/app server/Proximity log files and see why its
> returning error 500. This is a pretty generic error message. You might
> not be able to diagnose this from Maven's side.
>
> Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Re : Proximity

Posted by Wayne Fay <wa...@gmail.com>.
Perhaps check your web/app server/Proximity log files and see why its
returning error 500. This is a pretty generic error message. You might
not be able to diagnose this from Maven's side.

Wayne

On 4/20/07, spouynt@yahoo.fr <sp...@yahoo.fr> wrote:
> you're 100% right !
>
> this is the new situation :
>
>
> C:\works\workspaceM2\TutelecOJV-v1.3>mvn deploy:deploy-file -Dfile=./lib/asm-1.5.3.jar \
>         -DrepositoryTd=proximity  -Durl=http://localhost:8080/px-webapp-default-1.0.0-RC8/repository \
>         -DartifactId=asm -DgroupId=asm -Dversion=1.5.3 -Dpackaging=j ar -e
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'deploy'.
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Building Unnamed - com:TutelecOJV-v1.3:jar:1.3
> [INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] [deploy:deploy-file]
> Uploading: http://localhost:8080/px-webapp-default-1.0.0-RC8/repository/asm/asm/
> 1.5.3/asm-1.5.3.jar
> 25K uploaded
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Failed to transfer file: http://localhost:8080/
> px-webapp-default-1.0.0-RC8/repository/asm/asm/1.5.3/asm-1.5.3.jar. Return code
> is: 500
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact
> : Failed to transfer file: http://localhost:8080/px-webapp-default-1.0.0-RC8/rep
> ository/asm/asm/1.5.3/asm-1.5.3.jar. Return code is: 500
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:564)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> Goal(DefaultLifecycleExecutor.java:493)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:463)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:224)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>        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(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        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 artif
> act: Failed to transfer file: http://localhost:8080/px-webapp-default-1.0.0-RC8/
> repository/asm/asm/1.5.3/asm-1.5.3.jar. Return code is: 500
>        at org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.
> java:243)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:420)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
>        ... 16 more
> Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error
>  deploying artifact: Failed to transfer file: http://localhost:8080/px-webapp-de
> fault-1.0.0-RC8/repository/asm/asm/1.5.3/asm-1.5.3.jar. Return code is: 500
>        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Def
> aultArtifactDeployer.java:94)
>        at org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.
> java:239)
>        ... 18 more
> Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer fi
> le: http://localhost:8080/px-webapp-default-1.0.0-RC8/repository/asm/asm/1.5.3/a
> sm-1.5.3.jar. Return code is: 500
>        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(Lightw
> eightHttpWagon.java:172)
>        at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(D
> efaultWagonManager.java:222)
>        at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(Def
> aultWagonManager.java:151)
>        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Def
> aultArtifactDeployer.java:80)
>        ... 19 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Fri Apr 20 14:42:51 GMT 2007
> [INFO] Final Memory: 2M/5M
> [INFO] ------------------------------------------------------------------------
>
> Cheers
> Nawfel
> www.ilem.ma
>
> ----- Message d'origine ----
> De : Thorsten Heit <th...@gmx.de>
> À : Maven Users List <us...@maven.apache.org>
> Envoyé le : Vendredi, 20 Avril 2007, 13h01mn 44s
> Objet : Re: Proximity
>
> Hi,
>
> > The problem is : when I try to deploy (upload) a jar using this command
> > line :
> >
> >
> >
> > >mvn deploy:deploy-file -Dfile=./lib/asm-1.5.3.jar
> > -DrepositoryTd=proximity \
> >
> >
> > -Durl=scp://localhost:8080/px-webapp-default-1.0.0-RC8/repository   \
> >
> >           -DartifactId=asm -DgroupId=asm -Dversion=1.5.3 -Dpackaging=jar
> > -e
>
> I don't use Proximity, but I wondered why you try to deploy the artifact via SSH to your repository that is accessible via HTTP...? Shouldn't the URL start with http://, webdav:// or similar?
>
>
> HTH
>
> Thorsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
> http://fr.answers.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org