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:
parent
41cd04e92b
commit
ca12c99c79
|
@ -279,7 +279,7 @@
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>version-info</id>
|
<id>version-info</id>
|
||||||
<phase>compile</phase>
|
<phase>generate-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>version-info</goal>
|
<goal>version-info</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
|
@ -46,7 +46,7 @@ import java.util.TimeZone;
|
||||||
* build. The version information includes build time, SCM URI, SCM branch, SCM
|
* 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.
|
* 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 {
|
public class VersionInfoMojo extends AbstractMojo {
|
||||||
|
|
||||||
@Parameter(defaultValue="${project}")
|
@Parameter(defaultValue="${project}")
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>version-info</id>
|
<id>version-info</id>
|
||||||
<phase>compile</phase>
|
<phase>generate-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>version-info</goal>
|
<goal>version-info</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
Loading…
Reference in New Issue