This is an automated email from the ASF dual-hosted git repository. lehmi pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/pdfbox-docs.git
The following commit(s) were added to refs/heads/asf-site by this push: new 9455169 Site checkin for project Apache PDFBox Website 9455169 is described below commit 9455169790e65840988e0283aebd89b378f324e1 Author: Andreas Lehmkühler <andr...@lehmi.de> AuthorDate: Sun Jun 7 19:02:19 2020 +0200 Site checkin for project Apache PDFBox Website --- content/blog.html | 8 + content/building.html | 2 +- content/css/styles.css | 186 +++++++-------------- content/css/styles.css.map | 16 ++ content/download.html | 66 ++++---- content/index.html | 23 ++- .../2020/05/07/pdfbox.2.0.20.html} | 93 +---------- 7 files changed, 139 insertions(+), 255 deletions(-) diff --git a/content/blog.html b/content/blog.html index 8964c03..c507fd8 100644 --- a/content/blog.html +++ b/content/blog.html @@ -160,6 +160,14 @@ <div class="col-xs-12 col-sm-9"> <h1 id="blog">Blog</h1> +<h2>Apache PDFBox 2.0.20 released<br /><small>2020-05-07</small></h2> +<p>The Apache PDFBox community is pleased to announce the release of +Apache PDFBox version 2.0.20. It is available for download at:</p> + +<p><a href="https://pdfbox.apache.org/download.cgi">https://pdfbox.apache.org/download.cgi</a></p> + +<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12346996">full release notes</a> for details about this release.</p> + <h2>Apache PDFBox 2.0.19 released<br /><small>2020-02-23</small></h2> <p>The Apache PDFBox community is pleased to announce the release of Apache PDFBox version 2.0.19. It is available for download at:</p> diff --git a/content/building.html b/content/building.html index dda9899..fb81c62 100644 --- a/content/building.html +++ b/content/building.html @@ -228,7 +228,7 @@ but other versions probably work as well.</li> PDFBox. <ol> <li><a href="http://www.ikvm.net/">IKVM</a> binaries</li> - <li>In the build.properties, set the ikvm.dir property:\ + <li>In the build.properties, set the ikvm.dir property:<br /> <code class="highlighter-rouge">ikvm.dir=C:\\javalib\\ikvm-12-07-2004\\ikvm</code></li> </ol> </li> diff --git a/content/css/styles.css b/content/css/styles.css index c801d72..b97399b 100644 --- a/content/css/styles.css +++ b/content/css/styles.css @@ -1,122 +1,66 @@ @import url(/css/site.css); -.documentation { - display: flex; } - .documentation section h1, .documentation section h2, .documentation section h3, .documentation section h4, .documentation section ul, .documentation section p { - padding-left: 3rem; - padding-right: 1rem; } - .documentation section table { - margin-left: 3rem; - margin-right: 1rem; } - .documentation section ul { - padding-left: 5rem; } - .documentation nav { - min-width: 25rem; - box-shadow: 1px 0 0 rgba(81, 88, 90, 0.17); } - .documentation nav h1 { - font-size: 1.2rem; - text-transform: uppercase; } - .documentation nav ul { - list-style: none; } - .documentation nav > ul { - list-style: none; - padding: 0; } - .documentation nav li a { - padding: .20em 15px; } - .documentation nav li a:hover, .documentation nav li a:focus { - background-color: #eee; - text-decoration: none; } - .documentation aside { - min-width: 22rem; - max-width: 22rem; - padding-left: 2rem; } - .documentation aside h1 { - font-size: 1.2rem; - text-transform: uppercase; } - .documentation aside ul { - list-style: none; - padding: 0 1rem; } - .documentation aside > ul { - list-style: none; - padding: 0; } - .documentation aside a { - font-size: 13px; - text-decoration: none; - border-radius: 2px; - padding: 4px 5px 4px 23px; - display: block; } - .documentation div.highlight { - background: #f8f8f8; - margin: 2rem 0; } - .documentation code { - color: black; } - -.accordion-menu ul li i:before, .accordion-menu ul li i:after { - transition: all 0.25s ease-in-out; } - -.accordion-menu ul ul li { - animation: flipdown 0.5s ease both; } - -.accordion-menu label { - color: rgba(0, 0, 0, 0.8); - cursor: pointer; - display: block; - font-size: 1em; - padding: .20em 15px; - text-transform: uppercase; } - -.accordion-menu ul { - list-style: none; - perspective: 900; - padding: 0; - margin: 0; } - -.accordion-menu ul li { - position: relative; - padding: 0; - margin: 0; - padding-bottom: 4px; - padding-top: 18px; } - -.accordion-menu ul li:last-of-type { - padding-bottom: 0; } - -.accordion-menu ul li.has-children { - margin-right: 1em; } - -.accordion-menu ul li i { - position: absolute; - transform: translate(-6px, 0); - margin-top: 16px; - right: 0; } - -.accordion-menu ul li i:before, .accordion-menu ul li i:after { - content: ""; - position: absolute; - background-color: #ff6873; - width: 3px; - height: 9px; } - -.accordion-menu ul li i:before { - transform: translate(-2px, 0) rotate(45deg); } - -.accordion-menu ul li i:after { - transform: translate(2px, 0) rotate(-45deg); } - -.accordion-menu ul li input[type=checkbox] { - position: absolute; - cursor: pointer; - width: 100%; - height: 100%; - opacity: 0; } - -.accordion-menu ul li input[type=checkbox]:checked ~ ul { - margin-top: 0; - max-height: 0; - opacity: 0; - transform: translate(0, 50%); } - -.accordion-menu ul li input[type=checkbox]:checked ~ i:before { - transform: translate(2px, 0) rotate(45deg); } - -.accordion-menu ul li input[type=checkbox]:checked ~ i:after { - transform: translate(-2px, 0) rotate(-45deg); } \ No newline at end of file +.documentation { display: flex; } + +.documentation section h1, .documentation section h2, .documentation section h3, .documentation section h4, .documentation section ul, .documentation section p { padding-left: 3rem; padding-right: 1rem; } + +.documentation section table { margin-left: 3rem; margin-right: 1rem; } + +.documentation section ul { padding-left: 5rem; } + +.documentation nav { min-width: 25rem; box-shadow: 1px 0 0 rgba(81, 88, 90, 0.17); } + +.documentation nav h1 { font-size: 1.2rem; text-transform: uppercase; } + +.documentation nav ul { list-style: none; } + +.documentation nav > ul { list-style: none; padding: 0; } + +.documentation nav li a { padding: .20em 15px; } + +.documentation nav li a:hover, .documentation nav li a:focus { background-color: #eee; text-decoration: none; } + +.documentation aside { min-width: 22rem; max-width: 22rem; padding-left: 2rem; } + +.documentation aside h1 { font-size: 1.2rem; text-transform: uppercase; } + +.documentation aside ul { list-style: none; padding: 0 1rem; } + +.documentation aside > ul { list-style: none; padding: 0; } + +.documentation aside a { font-size: 13px; text-decoration: none; border-radius: 2px; padding: 4px 5px 4px 23px; display: block; } + +.documentation div.highlight { background: #f8f8f8; margin: 2rem 0; } + +.documentation code { color: black; } + +.accordion-menu ul li i:before, .accordion-menu ul li i:after { transition: all 0.25s ease-in-out; } + +.accordion-menu ul ul li { animation: flipdown 0.5s ease both; } + +.accordion-menu label { color: rgba(0, 0, 0, 0.8); cursor: pointer; display: block; font-size: 1em; padding: .20em 15px; text-transform: uppercase; } + +.accordion-menu ul { list-style: none; perspective: 900; padding: 0; margin: 0; } + +.accordion-menu ul li { position: relative; padding: 0; margin: 0; padding-bottom: 4px; padding-top: 18px; } + +.accordion-menu ul li:last-of-type { padding-bottom: 0; } + +.accordion-menu ul li.has-children { margin-right: 1em; } + +.accordion-menu ul li i { position: absolute; transform: translate(-6px, 0); margin-top: 16px; right: 0; } + +.accordion-menu ul li i:before, .accordion-menu ul li i:after { content: ""; position: absolute; background-color: #ff6873; width: 3px; height: 9px; } + +.accordion-menu ul li i:before { transform: translate(-2px, 0) rotate(45deg); } + +.accordion-menu ul li i:after { transform: translate(2px, 0) rotate(-45deg); } + +.accordion-menu ul li input[type=checkbox] { position: absolute; cursor: pointer; width: 100%; height: 100%; opacity: 0; } + +.accordion-menu ul li input[type=checkbox]:checked ~ ul { margin-top: 0; max-height: 0; opacity: 0; transform: translate(0, 50%); } + +.accordion-menu ul li input[type=checkbox]:checked ~ i:before { transform: translate(2px, 0) rotate(45deg); } + +.accordion-menu ul li input[type=checkbox]:checked ~ i:after { transform: translate(-2px, 0) rotate(-45deg); } + +/*# sourceMappingURL=styles.css.map */ \ No newline at end of file diff --git a/content/css/styles.css.map b/content/css/styles.css.map new file mode 100644 index 0000000..16e0f26 --- /dev/null +++ b/content/css/styles.css.map @@ -0,0 +1,16 @@ +{ + "version": 3, + "file": "styles.css", + "sources": [ + "styles.sass", + "content/_sass/documentation.scss", + "content/_sass/accordion.scss" + ], + "sourcesContent": [ + "@import \"/css/site.css\";\n@import \"documentation.scss\";\n@import \"accordion.scss\";\n", + ".documentation {\n display: flex;\n\n section {\n h1, h2, h3, h4, ul, p {\n padding-left: 3rem;\n padding-right: 1rem;\n }\n\n table {\n margin-left: 3rem;\n margin-right: 1rem;\n }\n\n ul {\n padding-left: 5rem;\n }\n\n }\n\n nav {\n min-width: 25rem;\n box-shadow: 1px 0 0 rgba(81,88,90,0.17);\n\n h1 {\n font-size: 1.2rem;\n text-transform: uppercase;\n }\n\n ul {\n list-style: none;\n }\n\n & > ul {\n [...] + ".accordion-menu ul li i:before, .accordion-menu ul li i:after {\n transition: all 0.25s ease-in-out;\n}\n\n.accordion-menu ul ul li {\n animation: flipdown 0.5s ease both;\n}\n\n.accordion-menu label {\n color: rgba(0,0,0,0.8);\n cursor: pointer;\n display: block;\n font-size: 1em;\n padding: .20em 15px;\n text-transform: uppercase;\n}\n\n.accordion-menu ul {\n list-style: none;\n perspective: 900;\n padding: 0;\n margin: 0;\n}\n.accordion-menu ul li {\n position: relativ [...] + ], + "names": [], + "mappings": "AAAA,OAAO,CAAP,kBAAO;ACAP,AAAA,cAAc,CAAC,EACb,OAAO,EAAE,IAAI,GAuFd;;AAxFD,AAII,cAJU,CAGZ,OAAO,CACL,EAAE,EAJN,cAAc,CAGZ,OAAO,CACD,EAAE,EAJV,cAAc,CAGZ,OAAO,CACG,EAAE,EAJd,cAAc,CAGZ,OAAO,CACO,EAAE,EAJlB,cAAc,CAGZ,OAAO,CACW,EAAE,EAJtB,cAAc,CAGZ,OAAO,CACe,CAAC,CAAC,EACpB,YAAY,EAAE,IAAI,EAClB,aAAa,EAAE,IAAI,GACpB;;AAPL,AASI,cATU,CAGZ,OAAO,CAML,KAAK,CAAC,EACJ,WAAW,EAAE,IAAI,EACjB,YAAY,EAAE,IAAI,GACnB;;AAZL,AAcI,cAdU,CAGZ,OAAO,CAWL,EAAE,CAAC,EACD,YAAY,EAAE,IAAI,GACnB;;AAhBL,AAoBE,c [...] +} \ No newline at end of file diff --git a/content/download.html b/content/download.html index 393c063..0f28191 100644 --- a/content/download.html +++ b/content/download.html @@ -163,7 +163,7 @@ <p>There are several ways to obtain the PDFBox binaries or sources:</p> <ul> - <li><a href="#20x">PDFBox 2.0.19 release</a></li> + <li><a href="#20x">PDFBox 2.0.20 release</a></li> <li><a href="#18x">PDFBox 1.8.16 release</a></li> <li><a href="#JBIG2">JBIG2 ImageIO plugin 3.0.3 release</a></li> <li><a href="#oldreleases">Previous releases</a></li> @@ -191,68 +191,68 @@ Alternatively, <a href="https://www.apache.org/mirrors/">view the complete list </form> <a name="20x"></a> -<h3>PDFBox 2.0.19</h3> +<h3>PDFBox 2.0.20</h3> <p>This is an incremental feature release based on the earlier `2.0.x` releases. - See the <a href="https://www.apache.org/dist/pdfbox/2.0.19/RELEASE-NOTES.txt">Release Notes</a> for more details. + See the <a href="https://www.apache.org/dist/pdfbox/2.0.20/RELEASE-NOTES.txt">Release Notes</a> for more details. </p> <p><strong>Source code including examples</strong></p> <ul> <li> - <a href="[preferred]pdfbox/2.0.19/pdfbox-2.0.19-src.zip">pdfbox-2.0.19-src.zip</a> 15.3MB, source archive - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-2.0.19-src.zip.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-2.0.19-src.zip.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/pdfbox-2.0.20-src.zip">pdfbox-2.0.20-src.zip</a> 15.4MB, source archive + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-2.0.20-src.zip.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-2.0.20-src.zip.sha512">SHA512</a> </li> </ul> <p><strong>Command line tools</strong></p> <ul> <li> - <a href="[preferred]pdfbox/2.0.19/pdfbox-app-2.0.19.jar">pdfbox-app-2.0.19.jar</a> 9.3MB, pre-built PDFBox standalone binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-app-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-app-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/pdfbox-app-2.0.20.jar">pdfbox-app-2.0.20.jar</a> 9.9MB, pre-built PDFBox standalone binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-app-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-app-2.0.20.jar.sha512">SHA512</a> </li> <li> - <a href="[preferred]pdfbox/2.0.19/preflight-app-2.0.19.jar">preflight-app-2.0.19.jar</a> 9.3MB, pre-built Preflight standalone binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/preflight-app-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/preflight-app-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/preflight-app-2.0.20.jar">preflight-app-2.0.20.jar</a> 9.9MB, pre-built Preflight standalone binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/preflight-app-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/preflight-app-2.0.20.jar.sha512">SHA512</a> </li> <li> - <a href="[preferred]pdfbox/2.0.19/debugger-app-2.0.19.jar">debugger-app-2.0.19.jar</a> 9.2MB, pre-built Debugger standalone binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/debugger-app-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/debugger-app-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/debugger-app-2.0.20.jar">debugger-app-2.0.20.jar</a> 9.8MB, pre-built Debugger standalone binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/debugger-app-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/debugger-app-2.0.20.jar.sha512">SHA512</a> </li> </ul> <p><strong>Libraries of each subproject</strong></p> <ul> <li> - <a href="[preferred]pdfbox/2.0.19/pdfbox-2.0.19.jar">pdfbox-2.0.19.jar</a> 2.7MB, pre-built binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/pdfbox-2.0.20.jar">pdfbox-2.0.20.jar</a> 2.7MB, pre-built binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-2.0.20.jar.sha512">SHA512</a> </li> <li> - <a href="[preferred]pdfbox/2.0.19/fontbox-2.0.19.jar">fontbox-2.0.19.jar</a> 1.6MB, pre-built binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/fontbox-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/fontbox-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/fontbox-2.0.20.jar">fontbox-2.0.20.jar</a> 1.6MB, pre-built binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/fontbox-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/fontbox-2.0.20.jar.sha512">SHA512</a> </li> <li> - <a href="[preferred]pdfbox/2.0.19/preflight-2.0.19.jar">preflight-2.0.19.jar</a> 248KB, pre-built binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/preflight-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/preflight-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/preflight-2.0.20.jar">preflight-2.0.20.jar</a> 248KB, pre-built binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/preflight-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/preflight-2.0.20.jar.sha512">SHA512</a> </li> <li> - <a href="[preferred]pdfbox/2.0.19/xmpbox-2.0.19.jar">xmpbox-2.0.19.jar</a> 132KB, pre-built binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/xmpbox-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/xmpbox-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/xmpbox-2.0.20.jar">xmpbox-2.0.20.jar</a> 132KB, pre-built binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/xmpbox-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/xmpbox-2.0.20.jar.sha512">SHA512</a> </li> <li> - <a href="[preferred]pdfbox/2.0.19/pdfbox-tools-2.0.19.jar">pdfbox-tools-2.0.19.jar</a> 81KB, pre-built binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-tools-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-tools-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/pdfbox-tools-2.0.20.jar">pdfbox-tools-2.0.20.jar</a> 81KB, pre-built binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-tools-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-tools-2.0.20.jar.sha512">SHA512</a> </li> <li> - <a href="[preferred]pdfbox/2.0.19/pdfbox-debugger-2.0.19.jar">pdfbox-debugger-2.0.19.jar</a> 254KB, pre-built binary - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-debugger-2.0.19.jar.asc">ASC</a> - <a href="https://www.apache.org/dist/pdfbox/2.0.19/pdfbox-debugger-2.0.19.jar.sha512">SHA512</a> + <a href="[preferred]pdfbox/2.0.20/pdfbox-debugger-2.0.20.jar">pdfbox-debugger-2.0.20.jar</a> 257KB, pre-built binary + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-debugger-2.0.20.jar.asc">ASC</a> + <a href="https://www.apache.org/dist/pdfbox/2.0.20/pdfbox-debugger-2.0.20.jar.sha512">SHA512</a> </li> </ul> diff --git a/content/index.html b/content/index.html index 5897097..f1f269c 100644 --- a/content/index.html +++ b/content/index.html @@ -167,13 +167,13 @@ Apache PDFBox also includes several command-line utilities. Apache PDFBox is published under the Apache License v2.0.</p> -<h2>Apache PDFBox 2.0.19 released<br /><small>2020-02-23</small></h2> +<h2>Apache PDFBox 2.0.20 released<br /><small>2020-05-07</small></h2> <p>The Apache PDFBox community is pleased to announce the release of -Apache PDFBox version 2.0.19. It is available for download at:</p> +Apache PDFBox version 2.0.20. It is available for download at:</p> <p><a href="https://pdfbox.apache.org/download.cgi">https://pdfbox.apache.org/download.cgi</a></p> -<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12346594">full release notes</a> for details about this release.</p> +<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12346996">full release notes</a> for details about this release.</p> <h2 id="getting-help">Getting Help</h2> @@ -226,6 +226,14 @@ skills. Subscribe to the <a href="/mailinglists.html">Mailing Lists</a> and find <h2 id="news">News</h2> +<h3>Apache PDFBox 2.0.19 released<br /><small>2020-02-23</small></h3> +<p>The Apache PDFBox community is pleased to announce the release of +Apache PDFBox version 2.0.19. It is available for download at:</p> + +<p><a href="https://pdfbox.apache.org/download.cgi">https://pdfbox.apache.org/download.cgi</a></p> + +<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12346594">full release notes</a> for details about this release.</p> + <h3>Apache PDFBox 2.0.18 released<br /><small>2019-12-23</small></h3> <p>The Apache PDFBox community is pleased to announce the release of Apache PDFBox version 2.0.18. It is available for download at:</p> @@ -258,15 +266,6 @@ Apache PDFBox version 2.0.16. It is available for download at:</p> <p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12345355">full release notes</a> for details about this release.</p> -<h3>CVE-2019-0228 XML External Entity vulnerability<br /><small>2019-04-12</small></h3> -<p>Due to a XML External Entity vulnerability we strongly recommend to update to the most recent version of Apache PDFBox.</p> - -<p><strong>Versions Affected:</strong> -Apache PDFBox 2.0.14 only</p> - -<p><strong>Mitigation:</strong> -Upgrade to Apache PDFBox 2.0.15</p> - </div> </div> diff --git a/content/building.html b/content/news/2020/05/07/pdfbox.2.0.20.html similarity index 75% copy from content/building.html copy to content/news/2020/05/07/pdfbox.2.0.20.html index dda9899..85a1418 100644 --- a/content/building.html +++ b/content/news/2020/05/07/pdfbox.2.0.20.html @@ -26,7 +26,7 @@ <meta name="description" content="The Apache PDFBox™ library is an open source Java tool for working with PDF documents. This project allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents. Apache PDFBox also includes several command-line utilities. Apache PDFBox is published under the Apache License v2.0. "> - <title>Apache PDFBox | Building PDFBox</title> + <title>Apache PDFBox | Apache PDFBox 2.0.20 released</title> <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="/css/pygments-github.css" rel="stylesheet"> @@ -158,95 +158,12 @@ <a href="https://www.apache.org/foundation/contributing.html"><img width="135" src="/images/SupportApache.jpg"></a> </div> <div class="col-xs-12 col-sm-9"> - <h1 id="building-from-source">Building from Source</h1> + <p>The Apache PDFBox community is pleased to announce the release of +Apache PDFBox version 2.0.20. It is available for download at:</p> -<p>Building PDFBox from source is only necessary if you’re wanting to contribute code to the PDFBox project. Most users should use the <a href="http://pdfbox.apache.org/download.cgi">binary releases</a> instead.</p> +<p><a href="https://pdfbox.apache.org/download.cgi">https://pdfbox.apache.org/download.cgi</a></p> -<h2 id="obtaining-the-source">Obtaining the Source</h2> - -<p>You can obtain the latest source of PDFBox from our <a href="http://svn.apache.org/repos/asf/pdfbox/">SVN repo</a>. The current trunk is 3.0.0-SNAPSHOT. There is a separate branch for the 1.8.x and the 2.0.x series. You can fetch the latest trunk version using Subversion:</p> - -<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>svn checkout http://svn.apache.org/repos/asf/pdfbox/trunk/ -cd trunk -</code></pre></div></div> - -<p>You can also browse the Subversion repository using <a href="https://svn.apache.org/viewvc/pdfbox/">ViewVC</a>.</p> - -<p>We also have a read-only <a href="https://git.apache.org/">Git mirror</a> which is further mirrored to GitHub as <a href="https://github.com/apache/pdfbox">apache/pdfbox</a>.</p> - -<p>The sources for the <strong>Java ImageIO plugin for the JBIG2 image format</strong> are available in the <a href="https://git-wip-us.apache.org/repos/asf?p=pdfbox-jbig2.git">Apache Git Repository</a> or can be loaded from <a href="https://github.com/apache/pdfbox-jbig2">GitHub</a>.</p> - -<h2 id="build-dependencies">Build dependencies</h2> - -<h3 id="pdfbox-18">PDFBox 1.8</h3> - -<ul> - <li>JDK 5 or 6</li> - <li><a href="http://maven.apache.org/">Maven 3</a></li> -</ul> - -<h3 id="pdfbox-20">PDFBox 2.0</h3> - -<ul> - <li>JDK 7</li> - <li><a href="#java-cryptography-extension-jce">Java Cryptography Extension (JCE)</a></li> - <li><a href="http://maven.apache.org/">Maven 3</a></li> -</ul> - -<h3 id="java-imageio-plugin-for-jbig2">Java ImageIO plugin for JBIG2</h3> - -<ul> - <li>JDK 6</li> - <li><a href="http://maven.apache.org/">Maven 3</a></li> -</ul> - -<h3 id="java-cryptography-extension-jce">Java Cryptography Extension (JCE)</h3> - -<p>Building PDFBox 2.0 requires a JDK with “unlimited strength” cryptography, which requires extra files to be installed. For JDK 7, see <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html">Java Cryptography Extension (JCE)</a>. If these files are not installed, building PDFBox will fail the following test:</p> - -<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>TestPublicKeyEncryption.setUp:70 JCE unlimited strength jurisdiction policy files are not installed -</code></pre></div></div> - -<h2 id="building-with-maven">Building with Maven</h2> - -<p>In the root directory of PDFBox:</p> - -<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mvn clean install -</code></pre></div></div> - -<hr /> - -<h2 id="building-with-ant-deprecated-removed-in-200">Building with Ant (Deprecated, removed in 2.0.0)</h2> - -<p>The old Ant build is still available, and can be used especially for -building .NET binaries with IKVM:</p> - -<ol> - <li>Install <a href="http://ant.apache.org/">ANT</a>. PDFBox currently uses 1.6.2 -but other versions probably work as well.</li> - <li>(optional) Setup IKVM, if you want to build the .NET DLL version of -PDFBox. - <ol> - <li><a href="http://www.ikvm.net/">IKVM</a> binaries</li> - <li>In the build.properties, set the ikvm.dir property:\ - <code class="highlighter-rouge">ikvm.dir=C:\\javalib\\ikvm-12-07-2004\\ikvm</code></li> - </ol> - </li> - <li>Run “<code class="highlighter-rouge">ant</code>” from the root PDFBox directory. This will create the -.zip package distribution. See the build file for other ant targets.</li> -</ol> - -<p>NOTE: If you want to run PDFBox from an IDE them you will need to add -the ‘Resources’ directory to the project classpath in your IDE.</p> - -<h3 id="dependencies-for-ant-builds">Dependencies for Ant Builds</h3> - -<p>The above instructions expect that you’re using <a href="http://maven.apache.org/">Maven</a> or another build tool like <a href="http://ant.apache.org/ivy/">Ivy</a> that supports Maven dependencies. -If you instead use tools like <a href="http://ant.apache.org/">Ant</a> where you need to explicitly include all the required library jars in your application, you’ll need to do -something different.</p> - -<p>The easiest approach is to run <code class="highlighter-rouge">mvn dependency:copy-dependencies</code> inside the pdfbox directory of the latest PDFBox source release. This will copy all the required and optional -libraries discussed above into the pdfbox/target/dependencies directory. You can then simply copy all the libraries you need from this directory to your application.</p> +<p>See the <a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310760&version=12346996">full release notes</a> for details about this release.</p> </div> </div>