From be736c343d2830873709d795ca9cfd4310f00f63 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Fri, 6 Mar 2009 17:54:51 +0000 Subject: [PATCH] fixed a compatibility issue. See http://www.nabble.com/Promotion-Plugin-Broken-in-Build--1.287-td22376101.html git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16056 71c3de6d-444a-0410-be80-ed276b4c234a --- .../src/main/java/hudson/maven/RedeployPublisher.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/src/main/java/hudson/maven/RedeployPublisher.java b/core/src/main/java/hudson/maven/RedeployPublisher.java index f09045cbf0..1ccbd540ae 100644 --- a/core/src/main/java/hudson/maven/RedeployPublisher.java +++ b/core/src/main/java/hudson/maven/RedeployPublisher.java @@ -119,6 +119,17 @@ public class RedeployPublisher extends Recorder { @Extension public static class DescriptorImpl extends BuildStepDescriptor { + public DescriptorImpl() { + } + + /** + * @deprecated as of 1.290 + * Use the default constructor. + */ + protected DescriptorImpl(Class clazz) { + super(clazz); + } + public boolean isApplicable(Class jobType) { return jobType==MavenModuleSet.class; }