Description
Add the following node to the pom. Then prepare the release and this section will not be rewriten, because the "imported" entry will not appear in
project.getDependencyManagement().getDependencies(). This methode returns all the resolved dependencies. In this situation the transformDocument method from AbstractRewritePomsPhase could not change the given dependencies, because it is not visible to the method.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>dist</groupId>
<artifactId>deps</artifactId>
<type>pom</type>
<version>4.0.4-SNAPSHOT</version>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Attachments
Attachments
Issue Links
- depends upon
-
MNG-4052 import scope dependencies prefer to download pom rather than find it in the current project
- Closed
- is depended upon by
-
MRELEASE-412 release:prepare does not update properties during rewrite-poms-for-development phase.
- Closed