Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Added snapshot repository to distributionManagement #1156

Merged
merged 1 commit into from
Apr 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 26 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
<maven.compiler.source>1.8</maven.compiler.source>
<checkstyle.version>3.1.0</checkstyle.version>
<pmd.version>3.14.0</pmd.version>
<repo.id>MyGet</repo.id>
<repo.url>https://botbuilder.myget.org/F/botbuilder-v4-java-daily/maven/</repo.url>
<!-- <repo.id>MyGet</repo.id> -->
<!-- <repo.url>https://botbuilder.myget.org/F/botbuilder-v4-java-daily/maven/</repo.url> -->
<!-- <repo.id>ossrh</repo.id> -->
<!-- <repo.url>https://oss.sonatype.org/content/repositories/snapshots/</repo.url> -->
</properties>

<licenses>
Expand Down Expand Up @@ -420,27 +422,31 @@
</dependencies>
</dependencyManagement>

<repositories>
<repository>
<id>${repo.id}</id>
<url>${repo.url}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>${repo.id}</id>-->
<!-- <url>${repo.url}</url>-->
<!-- <releases>-->
<!-- <enabled>true</enabled>-->
<!-- </releases>-->
<!-- <snapshots>-->
<!-- <enabled>true</enabled>-->
<!-- </snapshots>-->
<!-- </repository>-->
<!-- </repositories>-->

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<name>Sonatype Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
<repository>
<!-- <id>ossrh</id>-->
<!-- <url>https://oss.sonatype.org/</url>-->
<!-- <id>MyGet</id>-->
<!-- <url>${repo.url}</url>-->
<id>${repo.id}</id>
<url>${repo.url}</url>
<id>ossrh</id>
<name>Sonatype Releases</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
<uniqueVersion>false</uniqueVersion>
</repository>
</distributionManagement>

Expand Down