[
https://issues.apache.org/jira/browse/HADOOP-9117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585245#comment-13585245
]
Tsz Wo (Nicholas), SZE commented on HADOOP-9117:
------------------------------------------------
Yes, it is an Eclipse only problem. Thanks Chris to add that.
> ... changing the binding phase of the protoc plugin to 'process-resources'
> ...
How to do it exactly? I tried the following changes but it did not seem to
work.
{code}
Index: hadoop-common-project/hadoop-common/pom.xml
===================================================================
--- hadoop-common-project/hadoop-common/pom.xml (revision 1449265)
+++ hadoop-common-project/hadoop-common/pom.xml (working copy)
@@ -279,7 +279,7 @@
<executions>
<execution>
<id>version-info</id>
- <phase>generate-resources</phase>
+ <phase>process-resources</phase>
<goals>
<goal>version-info</goal>
</goals>
@@ -295,7 +295,7 @@
</execution>
<execution>
<id>compile-protoc</id>
- <phase>generate-sources</phase>
+ <phase>process-resources</phase>
<goals>
<goal>protoc</goal>
</goals>
@@ -320,7 +320,7 @@
</execution>
<execution>
<id>compile-test-protoc</id>
- <phase>generate-test-sources</phase>
+ <phase>process-resources</phase>
<goals>
<goal>protoc</goal>
</goals>
{code}
> replace protoc ant plugin exec with a maven plugin
> --------------------------------------------------
>
> Key: HADOOP-9117
> URL: https://issues.apache.org/jira/browse/HADOOP-9117
> Project: Hadoop Common
> Issue Type: Improvement
> Components: build
> Affects Versions: 2.0.2-alpha
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.4-beta
>
> Attachments: HADOOP-9117.patch, HADOOP-9117.patch, HADOOP-9117.patch,
> HADOOP-9117.patch, HADOOP-9117.patch, HADOOP-9117.patch
>
>
> The protoc compiler is currently invoked using ant plugin exec. There is a
> bug in the ant plugin exec task which does not consume the STDOUT or STDERR
> appropriately making the build to stop sometimes (you need to press enter to
> continue).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira