Adding snapshot repository.
- Fix for unstable jenkins run failing with:
[ERROR] ... Could not find artifact org.onosproject:onos-build-conf:jar:1.3-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
Change-Id: I8026662fbffb7ca88841ca65062542a6a27281d4
diff --git a/pom.xml b/pom.xml
index fb519c9..2629e09 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,12 +41,32 @@
<module>ecord/co</module>
<module>ecord/carrierethernet</module>
<module>ecord/metro</module>
- </modules>
+ </modules>
<properties>
<onos.version>1.6.0-SNAPSHOT</onos.version>
</properties>
+ <!-- FIXME remove before release;
+ needed for resolving SNAPSHOT version of the following
+ - finding parent pom.xml
+ - checkstyle plugin depend on onos-build-conf
+ -->
+ <repositories>
+ <repository>
+ <id>snapshots</id>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ <releases><enabled>false</enabled></releases>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>snapshots</id>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ <releases><enabled>false</enabled></releases>
+ </pluginRepository>
+ </pluginRepositories>
+
<dependencies>
<dependency>
<groupId>org.onosproject</groupId>