You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2010/08/11 00:43:32 UTC

[jira] Updated: (MSITE-481) Deploy site:deploy not working for maven 3 for DAV

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

Olivier Lamy updated MSITE-481:
-------------------------------

         Priority: Critical  (was: Major)
    Fix Version/s: 3.0-beta-2
         Assignee: Olivier Lamy

> Deploy site:deploy not working for maven 3 for DAV
> --------------------------------------------------
>
>                 Key: MSITE-481
>                 URL: http://jira.codehaus.org/browse/MSITE-481
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 3.0-beta-1
>         Environment: Using 3.0.0-beta-1-SNAPSHOT of site plugin and maven 3.0.0-beta-1 (snapshot version from 5/3).
>            Reporter: Eric Berry
>            Assignee: Olivier Lamy
>            Priority: Critical
>             Fix For: 3.0-beta-2
>
>
> Sorry if this is not where this goes.
> I include this in my pom
> 		<extensions>
> 			<extension>
> 				<groupId>org.apache.maven.wagon</groupId>
> 				<artifactId>wagon-webdav-jackrabbit</artifactId>
> 				<version>1.0-beta-6</version>
> 			</extension>
> 		</extensions>
> There seems to be a conflict between this extension and
>  	<reporting>
> 		<plugins>
> 			<plugin>
> 				<groupId>org.apache.maven.plugins</groupId>
> 				<artifactId>maven-project-info-reports-plugin</artifactId>
> 				<version>2.2</version>
> I get an error saying that there are two versions of org.apache.commons.logging.LogFactory in the ClassLoader.
> I fixed this problem by modifying the wagon-webdav-jackrabbit pom to exlcude commons-logging from its dependencies and specified a dependency on commons-logging-1.1.1.  So that is problem number 1.
> At that point when I tried to deploy my site, I get this error:
> Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://vmswdev1/product-sites/config/SNAPSHOT/./css/maven-base.css. Return code is: 401
> My site distribtion management setting is:
> 		<site>
> 			<id>sweng-projects</id>
> 			<url>dav+https://${webdavserver.hostname}/config/${product-sites.version}</url>
> 		</site>
> My server setting in settings.xml is (actual values replaced with ***):
> 	<server>
> 		<id>sweng-projects</id>
> 		<username>****</username>
> 		<password>****</password>
> 	</server>
> Problem number 2 is that site:deploy does not seem to using the username/password info from settings.xml.

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