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

Arend v. Reinersdorff commented on MNG-6589:
--------------------------------------------

Hi [~michael-o],

I was a bit afraid of this answer. So that means currently, one shouldn't rely 
on this property? :(

 

A little explanation:
I found this property when looking for a way to [collect Jacoco coverage data 
for use in SonarQube for all modules in a multi module build in a single 
file|https://stackoverflow.com/questions/13031219/how-to-configure-multi-module-maven-sonar-jacoco-to-give-merged-coverage-rep/42007488#42007488].
 Currently the default solution seems to be to use the path 
${project.basedir}/../target/jacoco.exec. Which works fine only as long as 
there's exactly one level of submodules.

> Document property maven.multiModuleProjectDirectory
> ---------------------------------------------------
>
>                 Key: MNG-6589
>                 URL: https://issues.apache.org/jira/browse/MNG-6589
>             Project: Maven
>          Issue Type: Improvement
>          Components: Documentation:  General
>    Affects Versions: 3.6.0
>            Reporter: Arend v. Reinersdorff
>            Priority: Major
>
> I found out about maven.multiModuleProjectDirectory [on 
> Stackoverflow|https://stackoverflow.com/questions/29778262/what-is-maven-multimoduleprojectdirectory-used-for/29780763].
>  This looks useful, but unfortunately there seems to be no documentation.
> Could maybe be added in one of these locations:
>  * [https://cwiki.apache.org/confluence/display/MAVEN/Maven+Properties+Guide]
>  * 
> [http://maven.apache.org/ref/3.6.0/maven-model-builder/#Model_Interpolation]
> Suggestion:
> maven.multiModuleProjectDirectory - "The root directory of the multi module 
> build. Also set for single module builds. Since Maven 3.3.1"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to