This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new ffa7f55  KNOX-2305 - Blacklist Maven 3.6.2 and move cloudera 
repository to child pom (#295)
ffa7f55 is described below

commit ffa7f55791c82a710d6e5de891fdf00fdd203646
Author: Kevin Risden <[email protected]>
AuthorDate: Wed Mar 18 12:54:11 2020 -0400

    KNOX-2305 - Blacklist Maven 3.6.2 and move cloudera repository to child pom 
(#295)
    
    Signed-off-by: Kevin Risden <[email protected]>
---
 gateway-discovery-cm/pom.xml | 15 +++++++++++++++
 pom.xml                      | 19 +++++--------------
 2 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/gateway-discovery-cm/pom.xml b/gateway-discovery-cm/pom.xml
index 3107fb2..8917608 100644
--- a/gateway-discovery-cm/pom.xml
+++ b/gateway-discovery-cm/pom.xml
@@ -27,6 +27,21 @@
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>gateway-discovery-cm</artifactId>
+
+    <repositories>
+        <repository>
+            <id>Cloudera</id>
+            <name>Cloudera</name>
+            
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+        </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.knox</groupId>
diff --git a/pom.xml b/pom.xml
index 2638e3a..f5342b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -507,7 +507,11 @@
                         <configuration>
                             <rules>
                                 <requireMavenVersion>
-                                    <version>[3.0.2,)</version>
+                                    <!--
+                                    Maven 3.6.2 has issues
+                                    
https://issues.apache.org/jira/browse/KNOX-2305
+                                    -->
+                                    <version>[3.1.0,3.6.2),(3.6.2,)</version>
                                 </requireMavenVersion>
                                 <requireJavaVersion>
                                     <version>[1.8,)</version>
@@ -2414,17 +2418,4 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
-    <repositories>
-        <repository>
-            <id>Cloudera</id>
-            <name>Cloudera</name>
-            
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-            <releases>
-                <enabled>true</enabled>
-            </releases>
-        </repository>
-    </repositories>
 </project>

Reply via email to