Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-6
-
Fix Version/s: 2.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The latest maven-site-plugin 2.0-beta-6 seems to to introduce a new bug that was NOT present in 2.0-beta-5:
Now all my modules point to the same url which is "../../opt/project/build/development/projects/../dummyhost.de"
Something goes very wrong here:
1. The link should not contain pathnames specific for the environment where it was build (/opt/project/build/development/projects) nor the hostname and path of the distributionManagement.
2. The modulename itself is totally lost and all module-links in the menu have the same href
Whatever has happend here, made it a lot worse. The site is now totally unuseable.
It seems that only mvn site was tested before the 2.0-beta-6 was released. Multimodule-Builds need to be tested with site:stage or site:deploy.
Issue Links
| This issue duplicates: | ||||
| MSITE-275 | site:stage for multimodule project creates wrong links |
|
|
|
I see this problem as well. Module links generated by site:stage and site-deploy are broken. Reverting to 2.0-beta-5 solves the issue:
Add the following plugin to the <build> in your root POM
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-5</version>
</plugin>