You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2022/01/04 16:53:00 UTC
[jira] [Updated] (CAMEL-17431) build: Java compiler / source may be not set in some modules
[ https://issues.apache.org/jira/browse/CAMEL-17431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otavio Rodolfo Piske updated CAMEL-17431:
-----------------------------------------
Issue Type: Improvement (was: Bug)
> build: Java compiler / source may be not set in some modules
> ------------------------------------------------------------
>
> Key: CAMEL-17431
> URL: https://issues.apache.org/jira/browse/CAMEL-17431
> Project: Camel
> Issue Type: Improvement
> Components: build system
> Reporter: Otavio Rodolfo Piske
> Priority: Major
>
> If any module does not override the source and target version defined by maven compiler plugin, it seems to default to Java 7 since it inherits it from the Apache parent pom.
>
> For example, looking at the effective pom for camel-kafka we can see that:
>
> <maven.compiler.source>1.7</maven.compiler.source>
> <maven.compiler.target>1.7</maven.compiler.target>
> This is not a problem in this case, because its hierarchy does override the source and target options at the camel-parent. However, this may be confusing when analyzing the effective pom.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)