提交 b8795f04 编写于 作者: K kohsuke

MavenReporter needs to be serializable, since they are sent to the slave where...

MavenReporter needs to be serializable, since they are sent to the slave where the maven execution actually happens.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2204 71c3de6d-444a-0410-be80-ed276b4c234a
上级 5bbd722c
......@@ -9,6 +9,7 @@ import hudson.tasks.BuildStep;
import org.apache.maven.project.MavenProject;
import java.io.IOException;
import java.io.Serializable;
/**
* Listens to the build execution of {@link MavenBuild},
......@@ -43,7 +44,7 @@ import java.io.IOException;
* @author Kohsuke Kawaguchi
* @see MavenReporters
*/
public abstract class MavenReporter implements Describable<MavenReporter>, ExtensionPoint {
public abstract class MavenReporter implements Describable<MavenReporter>, ExtensionPoint, Serializable {
/**
* Called before the actual maven2 execution begins.
*
......
......@@ -86,4 +86,6 @@ public class MavenArtifactArchiver extends MavenReporter {
return new MavenArtifactArchiver();
}
}
private static final long serialVersionUID = 1L;
}
......@@ -128,4 +128,6 @@ public class MavenFingerprinter extends MavenReporter {
return new MavenFingerprinter();
}
}
private static final long serialVersionUID = 1L;
}
......@@ -83,4 +83,6 @@ public class MavenJavadocArchiver extends MavenReporter {
return new MavenJavadocArchiver();
}
}
private static final long serialVersionUID = 1L;
}
......@@ -66,4 +66,6 @@ public class MavenMailer extends MavenReporter {
return m;
}
}
private static final long serialVersionUID = 1L;
}
......@@ -107,4 +107,6 @@ public class SurefireArchiver extends MavenReporter {
return new SurefireArchiver();
}
}
private static final long serialVersionUID = 1L;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册