Remove commons-codec declaration and features 47/101247/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 19 May 2022 17:08:47 +0000 (19:08 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 19 May 2022 17:12:00 +0000 (19:12 +0200)
commons-codec is not used by any downstream in OpenDaylight proper. This
patch removes it, reducing our maintenance burden.

JIRA: ODLPARENT-285
Change-Id: Ie1731b2a2ae9ba92d23442b784a4cc48e55df619
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features/features-odlparent/pom.xml
features/odl-apache-commons-codec/pom.xml [deleted file]
features/odl-apache-commons-codec/src/main/history/dependencies.xml [deleted file]
features/pom.xml
odlparent-artifacts/pom.xml
odlparent-dependency-check/pom.xml
odlparent-lite/pom.xml
odlparent/pom.xml

index 468786146092453aa65413a91d27ae8128bb7e88..d520cfa8490c1c93169c7f53af4de3711c40688d 100644 (file)
             <type>xml</type>
         </dependency>
 
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>odl-apache-commons-codec</artifactId>
-            <classifier>features</classifier>
-            <type>xml</type>
-        </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>odl-apache-commons-lang3</artifactId>
diff --git a/features/odl-apache-commons-codec/pom.xml b/features/odl-apache-commons-codec/pom.xml
deleted file mode 100644 (file)
index 637aa2e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright © 2018 Red Hat, Inc. and others.  All rights reserved.
-
- This program and the accompanying materials are made available under the
- terms of the Eclipse Public License v1.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v10.html
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>11.0.0-SNAPSHOT</version>
-        <relativePath>../../single-feature-parent</relativePath>
-    </parent>
-
-    <groupId>org.opendaylight.odlparent</groupId>
-    <artifactId>odl-apache-commons-codec</artifactId>
-    <version>11.0.0-SNAPSHOT</version>
-    <packaging>feature</packaging>
-
-    <name>OpenDaylight :: Apache Commons Codec</name>
-    <description>Apache commons-codec</description>
-
-    <properties>
-        <checkDependencyChange>true</checkDependencyChange>
-        <failOnDependencyChange>true</failOnDependencyChange>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>commons-codec</groupId>
-            <artifactId>commons-codec</artifactId>
-        </dependency>
-    </dependencies>
-</project>
diff --git a/features/odl-apache-commons-codec/src/main/history/dependencies.xml b/features/odl-apache-commons-codec/src/main/history/dependencies.xml
deleted file mode 100644 (file)
index 97e0f86..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<ns2:features xmlns:ns2="http://karaf.apache.org/xmlns/features/v1.5.0" name="odl-apache-commons-codec">
-    <ns2:feature version="0.0.0">
-        <ns2:bundle>mvn:commons-codec/commons-codec/1.15</ns2:bundle>
-    </ns2:feature>
-</ns2:features>
index b1ebee0d7783851d113e0f88500e3f33357c3b33..d900cc08b7b93c0a7dbf25fae58dc38870ebcd8c 100644 (file)
@@ -37,7 +37,6 @@
         <!-- General features -->
         <module>features-odlparent</module>
         <module>odl-antlr4</module>
-        <module>odl-apache-commons-codec</module>
         <module>odl-apache-commons-lang3</module>
         <module>odl-apache-commons-net</module>
         <module>odl-apache-commons-text</module>
index 70a2288ace9435fafb8cef1855cfb55e78ae45d4..3466d237f876178acc42161fa0ef293a505f97d9 100644 (file)
                 <classifier>features</classifier>
                 <type>xml</type>
             </dependency>
-            <dependency>
-                <groupId>org.opendaylight.odlparent</groupId>
-                <artifactId>odl-apache-commons-codec</artifactId>
-                <version>${project.version}</version>
-                <classifier>features</classifier>
-                <type>xml</type>
-            </dependency>
             <dependency>
                 <groupId>org.opendaylight.odlparent</groupId>
                 <artifactId>odl-apache-commons-lang3</artifactId>
index 8a9d9a447584dd489061f861a05c3199b41a414c..9a4ce22cea8b0f1d426074deed2d8945f25268fe 100644 (file)
             <groupId>commons-beanutils</groupId>
             <artifactId>commons-beanutils</artifactId>
         </dependency>
-        <dependency>
-            <groupId>commons-codec</groupId>
-            <artifactId>commons-codec</artifactId>
-        </dependency>
         <dependency>
             <groupId>commons-fileupload</groupId>
             <artifactId>commons-fileupload</artifactId>
index 7c4c71a4cdf271f3c4289c4df38ab638700aca41..29cd6be2c4a24dc830437673cdc4a37025fd5b2f 100644 (file)
                 <link>http://netty.io/4.1/api/</link>
                 <link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
                 <link>https://commons.apache.org/proper/commons-lang/javadocs/api-release/</link>
-                <link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
               </links>
             </configuration>
           </plugin>
index 48cb07ea1ce9bcb08aa60b13c585cafabfe69152..2f593983cd617f23254e0d7d6edc8f80a5379711 100644 (file)
         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
         <version>2.6</version>
       </dependency>
-      <dependency>
-        <groupId>commons-codec</groupId>
-        <artifactId>commons-codec</artifactId>
-        <version>1.15</version>
-      </dependency>
       <!-- Jersey for JAXRS -->
       <dependency>
         <groupId>javax.ws.rs</groupId>