You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephen Duncan Jr (JIRA)" <ji...@codehaus.org> on 2007/04/05 19:52:02 UTC

[jira] Created: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Cannot Deploy Using Webdav due to DependencyManagement
------------------------------------------------------

                 Key: MNG-2934
                 URL: http://jira.codehaus.org/browse/MNG-2934
             Project: Maven 2
          Issue Type: Bug
          Components: Dependencies, Deployment
    Affects Versions: 2.0.6
            Reporter: Stephen Duncan Jr
         Attachments: pom.xml

The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.

The resulting output is:

[duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
[INFO] Scanning for projects...
[INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
-----------------------------------------------------
this realm = app0.child-container[extensions]
urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
Number of imports: 0


this realm = plexus.core
urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
Number of imports: 0
-----------------------------------------------------
[INFO] ----------------------------------------------------------------------------
[INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
[INFO]    task-segment: [deploy]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from snapshots
[WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
[INFO] Repository 'snapshots' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav

Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
[INFO] Final Memory: 6M/10M
[INFO] ------------------------------------------------------------------------



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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Stephen Duncan Jr (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97324 ] 

Stephen Duncan Jr commented on MNG-2934:
----------------------------------------

Jason, I don't understand the relevancy of your comment.  I have a parent POM that specifies a newer version of commons-httpclient in dependencyManagement.  In any project using this parent POM, the webdav wagon does not work because that newer version is used, instead of the correct dependency of the webdav wagon.  Whether I have specified an actual dependency on commons-httpclient doesn't have any effect.  The problem here is that some change between Maven 2.0.5 and 2.0.6 caused the extension's dependencies and/or classloader to be affected by the project's dependency resolution.  Extensions should be able to load their dependencies in an isolated fashion, so that the webdav wagon can work on a  project that requires the newer commons-httpclient.  

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jochen Wiedmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99179 ] 

Jochen Wiedmann commented on MNG-2934:
--------------------------------------

Ok, confirmed, 2.0.7-SNAPSHOT works. I didn't have declared wagon-webdav as an extension.


> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Jason van Zyl
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Updated: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Sanchez updated MNG-2934:
--------------------------------

    Fix Version/s: 2.0.7

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jochen Wiedmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99174 ] 

Jochen Wiedmann commented on MNG-2934:
--------------------------------------

Is this actually fixed? I still do have the same problem, with 2.0.7-SNAPSHOT as available from Jason's home on people.apache.org with a date of 10-June-2007.


> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Jason van Zyl
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Reopened: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl reopened MNG-2934:
--------------------------------


> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Jason van Zyl
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Closed: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2934.
------------------------------


Problem fixed for the 2.0.7 release. Same fix applied to the trunk.

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Patrick Schneider
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Stephen Duncan Jr (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97379 ] 

Stephen Duncan Jr commented on MNG-2934:
----------------------------------------

Further testing shows the problem only occurs when specifying the version in dependencyManagement; a direct dependency on the newer commons-httpclient (without dependencyManagement) does not seem to effect the wagon-webdav being loaded as an extension. 

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jochen Wiedmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99171 ] 

Jochen Wiedmann commented on MNG-2934:
--------------------------------------

Is this actually fixed? I've got the same problem with 2.0.7-SNAPSHOT, as picked from prople.apache.org/~jvanzyl some minutes ago.


> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Jason van Zyl
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Updated: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-2934:
-------------------------------

    Description: 
The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
The resulting output is:
[duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
[INFO] Scanning for projects...
[INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
-----------------------------------------------------
this realm = app0.child-container[extensions]
urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
Number of imports: 0
this realm = plexus.core
urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
Number of imports: 0
-----------------------------------------------------
[INFO] ----------------------------------------------------------------------------
[INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
[INFO]    task-segment: [deploy]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from snapshots
[WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
[INFO] Repository 'snapshots' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
[INFO] Final Memory: 6M/10M
[INFO] ------------------------------------------------------------------------

  was:
The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.

The resulting output is:

[duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
[INFO] Scanning for projects...
[INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
-----------------------------------------------------
this realm = app0.child-container[extensions]
urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
Number of imports: 0


this realm = plexus.core
urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
Number of imports: 0
-----------------------------------------------------
[INFO] ----------------------------------------------------------------------------
[INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
[INFO]    task-segment: [deploy]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from snapshots
[WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
[INFO] Repository 'snapshots' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav

Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
[INFO] Final Memory: 6M/10M
[INFO] ------------------------------------------------------------------------




You need to specify the version in dependencyManagement to lock down the version, but you must also specify the dependency itself. Listing a dependency in the dependencyManagement section is only a statement of your version preference. The dependency listed does not go into the graph.

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Closed: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2934.
------------------------------

    Resolution: Fixed

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Jason van Zyl
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Updated: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-2934:
-------------------------------

    Priority:     (was: Major)

Running integration tests now. It was a simple fix of not giving the managed dependency map to the artifact resolution. The rule being extensions dependencies should not be affected by the dependency requirements of the project itself.

If the ITs pass I will apply the patch and we should be close to staging 2.0.7.

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Patrick Schneider
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99176 ] 

Jason van Zyl commented on MNG-2934:
------------------------------------

If you have a problem, give me your sample build and open another issue. 

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Jason van Zyl
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99175 ] 

Jason van Zyl commented on MNG-2934:
------------------------------------

Yes, given the sample POM I was given. I correct the extension loader and the right version of httpclient is loaded.

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>            Assignee: Jason van Zyl
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Stephen Duncan Jr (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92263 ] 

Stephen Duncan Jr commented on MNG-2934:
----------------------------------------

Notes: This only happens with Maven 2.0.6, not with 2.0.5.

Also, is not only dependencyManagement that seems to break the extension, but also a direct dependency, or anything that causes the wrong version of commons-httpclient to be resolved.  Dependency resolution within the project should no affect extension dependency resolution.

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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

        

[jira] Commented: (MNG-2934) Cannot Deploy Using Webdav due to DependencyManagement

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97973 ] 

Jason van Zyl commented on MNG-2934:
------------------------------------

I needed the fuller explanation. It is the extension manager that is at fault here and the changes for MNG-1577 are affecting the resolution for extensions which is not right. Yup, this is definitely a problem.

> Cannot Deploy Using Webdav due to DependencyManagement
> ------------------------------------------------------
>
>                 Key: MNG-2934
>                 URL: http://jira.codehaus.org/browse/MNG-2934
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Deployment
>    Affects Versions: 2.0.6
>            Reporter: Stephen Duncan Jr
>             Fix For: 2.0.7
>
>         Attachments: pom.xml
>
>
> The webdav wagon requires commons-httpclient-2.0.2.jar.  If I have a dependencyManagement section that specifies commons-httpclient 3.0.1, then deployment fails.
> The resulting output is:
> [duncans@J9LAPHP-18811 webdavtest]$ mvn deploy
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.wagon:wagon-webdav: checking for updates from ce-releases
> -----------------------------------------------------
> this realm = app0.child-container[extensions]
> urls[0] = file:/home/duncans/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[1] = file:/home/duncans/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[2] = file:/home/duncans/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[3] = file:/home/duncans/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> urls[4] = file:/home/duncans/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[5] = file:/home/duncans/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[6] = file:/home/duncans/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[7] = file:/home/duncans/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
> urls[8] = file:/home/duncans/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> Number of imports: 0
> this realm = plexus.core
> urls[0] = file:/home/duncans/apps/maven/lib/maven-core-2.0.6-uber.jar
> Number of imports: 0
> -----------------------------------------------------
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Unnamed - test:webdavtest:pom:1.0-SNAPSHOT
> [INFO]    task-segment: [deploy]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing /home/duncans/tmp/webdavtest/pom.xml to /home/duncans/.m2/repository/test/webdavtest/1.0-SNAPSHOT/webdavtest-1.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> altDeploymentRepository = null
> [INFO] Retrieving previous build number from snapshots
> [WARNING] repository metadata for: 'snapshot test:webdavtest:1.0-SNAPSHOT' could not be retrieved from repository: snapshots due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav
> Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Apr 05 13:49:52 EDT 2007
> [INFO] Final Memory: 6M/10M
> [INFO] ------------------------------------------------------------------------

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