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

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

Lorenz Simon created MCOMPILER-558:
--------------------------------------

             Summary: 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


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)