diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 2dfde4a8d7..9e75e9179e 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -558,6 +558,8 @@ Release 2.0.5-beta - UNRELEASED HADOOP-9379. capture the ulimit info after printing the log to the console. (Arpit Gupta via suresh) + HADOOP-9399. protoc maven plugin doesn't work on mvn 3.0.2 (todd) + Release 2.0.4-alpha - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java b/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java index 0844510170..47e97db9ef 100644 --- a/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java +++ b/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java @@ -37,7 +37,7 @@ public class ProtocMojo extends AbstractMojo { private MavenProject project; @Parameter - private List imports; + private File[] imports; @Parameter(defaultValue="${project.build.directory}/generated-sources/java") private File output; @@ -83,4 +83,4 @@ public void execute() throws MojoExecutionException { project.addCompileSourceRoot(output.getAbsolutePath()); } -} \ No newline at end of file +}