Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.0-beta-1
-
None
-
Using 3.0.0-beta-1-SNAPSHOT of site plugin and maven 3.0.0-beta-1 (snapshot version from 5/3).
Description
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.
Attachments
Issue Links
- duplicates
-
MSITE-494 deploying with weddav doesn't work
- Closed