Skip to content

Commit 21d7caa

Browse files
committed
Repackage .codec. to .codec2. Change POM grouId from commons-codec to org.apache.commons. Change artifactId from commons-codec to commons-codec2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1156841 13f79535-47bb-0310-9956-ffa450edef68
1 parent c2809b4 commit 21d7caa

93 files changed

Lines changed: 232 additions & 226 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

default.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ junit.jar = ${junit.home}/junit-4.8.2.jar
2828
component.name = commons-codec
2929

3030
# The primary package name of this component
31-
component.package = org.apache.commons.codec
31+
component.package = org.apache.commons.codec2
3232

3333
# The title of this component
3434
component.title = Encode/Decode Utilities

pom.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ limitations under the License.
2323
<version>21</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
26-
<groupId>commons-codec</groupId>
27-
<artifactId>commons-codec</artifactId>
26+
<groupId>org.apache.commons</groupId>
27+
<artifactId>commons-codec2</artifactId>
2828
<version>2.0-SNAPSHOT</version>
2929
<name>Commons Codec</name>
3030
<inceptionYear>2002</inceptionYear>
@@ -310,7 +310,13 @@ limitations under the License.
310310
<artifactId>clirr-maven-plugin</artifactId>
311311
<version>2.3</version>
312312
<configuration>
313-
<comparisonVersion>1.5</comparisonVersion>
313+
<comparisonArtifacts>
314+
<comparisonArtifact>
315+
<groupId>commons-codec</groupId>
316+
<artifactId>commons-codec</artifactId>
317+
<version>1.5</version>
318+
</comparisonArtifact>
319+
</comparisonArtifacts>
314320
<minSeverity>info</minSeverity>
315321
</configuration>
316322
</plugin>

src/java/org/apache/commons/codec/BinaryDecoder.java renamed to src/java/org/apache/commons/codec2/BinaryDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.commons.codec;
18+
package org.apache.commons.codec2;
1919

2020
/**
2121
* Defines common decoding methods for byte array decoders.

src/java/org/apache/commons/codec/BinaryEncoder.java renamed to src/java/org/apache/commons/codec2/BinaryEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.commons.codec;
18+
package org.apache.commons.codec2;
1919

2020
/**
2121
* Defines common encoding methods for byte array encoders.

src/java/org/apache/commons/codec/CharEncoding.java renamed to src/java/org/apache/commons/codec2/CharEncoding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.commons.codec;
18+
package org.apache.commons.codec2;
1919

2020
/**
2121
* Character encoding names required of every implementation of the Java platform.

src/java/org/apache/commons/codec/Decoder.java renamed to src/java/org/apache/commons/codec2/Decoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.commons.codec;
18+
package org.apache.commons.codec2;
1919

2020
/**
2121
* <p>Provides the highest level of abstraction for Decoders.

src/java/org/apache/commons/codec/DecoderException.java renamed to src/java/org/apache/commons/codec2/DecoderException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.commons.codec;
18+
package org.apache.commons.codec2;
1919

2020
/**
2121
* Thrown when there is a failure condition during the decoding process. This exception is thrown when a {@link Decoder}

src/java/org/apache/commons/codec/Encoder.java renamed to src/java/org/apache/commons/codec2/Encoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.commons.codec;
18+
package org.apache.commons.codec2;
1919

2020
/**
2121
* <p>Provides the highest level of abstraction for Encoders.

src/java/org/apache/commons/codec/EncoderException.java renamed to src/java/org/apache/commons/codec2/EncoderException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.commons.codec;
18+
package org.apache.commons.codec2;
1919

2020
/**
2121
* Thrown when there is a failure condition during the encoding process. This exception is thrown when an

src/java/org/apache/commons/codec/StringDecoder.java renamed to src/java/org/apache/commons/codec2/StringDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package org.apache.commons.codec;
18+
package org.apache.commons.codec2;
1919

2020
/**
2121
* Defines common decoding methods for String decoders.

0 commit comments

Comments
 (0)