You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Christopher Tubbs (Jira)" <ji...@apache.org> on 2020/07/16 04:43:00 UTC

[jira] [Comment Edited] (ZOOKEEPER-3888) Add source and target version for compile plugin

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

Christopher Tubbs edited comment on ZOOKEEPER-3888 at 7/16/20, 4:42 AM:
------------------------------------------------------------------------

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? Also, what version are you trying to build, because I haven't tested older builds... only more recent ones after the switch to Maven.



was (Author: ctubbsii):
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)