add OSS snapshots as a plugin repository to resolve custom enforcer rule

Original commit: elastic/x-pack-elasticsearch@96e052b2de
This commit is contained in:
jaymode 2015-08-26 11:26:21 -04:00
parent 8e5521a427
commit 049ff4cc9f
1 changed files with 14 additions and 0 deletions

14
pom.xml
View File

@ -164,6 +164,20 @@
<url>http://maven.elasticsearch.org/artifactory/public-releases</url> <url>http://maven.elasticsearch.org/artifactory/public-releases</url>
</repository> </repository>
</distributionManagement> </distributionManagement>
<pluginRepositories>
<pluginRepository>
<id>oss-snapshots</id>
<name>Sonatype OSS Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>