This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/any23.git


The following commit(s) were added to refs/heads/master by this push:
     new 2350fa6  Update website downloads and Javadoc
2350fa6 is described below

commit 2350fa671d5eb6d1eb2fdd5f448fadcb810fa6e4
Author: Lewis John McGibbney <[email protected]>
AuthorDate: Fri Sep 10 21:46:26 2021 -0700

    Update website downloads and Javadoc
---
 .../java/org/apache/any23/cli/YAMLRoverTest.java   |  2 +-
 pom.xml                                            |  4 +--
 src/site/xdoc/download.xml.vm                      | 37 ++++++++++++----------
 3 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/cli/src/test/java/org/apache/any23/cli/YAMLRoverTest.java 
b/cli/src/test/java/org/apache/any23/cli/YAMLRoverTest.java
index 86622eb..8947239 100644
--- a/cli/src/test/java/org/apache/any23/cli/YAMLRoverTest.java
+++ b/cli/src/test/java/org/apache/any23/cli/YAMLRoverTest.java
@@ -64,7 +64,7 @@ public class YAMLRoverTest extends ToolTestBase {
     /**
      * Asserts if file contains wanted string.
      * 
-     * If logging level is <tt>trace</tt> than additionally displays file 
content.
+     * If logging level is <code>trace</code> than additionally displays file 
content.
      * 
      * @param f
      *            input file
diff --git a/pom.xml b/pom.xml
index d63418f..66d21f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,7 +35,7 @@
   <url>http://any23.apache.org</url>
   <inceptionYear>2010</inceptionYear>
 
-  <repositories>
+  <!--repositories>
     <repository>
       <snapshots>
         <enabled>false</enabled>
@@ -44,7 +44,7 @@
       <name>bintray</name>
       <url>https://allenai.bintray.com/maven</url>
     </repository>
-  </repositories>
+  </repositories-->
   <pluginRepositories>
     <pluginRepository>
       <snapshots>
diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm
index 4c22a46..776f4ea 100644
--- a/src/site/xdoc/download.xml.vm
+++ b/src/site/xdoc/download.xml.vm
@@ -26,21 +26,26 @@
 
   <body>
     <section name="Download Apache Any23">
-      <p>Apache Any23 is distributed in several formats for your convenience. 
Use a source archive if you intend to build
-   Apache Any23 yourself. Otherwise, simply pick a ready-made binary 
distribution and follow the installation
-   instructions given inside the archives. Additionally, you can use Any23 as 
a dependency, see the most recent release
-   artifacts on <a 
href="https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.any23%22";>Maven
 Central</a>.</p>
+      <p>Apache Any23 is distributed in several formats for your convenience. 
Use a source archive if you intend to build Apache Any23 yourself. Otherwise, 
simply pick a ready-made binary distribution and follow the installation 
instructions given inside the archives.</p>
 
-      <p>You will be prompted for a mirror - if the file is not found on 
yours, please be patient, as it may take 24
-   hours to reach all mirrors.</p>
+      <p>You will be prompted for a mirror - if the file is not found on 
yours, please be patient, as it may take 24 hours to reach all mirrors.</p>
 
-      <p>In order to guard against corrupted downloads/installations, it is 
highly recommended to
-   <a 
href="https://www.apache.org/dev/release-signing#verifying-signature";>verify 
the signature</a>
-   of the release bundles against the public <a 
href="https://apache.org/dist/any23/KEYS";>KEYS</a> used by the Apache Any23
-   developers.</p>
+      <p>In order to guard against corrupted downloads/installations, it is 
highly recommended to <a 
href="https://www.apache.org/dev/release-signing#verifying-signature";>verify 
the signature</a> of the release bundles against the public <a 
href="https://apache.org/dist/any23/KEYS";>KEYS</a> used by the Apache Any23 
developers.</p>
 
       <p>Apache Any23 is distributed under the <a 
href="https://any23.apache.org/license.html";> Apache License, version 
2.0</a>.</p>
 
+
+      <subsection name="Apache Any23 Maven Artifacts">
+        <p>You can use Any23 as a <a href="https://maven.apache.org";>Maven</a> 
dependency. See the most recent release artifacts on <a 
href="https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.any23%22";>Maven
 Central</a>. For example you could add the <code>apache-any23-core</code> 
artifact to your project POM as follows:</p>
+        <code>
+          &#60;dependency&#62;<br />
+          
&nbsp;&nbsp;&nbsp;&nbsp;&#60;groupId&#62;org.apache.any23&#60;/groupId&#62;<br 
/>
+          
&nbsp;&nbsp;&nbsp;&nbsp;&#60;artifactId&#62;apache-any23-core&#60;/artifactId&#62;<br
 />
+          
&nbsp;&nbsp;&nbsp;&nbsp;&#60;version&#62;${latestStableRelease}&#60;/version&#62;<br
 />
+          &#60;/dependency&#62;
+        </code>
+      </subsection>
+
       <subsection name="Apache Any23 Sources">
         <table>
           <thead>
@@ -99,7 +104,7 @@
     <section name="Apache Any23 Plugins">
       <subsection name="plugins">
         <p>Various plugins were made available for Any23 releases prior to 
2.4. As of 2.4, this is not longer the case. Reasoning behind this relates to 
the size of the artifcts post introduction of the <a 
href="https://github.com/apache/any23-plugins/tree/master/openie";>Open 
Information Extraction (Open IE) module</a>. This grew the artifacts to ~1GB 
which became too large to distribute across the Apache global mirror 
network.</p>
-        <p>Any23 plugins can be obtained by <a 
href="https://github.com/apache/any23-plugins/tree/master/openie";>downloading 
and building from source</a>.</p>
+        <p>Any23 plugins can be obtained by <a 
href="https://github.com/apache/any23-plugins";>downloading and building from 
source</a>.</p>
         <p>Plugin artifacts prior to 2.4 can be found in the <a 
href="http://archive.apache.org/dist/any23/";>Apache Any23 Artifact 
Archive</a>.</p>
       </subsection>
       <!--subsection name="Apache Any23 Basic Crawler">
@@ -199,16 +204,16 @@
       </subsection>
       <subsection name="PGP Signatures">
         <p>The PGP signatures can be verified using PGP or GPG. First download 
the <a href="https://www.apache.org/dist/any23/KEYS";>KEYS</a> as well as the 
asc signature file for the relevant distribution. <b>N.B.</b> Make sure you get 
these files from the main distribution directory, rather than from a mirror. 
Then verify the signatures using the following example</p>
-        <code>$ gpg --import KEYS</code>
-        <code>$ gpg --verify 
apache-any23-${latest.stable.released}-src.tar.gz.asc 
apache-any23-${latest.stable.released}-src.tar.gz</code>
+        <code>$ gpg --import KEYS</code><br />
+        <code>$ gpg --verify 
apache-any23-${latestStableRelease}-src.tar.gz.asc 
apache-any23-${latestStableRelease}-src.tar.gz</code>
         <p>The files in the most recent release are signed by Lewis John 
McGibbney (CODE SIGNING KEY) [email protected] 48BAEBF6</p>
       </subsection>
       <subsection name="SHA512 Signatures">
         <p>Alternatively, you can verify the SHA512 signatures on the files. A 
unix program called md5 or md5sum is included in many unix distributions. Use 
the following example</p>
-        <code>$ sha512sum 
apache-any23-${latest.stable.released}-src.tar.gz</code>
-        <p>... output should match the string in 
apache-any23-${latest.stable.released}-src.tar.gz.sha512</p>
+        <code>$ sha512sum apache-any23-${latestStableRelease}-src.tar.gz</code>
+        <p>... output should match the string in 
<b>apache-any23-${latestStableRelease}-src.tar.gz.sha512</b></p>
       </subsection>
     </section>
 
   </body>
-</document>
+</document>
\ No newline at end of file

Reply via email to