diff --git a/core/src/main/java/hudson/ClassicPluginStrategy.java b/core/src/main/java/hudson/ClassicPluginStrategy.java index 54b95aa796..694a127c6e 100644 --- a/core/src/main/java/hudson/ClassicPluginStrategy.java +++ b/core/src/main/java/hudson/ClassicPluginStrategy.java @@ -157,12 +157,12 @@ public class ClassicPluginStrategy implements PluginStrategy { } } - // native m2 support moved to a plugin starting 1.295, so plugins built before that + // native m2 support moved to a plugin starting 1.296, so plugins built before that // needs to have an implicit dependency to the maven-plugin, or NoClassDefError will ensue. String hudsonVersion = manifest.getMainAttributes().getValue("Hudson-Version"); String shortName = manifest.getMainAttributes().getValue("Short-Name"); if (!"maven-plugin".equals(shortName) && - (hudsonVersion == null || hudsonVersion.compareTo("1.295") <= 0)) { + (hudsonVersion == null || hudsonVersion.compareTo("1.296") <= 0)) { optionalDependencies.add(new PluginWrapper.Dependency("maven-plugin:" + Hudson.VERSION)); }