maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James William Dumay (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (WAGON-244) Deploying to WebDAV repository fails in IAE
Date Fri, 26 Sep 2008 00:12:45 GMT

     [ http://jira.codehaus.org/browse/WAGON-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James William Dumay updated WAGON-244:
--------------------------------------

    Attachment: wagon-jackrabbit-webdav.patch

Patch fixes a bug where it strips out more slashes than it should.

Ill have a testcase for this shortly.

> Deploying to WebDAV repository fails in IAE
> -------------------------------------------
>
>                 Key: WAGON-244
>                 URL: http://jira.codehaus.org/browse/WAGON-244
>             Project: Maven Wagon
>          Issue Type: Bug
>    Affects Versions: 1.0-beta-4
>         Environment: Windows XP, Cygwin, Maven 2.1.0-M1
>            Reporter: Mark Hobson
>         Attachments: pom.xml, wagon-jackrabbit-webdav.patch
>
>
> Under Maven 2.1.0-M1, deploying to a WebDAV repository fails with:
> {noformat}java.lang.IllegalArgumentException: Host name may not be null
>         at hidden.org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68)
>         at hidden.org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107)
>         at hidden.org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280)
>         at hidden.org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220)
>         at hidden.org.apache.commons.httpclient.methods.ExpectContinueMethod.<init>(ExpectContinueMethod.java:93)
>         at hidden.org.apache.commons.httpclient.methods.EntityEnclosingMethod.<init>(EntityEnclosingMethod.java:119)
>         at hidden.org.apache.jackrabbit.webdav.client.methods.DavMethodBase.<init>(DavMethodBase.java:58)
>         at hidden.org.apache.jackrabbit.webdav.client.methods.MkColMethod.<init>(MkColMethod.java:32)
>         at org.apache.maven.wagon.providers.webdav.WebDavWagon.doMkCol(WebDavWagon.java:143)
>         at org.apache.maven.wagon.providers.webdav.WebDavWagon.mkdirs(WebDavWagon.java:118)
>         at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:273)
>         at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:232)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:263)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
>         at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
>         at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:458)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:676)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:538)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:517)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:369)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:330)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
>         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: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){noformat}
> Run mvn deploy with attached pom.xml.  Works under Maven 2.0.9 (albeit with a correct
repository URL) but fails under Maven 2.1.0-M1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message