commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r961351 - in /websites/production/commonsrdf/content: download.html userguide.html
Date Mon, 10 Aug 2015 11:15:10 GMT
Author: stain
Date: Mon Aug 10 11:15:10 2015
New Revision: 961351

Log:
Site checkin for project Commons RDF

Modified:
    websites/production/commonsrdf/content/download.html
    websites/production/commonsrdf/content/userguide.html

Modified: websites/production/commonsrdf/content/download.html
==============================================================================
--- websites/production/commonsrdf/content/download.html (original)
+++ websites/production/commonsrdf/content/download.html Mon Aug 10 11:15:10 2015
@@ -231,18 +231,44 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License. --><h1>Download Commons RDF</h1>
-<p>Maven artifact are available from <a class="externalLink" href="http://search.maven.org/">Maven
Central</a>. Here you can find all source releases published by the project:</p>
 <div class="section">
-<h2><a name="a0.1.0-incubating"></a>0.1.0-incubating</h2>
-<p><b>Apache Commons RDF 0.1.0-incubating</b> has been published on May
15, 2015, and is available for download in the <a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/">ASF
Distribution Directory</a>:</p>
+<h2><a name="Maven"></a>Maven</h2>
+<p>Apache Commons RDF (incuating) is available from <a class="externalLink" href="http://central.maven.org/maven2/org/apache/commons/commons-rdf-api/">Maven
Central</a>, mirrored from <a class="externalLink" href="https://repository.apache.org/content/repositories/releases/org/apache/commons/commons-rdf-api/">ASF&#x2019;s
Maven repository</a>.</p>
+<p>To use Commons RDF with <a class="externalLink" href="https://maven.apache.org/">Maven</a>,
add to your <tt>pom.xml</tt>:</p>
+
+<div class="source">
+<div class="source">
+<pre>&lt;dependencies&gt;
+  &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
+      &lt;artifactId&gt;commons-rdf-api&lt;/artifactId&gt;
+      &lt;version&gt;0.1.0-incubating&lt;/version&gt;
+  &lt;/dependency&gt;
+  &lt;!-- and optionally: --&gt;
+  &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
+      &lt;artifactId&gt;commons-rdf-simple&lt;/artifactId&gt;
+      &lt;version&gt;0.1.0-incubating&lt;/version&gt;
+      &lt;optional&gt;true&lt;/optional&gt;
+  &lt;/dependency&gt;
+&lt;/dependencies&gt;
+</pre></div></div>
+<p>For convenience of IDE users, the Maven artifacts include <tt>-javadoc.jar</tt>
and <tt>-sources.jar</tt>, however you might prefer the online <a href="/apidocs/">API
javadoc</a> and the [source code](#source code) release (see below).</p>
+<p>See the <a href="/userguide.html">user guide</a> for more details. </p></div>
+<div class="section">
+<h2><a name="Source_code"></a>Source code</h2>
+<p>Here you can find all source releases published by Apache Commons RDF (incubating).</p>
+<div class="section">
+<h3><a name="a0.1.0-incubating"></a>0.1.0-incubating</h3>
+<p><b>Apache Commons RDF 0.1.0-incubating</b> was published on 2015-05-15,
and is available for download from official mirrors of the ASF Distribution Directory <a
class="externalLink" href="https://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/">incubator/commonsrdf</a>:</p>
 
 <ul>
   
-<li><a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.zip">apache-commons-rdf-0.1.0-incubating-src.zip</a>
 (<a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.zip.asc">asc</a>,
 <a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.zip.md5">md5</a>,
 <a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.zip.sha1">sha1</a>)</li>
+<li><a class="externalLink" href="https://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.zip">apache-commons-rdf-0.1.0-incubating-src.zip</a>
 (<a class="externalLink" href="https://dist.apache.org/repos/dist/release/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.zip.asc">asc</a>,
 <a class="externalLink" href="https://dist.apache.org/repos/dist/release/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.zip.md5">md5</a>,
 <a class="externalLink" href="https://dist.apache.org/repos/dist/release/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.zip.sha1">sha1</a>)</li>
   
-<li><a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.tar.gz">apache-commons-rdf-0.1.0-incubating-src.tar.gz</a>
 (<a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.tar.gz.asc">asc</a>,
 <a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.tar.gz.md5">md5</a>,
 <a class="externalLink" href="http://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.tar.gz.sha1">sha1</a>)</li>
+<li><a class="externalLink" href="https://www.apache.org/dyn/closer.cgi/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.tar.gz">apache-commons-rdf-0.1.0-incubating-src.tar.gz</a>
 (<a class="externalLink" href="https://dist.apache.org/repos/dist/release/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.tar.gz.asc">asc</a>,
 <a class="externalLink" href="https://dist.apache.org/repos/dist/release/incubator/commonsrdf/0.1.0-incubating//apache-commons-rdf-0.1.0-incubating-src.tar.gz.md5">md5</a>,
 <a class="externalLink" href="https://dist.apache.org/repos/dist/release/incubator/commonsrdf/0.1.0-incubating/apache-commons-rdf-0.1.0-incubating-src.tar.gz.sha1">sha1</a>)</li>
 </ul>
-<p>After downloading the files, check the signatures using the following <a class="externalLink"
href="https://dist.apache.org/repos/dist/release/incubator/commonsrdf/KEYS">KEYS</a>
file. The <a class="externalLink" href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316620&amp;version=12332056">changelog</a>
is available from the <a class="externalLink" href="http://issues.apache.org/jira/browse/COMMONSRDF">ASF
Jira</a>.</p></div>
+<p>After downloading the files, check the signatures using the following <a class="externalLink"
href="https://dist.apache.org/repos/dist/release/incubator/commonsrdf/KEYS">KEYS</a>
file. The <a class="externalLink" href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316620&amp;version=12332056">changelog</a>
is available from the <a class="externalLink" href="https://issues.apache.org/jira/browse/COMMONSRDF">Apache
Commons RDF Jira</a>.</p></div></div>
           </td>
         </tr>
       </table>

Modified: websites/production/commonsrdf/content/userguide.html
==============================================================================
--- websites/production/commonsrdf/content/userguide.html (original)
+++ websites/production/commonsrdf/content/userguide.html Mon Aug 10 11:15:10 2015
@@ -231,7 +231,7 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License. --><h1>User Guide</h1>
-<p>This page shows some examples of a client using the Commons RDF API. It was last
updated for version <tt>0.1-incubating-SNAPSHOT</tt> of the Commons RDF <a
href="apidocs/">API</a>.</p>
+<p>This page shows some examples of a client using the Commons RDF API. It was last
updated for version <tt>0.1.0-incubating</tt> of the Commons RDF <a href="apidocs/">API</a>.</p>
 
 <ul>
   
@@ -317,11 +317,12 @@
     &lt;dependency&gt;
         &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
         &lt;artifactId&gt;commons-rdf-api&lt;/artifactId&gt;
-        &lt;version&gt;0.1-incubating-SNAPSHOT&lt;/version&gt;
+        &lt;version&gt;0.1.0-incubating&lt;/version&gt;
     &lt;/dependency&gt;
 &lt;/dependencies&gt;
 </pre></div></div>
-<p>If you are testing a <tt>SNAPSHOT</tt> version, then you will have to
either build Commons RDF from <a class="externalLink" href="https://github.com/apache/incubator-commonsrdf">source</a>,
or add the <a class="externalLink" href="https://github.com/apache/incubator-commonsrdf#snapshot-repository">snapshot
repository</a>:</p>
+<p>The <tt>&lt;version&gt;</tt> above might not be up to date,
see the [/download.html](download page) for the latest version.</p>
+<p>If you are testing a <tt>SNAPSHOT</tt> version, then you will have to
either build Commons RDF from <a class="externalLink" href="https://github.com/apache/incubator-commonsrdf">source</a>,
or add this <a class="externalLink" href="https://github.com/apache/incubator-commonsrdf#snapshot-repository">snapshot
repository</a>:</p>
 
 <div class="source">
 <div class="source">
@@ -365,7 +366,7 @@ import org.apache.commons.rdf.simple.Sim
 // ...
 RDFTermFactory factory = new SimpleRDFTermFactory();
 </pre></div></div>
-<p>If you don&#x2019;t want to depend on instnatiating a concrete implementation,
you can alternatively use the <a class="externalLink" href="http://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html">ServiceLoader</a>
to lookup any <tt>RDFTermFactory</tt> implementations found on the classpath:</p>
+<p>If you don&#x2019;t want to depend on instantiating a concrete implementation,
you can alternatively use the <a class="externalLink" href="http://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html">ServiceLoader</a>
to lookup any <tt>RDFTermFactory</tt> implementations found on the classpath:</p>
 
 <div class="source">
 <div class="source">
@@ -392,7 +393,7 @@ Literal aliceLiteral = factory.createLit
 <div class="source">
 <pre>Triple triple = factory.createTriple(aliceBlankNode, nameIri, aliceLiteral);
 </pre></div></div>
-<p>The <a href="apidocs/org/apache/commons/rdf/api/RDFTermFactory.html">RDFTermFactory</a>
also contains more specific variants of some of the methods above, e.g. to create a typed
literal. </p>
+<p>The <a href="apidocs/org/apache/commons/rdf/api/RDFTermFactory.html">RDFTermFactory</a>
also contains more specific variants of some of the methods above, e.g. to create a typed
literal.</p>
 <p>Note that for any given implementation, <tt>RDFTerm</tt> instances need
not be created using a <tt>RDFTermFactory</tt>. More likely, implementation-specific
methods might create these objects as part of data parsing, storage lookup and queries.</p>
 <p><a href="apidocs/org/apache/commons/rdf/api/RDFTerm.html">RDFTerm</a>
is the super-interface for instances that can be used as subject, predicate and object of
a <a href="apidocs/org/apache/commons/rdf/api/Triple.html">Triple</a>.</p>
 <p>The RDF term interfaces are arranged in this class hierarchy:</p>
@@ -949,7 +950,7 @@ IRI iri1 = fooFactory.createIRI(&quot;ht
 
 // Both Triple and RDFTerm instances can be used
 //
-for (Triple t1: g1.getTriples(null, iri1, null)) {  
+for (Triple t1: g1.getTriples(null, iri1, null)) {
     if (g2.contains(t1.getSubject(), null, t1.getObject())) {
       g2.remove(t1);
     }



Mime
View raw message