Skip to content

Commit ce05c92

Browse files
kassidfgdrf
andauthored
CQ12676 : use Eclipse Orbit bundle apache.commons.codec (#475)
uses import-packages rather than required bundle to increase flexibility for integrators (using never versions of codec bundle or even from another provider) Change-Id: Ic7483438df15c06f66ef0159057a96549935abcf Signed-off-by: kassid <[email protected]> Co-authored-by: Frank Gasdorf <[email protected]>
1 parent 1c62d5a commit ce05c92

File tree

7 files changed

+21
-14
lines changed

7 files changed

+21
-14
lines changed

extras/org.locationtech.udig.target/org.locationtech.udig.target.target

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<unit id="org.apache.batik.util" version="1.7.0.v201011041433"/>
9696
<unit id="org.apache.batik.util.gui" version="1.7.0.v200903091627"/>
9797
<unit id="org.apache.batik.xml" version="1.7.0.v201011041433"/>
98-
<unit id="org.apache.commons.codec" version="0.0.0"/>
98+
<unit id="org.apache.commons.codec" version="1.9.0.v20170208-1614"/>
9999
<unit id="org.apache.commons.lang" version="0.0.0"/>
100100
<unit id="org.apache.commons.logging" version="1.1.1.v201101211721"/>
101101
<unit id="org.apache.log4j" version="1.2.15.v201012070815"/>

plugins/org.locationtech.udig.libs.netcdf/.classpath

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<classpathentry exported="true" kind="lib" path="lib/c3p0-0.9.1.1.jar"/>
1010
<classpathentry exported="true" kind="lib" path="lib/cdm-4.6.11.jar"/>
1111
<classpathentry exported="true" kind="lib" path="lib/commons-cli-1.4.jar"/>
12-
<classpathentry exported="true" kind="lib" path="lib/commons-codec-1.2.jar"/>
1312
<classpathentry exported="true" kind="lib" path="lib/commons-httpclient-3.1.jar"/>
1413
<classpathentry exported="true" kind="lib" path="lib/commons-logging-1.0.4.jar"/>
1514
<classpathentry exported="true" kind="lib" path="lib/gt-netcdf-22.1.jar"/>

plugins/org.locationtech.udig.libs.netcdf/META-INF/MANIFEST.MF

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Bundle-ClassPath: lib/aws-java-sdk-core-1.11.236.jar,
2121
lib/c3p0-0.9.1.1.jar,
2222
lib/cdm-4.6.11.jar,
2323
lib/commons-cli-1.4.jar,
24-
lib/commons-codec-1.2.jar,
2524
lib/commons-httpclient-3.1.jar,
2625
lib/commons-logging-1.0.4.jar,
2726
lib/gt-netcdf-22.1.jar,
@@ -66,4 +65,10 @@ Import-Package: com.sun.jna;version="4.2.0",
6665
javax.media.jai.remote,
6766
javax.media.jai.tilecodec,
6867
javax.media.jai.util,
69-
javax.media.jai.widget
68+
javax.media.jai.widget,
69+
org.apache.commons.codec;version="1.2.0",
70+
org.apache.commons.codec.binary;version="1.2.0",
71+
org.apache.commons.codec.digest;version="1.2.0",
72+
org.apache.commons.codec.language;version="1.2.0",
73+
org.apache.commons.codec.language.bm;version="1.2.0",
74+
org.apache.commons.codec.net;version="1.2.0"

plugins/org.locationtech.udig.libs.netcdf/build.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bin.includes = META-INF/,\
66
lib/c3p0-0.9.1.1.jar,\
77
lib/cdm-4.6.11.jar,\
88
lib/commons-cli-1.4.jar,\
9-
lib/commons-codec-1.2.jar,\
109
lib/commons-httpclient-3.1.jar,\
1110
lib/commons-logging-1.0.4.jar,\
1211
lib/gt-netcdf-22.1.jar,\

plugins/org.locationtech.udig.libs/META-INF/MANIFEST.MF

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ Require-Bundle: org.eclipse.core.runtime;visibility:=reexport,
1313
org.apache.xerces;visibility:=reexport,
1414
org.apache.log4j;visibility:=reexport,
1515
org.eclipse.xsd;visibility:=reexport,
16-
org.eclipse.swt;visibility:=reexport,
17-
org.apache.commons.codec;bundle-version="1.9.0";visibility:=reexport
16+
org.eclipse.swt;visibility:=reexport
1817
Bundle-Activator: org.locationtech.udig.libs.internal.Activator
1918
Bundle-ActivationPolicy: lazy
2019
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
@@ -94,6 +93,12 @@ Import-Package: com.sun.jna;version="4.2.0",
9493
oracle.security.o3logon;resolution:=optional,
9594
oracle.sql;resolution:=optional,
9695
oracle.sql.converter;resolution:=optional,
96+
org.apache.commons.codec;version="1.2.0",
97+
org.apache.commons.codec.binary;version="1.2.0",
98+
org.apache.commons.codec.digest;version="1.2.0",
99+
org.apache.commons.codec.language;version="1.2.0",
100+
org.apache.commons.codec.language.bm;version="1.2.0",
101+
org.apache.commons.codec.net;version="1.2.0",
97102
org.jfree;version="1.0.13",
98103
org.jfree.base;version="1.0.13",
99104
org.jfree.base.config;version="1.0.13",

plugins/org.locationtech.udig.libs/pom-libs.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -722,13 +722,6 @@
722722
<artifactId>commons-math</artifactId>
723723
<version>2.2</version>
724724
</dependency>
725-
<dependency>
726-
<groupId>commons-codec</groupId>
727-
<artifactId>commons-codec</artifactId>
728-
<version>1.9</version>
729-
<scope>provided</scope>
730-
</dependency>
731-
732725

733726
<!-- EMF -->
734727
<dependency>

pom-libs.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@
111111
<version>${jai.core.version}</version>
112112
<scope>provided</scope>
113113
</dependency>
114+
<dependency>
115+
<groupId>commons-codec</groupId>
116+
<artifactId>commons-codec</artifactId>
117+
<version>1.9</version>
118+
<scope>provided</scope>
119+
</dependency>
114120
</dependencies>
115121

116122
<build>

0 commit comments

Comments
 (0)