You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/07/23 23:01:10 UTC
[GitHub] [maven] michael-o commented on a diff in pull request #765: Experiment: warn on ancient plugin
michael-o commented on code in PR #765:
URL: https://github.com/apache/maven/pull/765#discussion_r928173326
##########
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java:
##########
@@ -419,6 +424,29 @@ private void createPluginRealm( PluginDescriptor pluginDescriptor, MavenSession
pluginDescriptor.setClassRealm( pluginRealm );
pluginDescriptor.setArtifacts( pluginArtifacts );
+
+ try
+ {
+ GenericVersionScheme versionScheme = new GenericVersionScheme();
+ Version minimumVersion = versionScheme.parseVersion( "3.1.0" );
Review Comment:
Would it make sense to make is static final to avoid constant parsing?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org