You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2016/11/03 07:43:59 UTC

[jira] [Created] (HADOOP-13789) Hadoop Common includes generated test protos in both jar and test-jar

Sean Busbey created HADOOP-13789:
------------------------------------

             Summary: Hadoop Common includes generated test protos in both jar and test-jar
                 Key: HADOOP-13789
                 URL: https://issues.apache.org/jira/browse/HADOOP-13789
             Project: Hadoop Common
          Issue Type: Bug
          Components: build, common
            Reporter: Sean Busbey
            Assignee: Sean Busbey


Right now our ProtocMojo always adds source directories to the main compile phase and we use it in hadoop-common to both generate main files as well as test files. This results in the test files getting added to both our test jar (correct) and our main jar (not correct).

We should either add a main-vs-test flag to the configuration for ProtocMojo or make a ProtocTestMojo that always adds as a test sources.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org