maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hobson (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MDEPLOY-85) Deploying to WebDAV repository fails in IAE
Date Thu, 25 Sep 2008 16:34:45 GMT
Deploying to WebDAV repository fails in IAE
-------------------------------------------

                 Key: MDEPLOY-85
                 URL: http://jira.codehaus.org/browse/MDEPLOY-85
             Project: Maven 2.x Deploy Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Windows XP, Cygwin, Maven 2.1.0-M1
            Reporter: Mark Hobson
         Attachments: pom.xml

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