You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/08/20 00:16:00 UTC

[jira] [Commented] (MNG-7648) Generated model reader is not setting location information

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

ASF GitHub Bot commented on MNG-7648:
-------------------------------------

hazendaz commented on PR #940:
URL: https://github.com/apache/maven/pull/940#issuecomment-1685137331

   Reporting again here, alpha 7 has same issue.  Only Alpha 4 of maven works as expected.  Any maven version before 4-alpha-5 and all 3.x as far as I can remember - like 10 years ago, do not require the version to be additional restated inside a profile.  Its always properly inherited it as far as I'm aware.  As @pavelhoral noted possible plugin definitions are not merged.  I presume they always were before, can anyone confirm?  Trying to understand why now after decade of doing profiles like this, its only an issue now.




> Generated model reader is not setting location information
> ----------------------------------------------------------
>
>                 Key: MNG-7648
>                 URL: https://issues.apache.org/jira/browse/MNG-7648
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.8.7, 4.0.0-alpha-3
>            Reporter: Pavel Horal
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 3.8.8, 3.9.0, 4.0.0-alpha-4, 4.0.0
>
>
> -Generated model reader is not setting {{location}} property - [https://github.com/apache/maven/blob/e73a0b00fde80c400a6d854ec0c2ba7436325eed/maven-toolchain-model/src/main/mdo/reader.vm#L683] .-
> Project model does not have location property in plugin execution (potential issue when merging model parent configuration?). This causes issues for example in Maven Enforcer Plugin which uses this information (see [MENFORCER-447|https://issues.apache.org/jira/browse/MENFORCER-447?focusedCommentId=17651671&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17651671]).



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