fix security vilation CVE-2015-3253 95/68895/2
authorTal Gitelman <tg851x@intl.att.com>
Tue, 25 Sep 2018 14:22:34 +0000 (17:22 +0300)
committerMichael Lando <ml636r@att.com>
Tue, 25 Sep 2018 20:03:36 +0000 (20:03 +0000)
Change-Id: I694afc331a2bbc41f2d179b9591a1fb3f1065b5e
Issue-ID: SDC-1715
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
asdctool/pom.xml
catalog-be/pom.xml
catalog-be/src/test/java/org/openecomp/sdc/be/components/merge/path/ComponentInstanceForwardingPathMergeTest.java
catalog-dao/pom.xml
catalog-fe/pom.xml
catalog-model/pom.xml
pom.xml
test-apis-ci/pom.xml
ui-ci/pom.xml

index 0ccf870..9a0a546 100644 (file)
                <!-- groovy -->
                <dependency>
                        <groupId>org.codehaus.groovy</groupId>
-                       <artifactId>groovy-all</artifactId>
-                       <version>${groovy.version}</version>
+                       <artifactId>groovy</artifactId>
                        <scope>compile</scope>
                </dependency>
 
             <scope>test</scope>
         </dependency>
         <!-- testing end -->
-
-        <dependency>
-            <groupId>org.codehaus.groovy</groupId>
-            <artifactId>groovy</artifactId>
-            <version>2.4.8</version>
-        </dependency>
        </dependencies>
 
        <build>
index b4f5936..bfa8e10 100644 (file)
 
         <dependency>
             <groupId>org.codehaus.groovy</groupId>
-            <artifactId>groovy-all</artifactId>
-            <version>${groovy.version}</version>
+            <artifactId>groovy</artifactId>
             <scope>compile</scope>
         </dependency>
 
index 04b62dd..85e4cb2 100644 (file)
@@ -19,9 +19,9 @@ import org.openecomp.sdc.exception.ResponseFormat;
 
 import java.util.Set;
 
-import static groovy.util.GroovyTestCase.assertEquals;
-import static junit.framework.Assert.assertNotNull;
 import static junit.framework.TestCase.assertTrue;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
 import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.ArgumentMatchers.anyBoolean;
 import static org.mockito.Mockito.when;
index a4bd9a0..7f02fe6 100644 (file)
@@ -249,6 +249,10 @@ Modifications copyright (c) 2018 Nokia
                                        <artifactId>commons-collections</artifactId>
                                        <groupId>commons-collections</groupId>
                                </exclusion>
+                               <exclusion>
+                                       <artifactId>groovy</artifactId>
+                                       <groupId>org.codehaus.groovy</groupId>
+                               </exclusion>
                        </exclusions>
                </dependency>
 
@@ -315,7 +319,6 @@ Modifications copyright (c) 2018 Nokia
                <dependency>
                        <groupId>org.codehaus.groovy</groupId>
                        <artifactId>groovy</artifactId>
-                       <version>2.4.8</version>
                </dependency>
        </dependencies>
 
index 3322185..d0ede07 100644 (file)
@@ -43,8 +43,7 @@
 
                <dependency>
                        <groupId>org.codehaus.groovy</groupId>
-                       <artifactId>groovy-all</artifactId>
-                       <version>${groovy.version}</version>
+                       <artifactId>groovy</artifactId>
                        <scope>compile</scope>
                </dependency>
 
index 58c4f4f..ddb5454 100644 (file)
                                        <artifactId>commons-collections</artifactId>
                                        <groupId>commons-collections</groupId>
                                </exclusion>
+                               <exclusion>
+                                       <artifactId>groovy</artifactId>
+                                       <groupId>org.codehaus.groovy</groupId>
+                               </exclusion>
                        </exclusions>
                </dependency>
 
                <dependency>
                        <groupId>org.codehaus.groovy</groupId>
                        <artifactId>groovy</artifactId>
-                       <version>2.4.8</version>
                </dependency>
 
        </dependencies>
diff --git a/pom.xml b/pom.xml
index ce2e613..d6a4853 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,6 @@ Modifications copyright (c) 2018 Nokia
         <slf4j-api.version>1.7.25</slf4j-api.version>
         <commons-codec>1.10</commons-codec>
         <commons-logging>1.2</commons-logging>
-        <groovy.version>2.4.13</groovy.version>
         <janino.version>3.0.6</janino.version>
 
         <!-- aspects -->
@@ -185,6 +184,11 @@ Modifications copyright (c) 2018 Nokia
                 <artifactId>commons-lang3</artifactId>
                 <version>${lang3.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.codehaus.groovy</groupId>
+                <artifactId>groovy</artifactId>
+                <version>2.4.13</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 
index 2918c62..e6a6e26 100644 (file)
         <dependency>
             <groupId>org.codehaus.groovy</groupId>
             <artifactId>groovy</artifactId>
-            <version>2.4.8</version>
         </dependency>
     </dependencies>
 
index e20fe64..c1ea139 100644 (file)
                <dependency>
                        <groupId>org.codehaus.groovy</groupId>
                        <artifactId>groovy</artifactId>
-                       <version>2.4.8</version>
                </dependency>
 
        </dependencies>