[ 
https://issues.apache.org/jira/browse/HADOOP-14269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953192#comment-15953192
 ] 

Akira Ajisaka commented on HADOOP-14269:
----------------------------------------

Java8 compiler fails when it hits module-info.java. To avoid this problem, I'm 
thinking we can create a setting for java8 to skip this file.
{code:title=pom.xml}
<profiles>
  <profile>
    <id>java8</id>
    <activation>
      <jdk>1.8</jdk>
    </activation>
    <build>
      <plugins>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <excludes>
              <exclude>**/module-info.java</exclude>
            </excludes>
          </configuration>
        </plugin>
      </plugins>
    </build>
  </profile>
</profiles>
{code}

> Create module-info.java for each module
> ---------------------------------------
>
>                 Key: HADOOP-14269
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14269
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Akira Ajisaka
>
> module-info.java is required for JDK9 Jigsaw feature.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to