maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Jeszenszky (JIRA)" <>
Subject [jira] Commented: (MSITE-564) site:stage creates a strange directory structure in the case of multi module projects
Date Sat, 12 Mar 2011 09:21:22 GMT


Peter Jeszenszky commented on MSITE-564:


When I execute the goal site:stage using the 3.0-beta-4-SNAPSHOT
maven-site-plugin it produces the following error:

  The site does not exist, please run site:site first.

I also tried

  mvn site:site site:stage

that gives the error below:

  Missing distribution management in project parent.

I have attached a little project to reproduce the original error
with 3.0-beta-3.

The ZIP file contains the strange directory structure also.
It seems to me it is somehow related to the maven-javadoc-plugin.
If the reference to the maven-javadoc-plugin is removed from the
POM, the error does not occur.

> site:stage creates a strange directory structure in the case of multi module projects
> -------------------------------------------------------------------------------------
>                 Key: MSITE-564
>                 URL:
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site:stage(-deploy)
>    Affects Versions: 3.0-beta-3
>         Environment: Fedora 14, Apache Maven 3.0.2/3.0.3
>            Reporter: Peter Jeszenszky
>            Priority: Minor
> The site:stage goal does not work properly on Linux in the case of multi
> module projects, it has an annoying side effect. The command
>   mvn site:stage -PstagingDirectory=/home/user/staging
> creates a strange directory structure under each module directory. After
> the execution of the command I got the following directory structure:
>   child-dir/
>     home/
>       user/
>         projects/
>           parent/
>             ...
>     src/
>     target/
> Notice the home/user/projects/parent/... directory under child-dir/
> (/home/user/projects/parent is the path of parent). The strange
> directory structure contains no files.

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