You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rong Li (JIRA)" <ji...@apache.org> on 2018/05/03 15:19:00 UTC

[jira] [Created] (MNG-6402) Maven Projekt do not see the version of imported POM in DependencyMangement

Rong Li created MNG-6402:
----------------------------

             Summary: Maven Projekt do not see the version of imported POM in DependencyMangement
                 Key: MNG-6402
                 URL: https://issues.apache.org/jira/browse/MNG-6402
             Project: Maven
          Issue Type: Bug
          Components: Dependencies
    Affects Versions: 3.5.2
            Reporter: Rong Li


We have following imported dependency in our pom.xml:
{code:java}
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>my.company</groupId>
            <artifactId>company-dependency-management</artifactId>
            <version>1.0.0-SNAPSHOT</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
   </dependencies>
</dependencyManagement>
{code}

We want to use some plugins to ensure that this dependency should not be SNAPSHOT-version before release, but this dependency will be resolved with the list of imported dependencies in the effective pom.xml. There is no chance to get this SNAPSHOT-version.




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