From fc58ee338367fc448414893df5c8f09b89afebc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20Lars=C3=A9n?= <slarse@slar.se>
Date: Wed, 31 Mar 2021 08:47:24 +0200
Subject: [PATCH] chore: Remove snapshot repository to self (#3864)

---
 spoon-pom/pom.xml  |  8 --------
 spoon-smpl/pom.xml | 12 ++++++++++++
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/spoon-pom/pom.xml b/spoon-pom/pom.xml
index 7ffd9665f41..7e6e6e5621c 100644
--- a/spoon-pom/pom.xml
+++ b/spoon-pom/pom.xml
@@ -25,14 +25,6 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>
 
-    <repositories>
-        <repository>
-            <id>ow2.org-snapshot</id>
-            <name>Maven Repository for Spoon Snapshots</name>
-            <url>https://repository.ow2.org/nexus/content/repositories/snapshots/</url>
-        </repository>
-    </repositories>
-
     <dependencies>
 
         <!-- we all depend on Junit with scope=test -->
diff --git a/spoon-smpl/pom.xml b/spoon-smpl/pom.xml
index cd6c260c892..223123016d4 100644
--- a/spoon-smpl/pom.xml
+++ b/spoon-smpl/pom.xml
@@ -19,6 +19,18 @@
         <version>1.0</version>
         <relativePath>../spoon-pom</relativePath>
     </parent>
+
+    <repositories>
+        <repository>
+            <!-- Required for spoon-control-flow SNAPSHOT -->
+            <id>ow2.org-snapshot</id>
+            <name>Maven Repository for Spoon Snapshots</name>
+            <url>https://repository.ow2.org/nexus/content/repositories/snapshots/</url>
+            <snapshots><enabled>true</enabled></snapshots>
+            <releases><enabled>false</enabled></releases>
+        </repository>
+    </repositories>
+
     <build>
         <plugins>
             <plugin>