HADOOP-9246. Execution phase for hadoop-maven-plugin should be process-resources. Contributed by Karthik Kambatla and Chris Nauroth

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1439620 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Darrell Lowe 2013-01-28 20:52:14 +00:00
parent 8a5fadc5a0
commit 1137fb06df
4 changed files with 6 additions and 3 deletions

View File

@ -328,6 +328,9 @@ Trunk (Unreleased)
HADOOP-8589 ViewFs tests fail when tests and home dirs are nested (sanjay Radia)
HADOOP-9246 Execution phase for hadoop-maven-plugin should be
process-resources (Karthik Kambatla and Chris Nauroth via jlowe)
Release 2.0.3-alpha - Unreleased
INCOMPATIBLE CHANGES

View File

@ -274,7 +274,7 @@
<executions>
<execution>
<id>version-info</id>
<phase>compile</phase>
<phase>generate-resources</phase>
<goals>
<goal>version-info</goal>
</goals>

View File

@ -46,7 +46,7 @@ import java.util.TimeZone;
* build. The version information includes build time, SCM URI, SCM branch, SCM
* commit, and an MD5 checksum of the contents of the files in the codebase.
*/
@Mojo(name="version-info", defaultPhase=LifecyclePhase.INITIALIZE)
@Mojo(name="version-info")
public class VersionInfoMojo extends AbstractMojo {
@Parameter(defaultValue="${project}")

View File

@ -93,7 +93,7 @@
<executions>
<execution>
<id>version-info</id>
<phase>compile</phase>
<phase>generate-resources</phase>
<goals>
<goal>version-info</goal>
</goals>