You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Phillips (JIRA)" <ji...@codehaus.org> on 2010/09/20 23:14:32 UTC

[jira] Created: (MSITE-505) Unable to use SVN SCM wagon to upload a site

Unable to use SVN SCM wagon to upload a site
--------------------------------------------

                 Key: MSITE-505
                 URL: http://jira.codehaus.org/browse/MSITE-505
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
          Components: site:deploy
    Affects Versions: 3.0-beta-2
         Environment: Maven 3.0-beta-3 (r990787; 2010-08-30 14:44:03+0200)
Maven site plugin 3.0-beta-3-SNAPSHOT
            Reporter: Andrew Phillips
         Attachments: mvn-X-output.txt, pom.xml

Even though the SCM project is apparently able to correctly pick up the SVN provider in the attached POM, the site plugin is unable to deploy to a site with an 'scm:svn...' URL and warns that 

[WARNING] No SCM providers configured.

Here the abbreviated output of two commands - see the attachment for the full output.

> mvn scm:status
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building SCM deploy:site test 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-scm-plugin:1.4:status (default-cli) @ scm-deploy-test ---
[INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
[INFO] Working directory: XXX
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

> mvn site:deploy -X

[DEBUG] The site will be deployed to url 'scm:svn:https://acme.com/svn/site' with id 'scm-deploy-test-site'
[DEBUG] repository protocol scm
[DEBUG] getProxy 'protocol' : scm
[DEBUG] getProxy 'protocol' : scm no ProxyInfo found
[DEBUG] found proxyInfo null
[DEBUG] authenticationInfo with id 'scm-deploy-test-site' : null
[WARNING] No SCM providers configured.
[DEBUG]  configureWagon 
[DEBUG] configureWagon server XXX
...
[DEBUG] configureWagon server XXX
[DEBUG] connect with authenticationInfo and without proxyInfo
scm:svn:https://acme.com/svn/site - Session: Opened  
 Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException: No such provider: 'svn'.
scm:svn:https://acme.com/svn/site - Session: Disconnecting  
scm:svn:https://acme.com/svn/site - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[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: (MSITE-505) Unable to use SVN SCM wagon to upload a site

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MSITE-505.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta-3
         Assignee: Olivier Lamy

fixed [rev 1001922|http://svn.apache.org/viewvc?rev=1001922&view=rev]

> Unable to use SVN SCM wagon to upload a site
> --------------------------------------------
>
>                 Key: MSITE-505
>                 URL: http://jira.codehaus.org/browse/MSITE-505
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 3.0-beta-2
>         Environment: Maven 3.0-beta-3 (r990787; 2010-08-30 14:44:03+0200)
> Maven site plugin 3.0-beta-3-SNAPSHOT
>            Reporter: Andrew Phillips
>            Assignee: Olivier Lamy
>             Fix For: 3.0-beta-3
>
>         Attachments: mvn-X-output.txt, pom.xml
>
>
> Even though the SCM project is apparently able to correctly pick up the SVN provider in the attached POM, the site plugin is unable to deploy to a site with an 'scm:svn...' URL and warns that 
> [WARNING] No SCM providers configured.
> Here the abbreviated output of two commands - see the attachment for the full output.
> > mvn scm:status
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building SCM deploy:site test 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-scm-plugin:1.4:status (default-cli) @ scm-deploy-test ---
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
> [INFO] Working directory: XXX
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> > mvn site:deploy -X
> [DEBUG] The site will be deployed to url 'scm:svn:https://acme.com/svn/site' with id 'scm-deploy-test-site'
> [DEBUG] repository protocol scm
> [DEBUG] getProxy 'protocol' : scm
> [DEBUG] getProxy 'protocol' : scm no ProxyInfo found
> [DEBUG] found proxyInfo null
> [DEBUG] authenticationInfo with id 'scm-deploy-test-site' : null
> [WARNING] No SCM providers configured.
> [DEBUG]  configureWagon 
> [DEBUG] configureWagon server XXX
> ...
> [DEBUG] configureWagon server XXX
> [DEBUG] connect with authenticationInfo and without proxyInfo
> scm:svn:https://acme.com/svn/site - Session: Opened  
>  Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException: No such provider: 'svn'.
> scm:svn:https://acme.com/svn/site - Session: Disconnecting  
> scm:svn:https://acme.com/svn/site - Session: Disconnected
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [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: (MSITE-505) Unable to use SVN SCM wagon to upload a site

Posted by "Andrew Phillips (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235853#action_235853 ] 

Andrew Phillips commented on MSITE-505:
---------------------------------------

See also http://mail-archives.apache.org/mod_mbox/maven-users/201009.mbox/%3C560995.77447.qm@web25505.mail.ukl.yahoo.com%3E

> Unable to use SVN SCM wagon to upload a site
> --------------------------------------------
>
>                 Key: MSITE-505
>                 URL: http://jira.codehaus.org/browse/MSITE-505
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 3.0-beta-2
>         Environment: Maven 3.0-beta-3 (r990787; 2010-08-30 14:44:03+0200)
> Maven site plugin 3.0-beta-3-SNAPSHOT
>            Reporter: Andrew Phillips
>         Attachments: mvn-X-output.txt, pom.xml
>
>
> Even though the SCM project is apparently able to correctly pick up the SVN provider in the attached POM, the site plugin is unable to deploy to a site with an 'scm:svn...' URL and warns that 
> [WARNING] No SCM providers configured.
> Here the abbreviated output of two commands - see the attachment for the full output.
> > mvn scm:status
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building SCM deploy:site test 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-scm-plugin:1.4:status (default-cli) @ scm-deploy-test ---
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
> [INFO] Working directory: XXX
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> > mvn site:deploy -X
> [DEBUG] The site will be deployed to url 'scm:svn:https://acme.com/svn/site' with id 'scm-deploy-test-site'
> [DEBUG] repository protocol scm
> [DEBUG] getProxy 'protocol' : scm
> [DEBUG] getProxy 'protocol' : scm no ProxyInfo found
> [DEBUG] found proxyInfo null
> [DEBUG] authenticationInfo with id 'scm-deploy-test-site' : null
> [WARNING] No SCM providers configured.
> [DEBUG]  configureWagon 
> [DEBUG] configureWagon server XXX
> ...
> [DEBUG] configureWagon server XXX
> [DEBUG] connect with authenticationInfo and without proxyInfo
> scm:svn:https://acme.com/svn/site - Session: Opened  
>  Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException: No such provider: 'svn'.
> scm:svn:https://acme.com/svn/site - Session: Disconnecting  
> scm:svn:https://acme.com/svn/site - Session: Disconnected
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [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: (MSITE-505) Unable to use SVN SCM wagon to upload a site

Posted by "Andrew Phillips (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235852#action_235852 ] 

Andrew Phillips commented on MSITE-505:
---------------------------------------

The POM includes commented-out experiments involving adding the SVN provider to the SCM and/or site plugins as plugin dependencies, and/or setting <extensions>true</extensions>. Unfortunately, neither of these helped.

One thing I noticed is that the site plugin's POM [1] contains dependencies on (amongst others) the WebDAV wagon, but not on any SVN SCM providers (WebDAV works fine for publishing sites).

[1] https://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-3.x/pom.xml

> Unable to use SVN SCM wagon to upload a site
> --------------------------------------------
>
>                 Key: MSITE-505
>                 URL: http://jira.codehaus.org/browse/MSITE-505
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 3.0-beta-2
>         Environment: Maven 3.0-beta-3 (r990787; 2010-08-30 14:44:03+0200)
> Maven site plugin 3.0-beta-3-SNAPSHOT
>            Reporter: Andrew Phillips
>         Attachments: mvn-X-output.txt, pom.xml
>
>
> Even though the SCM project is apparently able to correctly pick up the SVN provider in the attached POM, the site plugin is unable to deploy to a site with an 'scm:svn...' URL and warns that 
> [WARNING] No SCM providers configured.
> Here the abbreviated output of two commands - see the attachment for the full output.
> > mvn scm:status
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building SCM deploy:site test 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-scm-plugin:1.4:status (default-cli) @ scm-deploy-test ---
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
> [INFO] Working directory: XXX
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> > mvn site:deploy -X
> [DEBUG] The site will be deployed to url 'scm:svn:https://acme.com/svn/site' with id 'scm-deploy-test-site'
> [DEBUG] repository protocol scm
> [DEBUG] getProxy 'protocol' : scm
> [DEBUG] getProxy 'protocol' : scm no ProxyInfo found
> [DEBUG] found proxyInfo null
> [DEBUG] authenticationInfo with id 'scm-deploy-test-site' : null
> [WARNING] No SCM providers configured.
> [DEBUG]  configureWagon 
> [DEBUG] configureWagon server XXX
> ...
> [DEBUG] configureWagon server XXX
> [DEBUG] connect with authenticationInfo and without proxyInfo
> scm:svn:https://acme.com/svn/site - Session: Opened  
>  Transfer error: org.apache.maven.scm.manager.NoSuchScmProviderException: No such provider: 'svn'.
> scm:svn:https://acme.com/svn/site - Session: Disconnecting  
> scm:svn:https://acme.com/svn/site - Session: Disconnected
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [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