HADOOP-9399. protoc maven plugin doesn't work on mvn 3.0.2. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1455771 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2013-03-13 01:33:06 +00:00
parent c5017c71e4
commit 7aa75756d6
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -37,7 +37,7 @@ public class ProtocMojo extends AbstractMojo {
private MavenProject project;
@Parameter
private List<File> imports;
private File[] imports;
@Parameter(defaultValue="${project.build.directory}/generated-sources/java")
private File output;
@ -83,4 +83,4 @@ public class ProtocMojo extends AbstractMojo {
project.addCompileSourceRoot(output.getAbsolutePath());
}
}
}