Hi I've investigated http://jira.codehaus.org/browse/MSITE-477 which is about wrong paths being created between parent and modules when staging a site.
After some digging, I've now found the root of the problem to be that PathUtils.basedir(String url) in Wagon doesn't gracefully handle URLs without a protocol. One could argue that a URL isn't a URL if it doesn't have a protocol, but that's another discussion. This does lead to an off-by-one error when creating the paths between parent and modules, effectively making the staged site unusable. IIUC Wagon is an integral part of Maven core. How (if possible) would I go about fixing this for the Site Plugin. I have a fix with unit tests ready for Wagon, but it doesn't seem to make a difference to the Site Plugin when I upgrade it's Wagon dependency to my locally built 1.0-beta-7-SNAPSHOT. Copying the PathUtils class into the Site Plugin in the same package as in Wagon doesn't work either. Any ideas? -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
