Skip to content

Commit 3f6b804

Browse files
cicd: Copy distributionmanagement inside the profile tag #TASK-7783
1 parent 40d5e34 commit 3f6b804

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

pom.xml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -298,23 +298,24 @@
298298
</plugins>
299299
</build>
300300

301-
<distributionManagement>
302-
<!-- Releases → compatibilidad OSSRH Staging API -->
303-
<repository>
304-
<id>ossrh</id>
305-
<name>OSSRH Staging API Releases</name>
306-
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
307-
</repository>
308-
<!-- Snapshots → Portal Central -->
309-
<snapshotRepository>
310-
<id>ossrh</id>
311-
<name>Central Portal Snapshots</name>
312-
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
313-
</snapshotRepository>
314-
</distributionManagement>
301+
315302
<profiles>
316303
<profile>
317304
<id>deploy-maven</id>
305+
<distributionManagement>
306+
<!-- Releases → compatibilidad OSSRH Staging API -->
307+
<repository>
308+
<id>ossrh</id>
309+
<name>OSSRH Staging API Releases</name>
310+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
311+
</repository>
312+
<!-- Snapshots → Portal Central -->
313+
<snapshotRepository>
314+
<id>ossrh</id>
315+
<name>Central Portal Snapshots</name>
316+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
317+
</snapshotRepository>
318+
</distributionManagement>
318319
<build>
319320
<plugins>
320321
<plugin>

0 commit comments

Comments
 (0)