Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Not A Bug
-
Affects Version/s: 2.0-beta-6
-
Fix Version/s: None
-
Component/s: site:deploy, site:stage(-deploy)
-
Labels:None
-
Number of attachments :
Description
I use Eclipse and my modules (root and submodules) are all at the same level in the directory tree :
[eclipse_workspace]/root
[eclipse_workspace]/sub1
[eclipse_workspace]/sub2
Until the 2.0-beta-5 of the maven site plugin, when I deployed my site, I obtained this tree :
[publish]/root
[publish]/root/sub1
[publish]/root/sub2
I installed the beta-6 version, and the default behaviour has changed, I now have every module at the same level :
[publish]/root
[publish]/sub1
[publish]/sub2
So I just wondered if it was possible to have an option to choose whether we prefer to publish the submodules inside the root directory, or at the same level... ?
thx
Isabelle
Issue Links
| This issue is related to: | ||||
| MNG-3244 | inherited site url not properly handling parameters |
|
|
|
I experienced this change, too, but it was not caused by maven-site-plugin:2.0-beta-6 but actually by Maven itself after I updated to 2.0.8. The change is caused by the fix for
MNG-3134where they brought the URL inheritance for the site in line with the other URL inheritance for SCM. In other words, the directory layout of the site resembles the layout of the source repository.Isabelle, you need not wait for an option to get the old layout back. All that happened is that Maven changed the default handling when inheriting ${project.distributionManagement.site.url}. You can put a <distributionManagement> element in every of your sub POMs to specify the desired location and overwrite the otherwise inherited URL.
Nevertheless, I would appreciate some kind of option like a new POM element, too. Could imagine something like this:
This would allow for a central configuration of the site layout and spare one from copy&paste'ing in the sub POMs.
MNG-3134where they brought the URL inheritance for the site in line with the other URL inheritance for SCM. In other words, the directory layout of the site resembles the layout of the source repository. Isabelle, you need not wait for an option to get the old layout back. All that happened is that Maven changed the default handling when inheriting ${project.distributionManagement.site.url}. You can put a <distributionManagement> element in every of your sub POMs to specify the desired location and overwrite the otherwise inherited URL. Nevertheless, I would appreciate some kind of option like a new POM element, too. Could imagine something like this: