You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/03/31 22:00:55 UTC
[maven-site-plugin] branch renames updated: last bits
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch renames
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git
The following commit(s) were added to refs/heads/renames by this push:
new c680b8fa last bits
c680b8fa is described below
commit c680b8faed33aa74e08b6a39ba4cd7c09bd973f0
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Apr 1 00:00:50 2023 +0200
last bits
---
src/it/projects/MSITE-159/pom.xml | 2 +-
.../maven/plugins/site/descriptor/AbstractSiteDescriptorMojo.java | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/it/projects/MSITE-159/pom.xml b/src/it/projects/MSITE-159/pom.xml
index b5772b5d..374bf377 100644
--- a/src/it/projects/MSITE-159/pom.xml
+++ b/src/it/projects/MSITE-159/pom.xml
@@ -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>
diff --git a/src/main/java/org/apache/maven/plugins/site/descriptor/AbstractSiteDescriptorMojo.java b/src/main/java/org/apache/maven/plugins/site/descriptor/AbstractSiteDescriptorMojo.java
index 90c353f5..f6a7e78f 100644
--- a/src/main/java/org/apache/maven/plugins/site/descriptor/AbstractSiteDescriptorMojo.java
+++ b/src/main/java/org/apache/maven/plugins/site/descriptor/AbstractSiteDescriptorMojo.java
@@ -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;
@@ -94,7 +94,7 @@ public abstract class AbstractSiteDescriptorMojo extends AbstractSiteMojo {
throw new MojoExecutionException("SiteToolException: " + e.getMessage(), e);
}
- if (relativizeDecorationLinks) {
+ if (relativizeSiteLinks) {
final String url = project.getUrl();
if (url == null) {