Skip to content

Commit b20829c

Browse files
authored
fix: keep distributionManagement in flattened pom (#1807)
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent 322836e commit b20829c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@
270270
<version>1.7.0</version>
271271
<configuration>
272272
<flattenMode>ossrh</flattenMode>
273+
<pomElements>
274+
<!-- keep distributionManagement so the central-publishing plugin can resolve the snapshot repo during deploy -->
275+
<distributionManagement>resolve</distributionManagement>
276+
</pomElements>
273277
</configuration>
274278
<executions>
275279
<execution>

0 commit comments

Comments
 (0)