[ https://issues.apache.org/jira/browse/ZOOKEEPER-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158880#comment-17158880 ]
Christopher Tubbs commented on ZOOKEEPER-3888: ---------------------------------------------- I explained on the PR why this change should not happen. The child module should inherit the parent POM's `maven.compiler.source` and `maven.compiler.target` properties and work just fine. How are you building the multi-module project? What commands and from which directory? > Add source and target version for compile plugin > ------------------------------------------------ > > Key: ZOOKEEPER-3888 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3888 > Project: ZooKeeper > Issue Type: Bug > Reporter: Guo Jiwei > Priority: Minor > Time Spent: 10m > Remaining Estimate: 0h > > If not specify the source and target version, compile from the master will > fail: > zookeeper/zookeeper-jute/src/main/java/org/apache/jute/compiler/CppGenerator.java:[65,13] > try-with-resources is not supported in -source 1.6 -- This message was sent by Atlassian Jira (v8.3.4#803005)