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/02/11 20:07:03 UTC
[maven-site-plugin] 01/02: Remove deprecated method
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git
commit b7f70112fd5fe159bb94fa52ab4c265cae0798f5
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Feb 11 20:50:16 2023 +0100
Remove deprecated method
---
.../java/org/apache/maven/plugins/site/AbstractSiteMojo.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java b/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
index 6f6c153b..47ab39cf 100644
--- a/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
+++ b/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
@@ -27,7 +27,6 @@ import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugins.annotations.Component;
import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.project.MavenProject;
-import org.apache.maven.rtinfo.RuntimeInformation;
import org.codehaus.plexus.i18n.I18N;
/**
@@ -83,14 +82,6 @@ public abstract class AbstractSiteMojo extends AbstractMojo {
@Parameter(defaultValue = "${reactorProjects}", required = true, readonly = true)
protected List<MavenProject> reactorProjects;
- @Component
- protected RuntimeInformation runtimeInformation;
-
- @Deprecated
- protected String getMavenVersion() {
- return runtimeInformation.getMavenVersion();
- }
-
protected List<Locale> getLocales() {
return siteTool.getSiteLocales(locales);
}