You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/09/06 19:08:00 UTC
[jira] [Closed] (MCOMPILER-417) Document compileSourceRoots,
multiReleaseOutput
[ https://issues.apache.org/jira/browse/MCOMPILER-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MCOMPILER-417.
------------------------------------
Assignee: Robert Scholte
Resolution: Won't Fix
Most documentation is already updated. I'm not going to expose {{compileSourceRoots}} as it an exclusive workaround for preparing a mrjar.
If there are extra source directories, one should use the [build-helper:add-source|https://www.mojohaus.org/build-helper-maven-plugin/add-source-mojo.html] to ensure that other plugins depending on source folders will use the same set.
> Document compileSourceRoots, multiReleaseOutput
> -----------------------------------------------
>
> Key: MCOMPILER-417
> URL: https://issues.apache.org/jira/browse/MCOMPILER-417
> Project: Maven Compiler Plugin
> Issue Type: Improvement
> Affects Versions: 3.8.1
> Reporter: Gili
> Assignee: Robert Scholte
> Priority: Major
>
> Please update [https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html] and [https://maven.apache.org/plugins/maven-compiler-plugin/multirelease.html] to mention the "compileSourceRoots", "multiReleaseOutput" parameters as well as providing an example like [https://github.com/apache/maven-compiler-plugin/blob/master/src/it/multirelease-patterns/singleproject-runtime/pom.xml#L102-L108]
> in the usage section. It is an excellent solution that (seems to) work a lot cleaner than the other approaches.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)