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/branches/branch-2@1446020 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alejandro Abdelnur 2013-02-14 01:32:58 +00:00
parent 41cd04e92b
commit ca12c99c79
3 changed files with 3 additions and 3 deletions

View File

@ -279,7 +279,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>