You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/11/22 10:04:00 UTC

[jira] [Commented] (MCOMPILER-558) compileSourceRoots in testCompile should be writable

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

Michael Osipov commented on MCOMPILER-558:
------------------------------------------

So this is a consistency config issue?

> compileSourceRoots in testCompile should be writable
> ----------------------------------------------------
>
>                 Key: MCOMPILER-558
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-558
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>            Reporter: Lorenz Simon
>            Priority: Minor
>
> In projects with Java *and* Kotlin sources, it should be possible to set the `compileSourceRoots` on the plugin level and not the project level. This way the Kotlin compiler can be configured to only consider Kotlin sources and the Java compiler can only consider Java sources.
> `compileSourceRoots` was already changed to writable in the `compile` goal. So I don't see any risks in also changing it for the `testCompile` goal.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)