Skip to content

Commit

Permalink
last bits
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Mar 31, 2023
1 parent 5d5dcb7 commit c680b8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/it/projects/MSITE-159/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ under the License.
<artifactId>maven-site-plugin</artifactId>
<version>@project.version@</version>
<configuration>
<relativizeDecorationLinks>false</relativizeDecorationLinks>
<relativizeSiteLinks>false</relativizeSiteLinks>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public abstract class AbstractSiteDescriptorMojo extends AbstractSiteMojo {
*
* @since 2.3
*/
@Parameter(property = "relativizeDecorationLinks", defaultValue = "true")
private boolean relativizeDecorationLinks;
@Parameter(property = "relativizeSiteLinks", defaultValue = "true")
private boolean relativizeSiteLinks;

protected SiteModel prepareSiteModel(Locale locale) throws MojoExecutionException {
SiteModel siteModel;
Expand All @@ -94,7 +94,7 @@ protected SiteModel prepareSiteModel(Locale locale) throws MojoExecutionExceptio
throw new MojoExecutionException("SiteToolException: " + e.getMessage(), e);
}

if (relativizeDecorationLinks) {
if (relativizeSiteLinks) {
final String url = project.getUrl();

if (url == null) {
Expand Down

0 comments on commit c680b8f

Please sign in to comment.