maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Rollo (JIRA)" <>
Subject [jira] Commented: (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL
Date Thu, 01 Dec 2011 03:30:40 GMT


Dan Rollo commented on MSITE-600:

I tested this issue using maven-site-plugin:3.1-SNAPSHOT, and a parent pom (that happens to
NOT be located above the child pom [like a shared corporate pom] - in case it matters). The
behavior of the site plugin snapshot is "better", in that I can work around the issue and
get something to deploy, but I'm seeing the problems below:

Invalid paths being created/attempted, like:

(where the un-interpolated '${project.basedir}' actually shows in the path.

Also (not sure if it is related), I'm seeing a bogus empty directory getting created by the
site-deploy goal.
This bogus dir is always empty, but it is outside (above) the 'target' dir, so I'm pretty
sure that is not intended:
(the 2 or 3 deep empty directory tree is created in the current directory from which 'mvn'
was executed).

Also, I noticed these bogus directories may be created in different levels (above 'target'
dir) depending on whether you run:
mvn site-deploy
mvn site site:stage site-deploy
mvn site && mvn site:stage && mvn site-deploy

Should I open new bugs? Any other info I can share? 

> site plugin 3.0 does not permit a child to fully override parent site deployment URL
> ------------------------------------------------------------------------------------
>                 Key: MSITE-600
>                 URL:
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 2.3, 3.0
>            Reporter: Benson Margulies
>            Assignee: Lukas Theussl
>             Fix For: 2.4, 3.1
>         Attachments: child-pom.xml, muddle.tar, parent-pom.xml
> The test cases here has a parent with a a distributionManagement/site/url, and then a
child which overrides it with an absolute URL. Except that the override does not work ...
or, at least, looks quite peculiar. 
> the parent is file:///tmp/bloop
> the child is scp://localhost:/tmp/blop
> and the result is 
> [INFO] Error uploading site
> Embedded error: Could not make directory '/tmp/bloop/../../Users/benson/asf/mvn/site-interp-muddle/child/scp:/localhost:/tmp/blop'.
> [INFO] ---------------------------------------

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message