maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin von Gagern (JIRA)" <>
Subject [jira] Commented: (MSHARED-16) stage dies at normalization of relative path
Date Mon, 30 Jun 2008 10:47:26 GMT


Martin von Gagern commented on MSHARED-16:

Verifying with maven-doxia-tools 1.0 I encountered MSHARED-32. With maven-doxia-tools 1.0.1
I got no error. So I confirm this is fixed.

> stage dies at normalization of relative path
> --------------------------------------------
>                 Key: MSHARED-16
>                 URL:
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-doxia-tools
>         Environment: Linux
>            Reporter: Martin von Gagern
>         Attachments: normalizeRelativePaths.patch,
> Since r640091, DefaultSiteTool from maven-doxia-tools tries to normalize paths, which
fails, as the current plexus-utils don't handle normalization of relative paths, and the stage
mojo seems to use them quite extensively.
> I have attached a small testcase, a parent project with a single child, and site:stage
as the default goal, so you can simply run "mvn" on the parent. Debugging this shows that
FileUtils.normalize is handed a path starting in "../../".
> I have also attached a patch to plexus-utils that makes FileUtils.normalize handle relative
paths, but I'm not sure if this would be intended, and I can't test it, because I can't get
maven use the latest snapshot of plexus-utils, even if stated as an explicit dependency of
the site plugin.
> See also:

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message