maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spou...@yahoo.fr
Subject Re : Re : Proximity
Date Fri, 20 Apr 2007 17:30:41 GMT
I've tried this : (but I think I'm so far of the right way :-(  !)

>mvn deploy:deploy-file -Dfile=./lib/asm-1.5.3.jar -DrepositoryId=proximity \
          -Durl=http://localhost:8080/px-webapp-default-1.0.0-RC8/px-webapp/dav/public \
          -DartifactId=asm -DgroupId=asm -Dversion=1.5.3 -Dpackaging=jar -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/px-webapp/dav/publi
c/asm/asm/1.5.3/asm-1.5.3.jar
25K uploaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Authorization failed: Access denied to: http://
localhost:8080/px-webapp-default-1.0.0-RC8/px-webapp/dav/public/asm/asm/1.5.3/as
m-1.5.3.jar

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact
: Authorization failed: Access denied to: http://localhost:8080/px-webapp-defaul
t-1.0.0-RC8/px-webapp/dav/public/asm/asm/1.5.3/asm-1.5.3.jar
        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: Authorization failed: Access denied to: http://localhost:8080/px-webapp-def
ault-1.0.0-RC8/px-webapp/dav/public/asm/asm/1.5.3/asm-1.5.3.jar
        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: Authorization failed: Access denied to: http://localhost:80
80/px-webapp-default-1.0.0-RC8/px-webapp/dav/public/asm/asm/1.5.3/asm-1.5.3.jar
        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: Authorization failed:
 Access denied to: http://localhost:8080/px-webapp-default-1.0.0-RC8/px-webapp/d
av/public/asm/asm/1.5.3/asm-1.5.3.jar
        at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(D
efaultWagonManager.java:257)
        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
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access d
enied to: http://localhost:8080/px-webapp-default-1.0.0-RC8/px-webapp/dav/public
/asm/asm/1.5.3/asm-1.5.3.jar
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(Lightw
eightHttpWagon.java:165)
        at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(D
efaultWagonManager.java:222)
        ... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Apr 20 17:28:13 GMT 2007
[INFO] Final Memory: 2M/5M
[INFO] ------------------------------------------------------------------------


----- Message d'origine ----
De : Tamás Cservenák <t.cservenak@gmail.com>
À : Maven Users List <users@maven.apache.org>
Envoyé le : Vendredi, 20 Avril 2007, 16h02mn 48s
Objet : Re: Re : Proximity

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 <waynefay@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








      
___________________________________________________________________________ 
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message