Skip to content

Commit 18e868c

Browse files
committed
add repo to resolve SNAPSHOT parent POM and plugins
1 parent dfe0892 commit 18e868c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pom.xml

+21
Original file line numberDiff line numberDiff line change
@@ -708,4 +708,25 @@ under the License.
708708
</build>
709709
</profile>
710710
</profiles>
711+
712+
<repositories>
713+
<repository><!-- useful to resolve parent pom when it is a SNAPSHOT -->
714+
<id>apache.snapshots</id>
715+
<name>Apache Snapshot Repository</name>
716+
<url>https://repository.apache.org/snapshots</url>
717+
<releases>
718+
<enabled>false</enabled>
719+
</releases>
720+
</repository>
721+
</repositories>
722+
<pluginRepositories>
723+
<pluginRepository>
724+
<id>apache.snapshots</id>
725+
<name>Apache Snapshot Repository</name>
726+
<url>https://repository.apache.org/snapshots</url>
727+
<releases>
728+
<enabled>false</enabled>
729+
</releases>
730+
</pluginRepository>
731+
</pluginRepositories>
711732
</project>

0 commit comments

Comments
 (0)