prepare RC1 of Commons Compress 1.12
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 0433120..d9ce1e7 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -5,7 +5,7 @@
lzma, xz, Snappy, traditional Unix Compress, DEFLATE and ar, cpio,
jar, tar, zip, dump, 7z, arj.
-Release 1.12 (not released, yet)
+Release 1.12
------------
Commons Compress 1.12 is the first version to require Java6 at
diff --git a/pom.xml b/pom.xml
index 4e5c837..9ef1e34 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
- <version>1.12-SNAPSHOT</version>
+ <version>1.12</version>
<name>Apache Commons Compress</name>
<url>http://commons.apache.org/proper/commons-compress/</url>
<!-- The description is not indented to make it look better in the release notes -->
diff --git a/src/site/site.xml b/src/site/site.xml
index 626d7d3..7bcbb67 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -35,6 +35,7 @@
<item name="Download" href="/download_compress.cgi"/>
<item name="Security Reports" href="/security-reports.html"/>
<item name="Wiki" href="http://wiki.apache.org/commons/Compress"/>
+ <item name="Javadoc 1.12" href="javadocs/api-1.12/index.html"/>
<item name="Javadoc 1.11" href="javadocs/api-1.11/index.html"/>
<item name="Javadoc 1.10" href="javadocs/api-1.10/index.html"/>
<item name="Javadoc 1.9" href="javadocs/api-1.9/index.html"/>
diff --git a/src/site/xdoc/download_compress.xml b/src/site/xdoc/download_compress.xml
index 4a3b23b..9e1500d 100644
--- a/src/site/xdoc/download_compress.xml
+++ b/src/site/xdoc/download_compress.xml
@@ -95,32 +95,32 @@
</p>
</subsection>
</section>
- <section name="Apache Commons Compress 1.11 ">
+ <section name="Apache Commons Compress 1.12 ">
<subsection name="Binaries">
<table>
<tr>
- <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.11-bin.tar.gz">commons-compress-1.11-bin.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.11-bin.tar.gz.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.11-bin.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.12-bin.tar.gz">commons-compress-1.12-bin.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.12-bin.tar.gz.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.12-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.11-bin.zip">commons-compress-1.11-bin.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.11-bin.zip.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.11-bin.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.12-bin.zip">commons-compress-1.12-bin.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.12-bin.zip.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.12-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a href="[preferred]/commons/compress/source/commons-compress-1.11-src.tar.gz">commons-compress-1.11-src.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.11-src.tar.gz.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.11-src.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/compress/source/commons-compress-1.12-src.tar.gz">commons-compress-1.12-src.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.12-src.tar.gz.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.12-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/compress/source/commons-compress-1.11-src.zip">commons-compress-1.11-src.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.11-src.zip.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.11-src.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/compress/source/commons-compress-1.12-src.zip">commons-compress-1.12-src.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.12-src.zip.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.12-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 3a5bfce..bde5915 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -51,23 +51,26 @@
</section>
<section name="Status">
- <p>The current release is 1.11 and requires Java 5.</p>
+ <p>The current release is 1.12 and requires Java 6.</p>
<p>Below we highlight some new features, for a full list
of changes see the <a href="changes-report.html">Changes
Report</a>.</p>
- <subsection name="What's new in 1.11?">
+ <subsection name="What's new in 1.12?">
<ul>
- <li>Added read-only support for BZIP2 compression used
- inside of ZIP archives.</li>
- <li>Speed improvements in <code>SevenZFile</code></li>
- <li>Various fixes and improvements for tar, ar, snappy
+ <li>Added support for the Snappy dialect used in iWork archives.</li>
+ <li><code>SevenZFile</code> throws an
+ IllegalStateException for empty entries.</li>
+ <li>BZip2CompressorOutputStream no longer tries to
+ finish the output stream in finalize. This is a breaking
+ change for code that relied on the finalizer.</li>
+ <li>Various fixes and improvements for tar, cpio
and zip.</li>
</ul>
</subsection>
- <!--subsection name="What's coming in 1.12?">
+ <!--subsection name="What's coming in 1.13?">
<ul>
</ul>
</subsection-->
@@ -88,14 +91,14 @@
by the <code>java.util.jar</code> package of the Java
class library. XZ and lzma support is provided by the public
domain <a href="http://tukaani.org/xz/java.html">XZ for
- Java</a> library. As of Commons Compress 1.11 support for
+ Java</a> library. As of Commons Compress 1.12 support for
the lzma, Z and Snappy formats is read-only.</p>
<p>The ar, arj, cpio, dump, tar, 7z and zip formats are supported as
archivers where the <a href="zip.html">zip</a>
implementation provides capabilities that go beyond the
features found in java.util.zip. As of Commons Compress
- 1.11 support for the dump and arj formats is
+ 1.12 support for the dump and arj formats is
read-only - 7z can read most compressed and encrypted
archives but only write unencrypted ones. LZMA(2) support
in 7z requires <a href="http://tukaani.org/xz/java.html">XZ for