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

Commit f642f0f

Browse files
authored
Added snapshot support to parent POM (#1157)
1 parent 938790b commit f642f0f

File tree

1 file changed

+47
-41
lines changed

1 file changed

+47
-41
lines changed

pom.xml

Lines changed: 47 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33

44
<modelVersion>4.0.0</modelVersion>
55

@@ -20,8 +20,10 @@
2020
<maven.compiler.source>1.8</maven.compiler.source>
2121
<checkstyle.version>3.1.0</checkstyle.version>
2222
<pmd.version>3.14.0</pmd.version>
23-
<repo.id>MyGet</repo.id>
24-
<repo.url>https://botbuilder.myget.org/F/botbuilder-v4-java-daily/maven/</repo.url>
23+
<!-- <repo.id>MyGet</repo.id> -->
24+
<!-- <repo.url>https://botbuilder.myget.org/F/botbuilder-v4-java-daily/maven/</repo.url> -->
25+
<!-- <repo.id>ossrh</repo.id> -->
26+
<!-- <repo.url>https://oss.sonatype.org/content/repositories/snapshots/</repo.url> -->
2527
</properties>
2628

2729
<licenses>
@@ -100,26 +102,26 @@
100102
<goal>report</goal>
101103
</goals>
102104
</execution>
103-
<!-- <execution>-->
104-
<!-- <id>default-check</id>-->
105-
<!-- <goals>-->
106-
<!-- <goal>check</goal>-->
107-
<!-- </goals>-->
108-
<!-- <configuration>-->
109-
<!-- <rules>-->
110-
<!-- <rule>-->
111-
<!-- <element>BUNDLE</element>-->
112-
<!-- <limits>-->
113-
<!-- <limit>-->
114-
<!-- <counter>COMPLEXITY</counter>-->
115-
<!-- <value>COVEREDRATIO</value>-->
116-
<!-- <minimum>0.60</minimum>-->
117-
<!-- </limit>-->
118-
<!-- </limits>-->
119-
<!-- </rule>-->
120-
<!-- </rules>-->
121-
<!-- </configuration>-->
122-
<!-- </execution>-->
105+
<!-- <execution>-->
106+
<!-- <id>default-check</id>-->
107+
<!-- <goals>-->
108+
<!-- <goal>check</goal>-->
109+
<!-- </goals>-->
110+
<!-- <configuration>-->
111+
<!-- <rules>-->
112+
<!-- <rule>-->
113+
<!-- <element>BUNDLE</element>-->
114+
<!-- <limits>-->
115+
<!-- <limit>-->
116+
<!-- <counter>COMPLEXITY</counter>-->
117+
<!-- <value>COVEREDRATIO</value>-->
118+
<!-- <minimum>0.60</minimum>-->
119+
<!-- </limit>-->
120+
<!-- </limits>-->
121+
<!-- </rule>-->
122+
<!-- </rules>-->
123+
<!-- </configuration>-->
124+
<!-- </execution>-->
123125
</executions>
124126
</plugin>
125127
</plugins>
@@ -420,27 +422,31 @@
420422
</dependencies>
421423
</dependencyManagement>
422424

423-
<repositories>
424-
<repository>
425-
<id>${repo.id}</id>
426-
<url>${repo.url}</url>
427-
<releases>
428-
<enabled>true</enabled>
429-
</releases>
430-
<snapshots>
431-
<enabled>true</enabled>
432-
</snapshots>
433-
</repository>
434-
</repositories>
425+
<!-- <repositories>-->
426+
<!-- <repository>-->
427+
<!-- <id>${repo.id}</id>-->
428+
<!-- <url>${repo.url}</url>-->
429+
<!-- <releases>-->
430+
<!-- <enabled>true</enabled>-->
431+
<!-- </releases>-->
432+
<!-- <snapshots>-->
433+
<!-- <enabled>true</enabled>-->
434+
<!-- </snapshots>-->
435+
<!-- </repository>-->
436+
<!-- </repositories>-->
435437

436438
<distributionManagement>
439+
<snapshotRepository>
440+
<id>ossrh</id>
441+
<name>Sonatype Snapshots</name>
442+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
443+
<uniqueVersion>true</uniqueVersion>
444+
</snapshotRepository>
437445
<repository>
438-
<!-- <id>ossrh</id>-->
439-
<!-- <url>https://oss.sonatype.org/</url>-->
440-
<!-- <id>MyGet</id>-->
441-
<!-- <url>${repo.url}</url>-->
442-
<id>${repo.id}</id>
443-
<url>${repo.url}</url>
446+
<id>ossrh</id>
447+
<name>Sonatype Releases</name>
448+
<url>https://oss.sonatype.org/content/repositories/releases/</url>
449+
<uniqueVersion>false</uniqueVersion>
444450
</repository>
445451
</distributionManagement>
446452

0 commit comments

Comments
 (0)