[1/2] incubator-commonsrdf git commit: Cleanup AbstractGraphTest

2015-04-05 Thread stain
Repository: incubator-commonsrdf
Updated Branches:
  refs/heads/master bbcedbce5 -> 232958333


Cleanup AbstractGraphTest

Unit tests should not write to std out, but should instead verify their
results

Corrected @see for SimpleGraphTest

Thanks @britter !

This closes #4


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/aa20874c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/aa20874c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/aa20874c

Branch: refs/heads/master
Commit: aa20874c9f4792f4aff1ce18727150fafb9e892d
Parents: bbcedbc
Author: Stian Soiland-Reyes 
Authored: Mon Apr 6 00:01:32 2015 +0100
Committer: Stian Soiland-Reyes 
Committed: Mon Apr 6 00:01:32 2015 +0100

--
 .../test/java/org/apache/commons/rdf/api/AbstractGraphTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/aa20874c/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
--
diff --git 
a/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java 
b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
index 719a2f3..d1a4995 100644
--- a/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
+++ b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
@@ -35,7 +35,7 @@ import static org.junit.Assert.*;
  *
  * @see Graph
  * @see RDFTermFactory
- * @see com.github.commonsrdf.simple.SimpleGraphTest
+ * @see org.apache.commons.rdf.simple.SimpleGraphTest
  */
 public abstract class AbstractGraphTest {
 
@@ -115,7 +115,7 @@ public abstract class AbstractGraphTest {
 @Test
 public void graphToString() {
 Assume.assumeNotNull(aliceName, companyName);
-System.out.println(graph);
+//System.out.println(graph);
 assertTrue(graph
 .toString()
 .contains(



[2/2] incubator-commonsrdf git commit: Quieter testing - avoid sysout "Counter - 123123"

2015-04-05 Thread stain
Quieter testing - avoid sysout "Counter - 123123"


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/23295833
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/23295833
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/23295833

Branch: refs/heads/master
Commit: 232958333cf078ffef67c33a54d85ab2ae9a605b
Parents: aa20874
Author: Stian Soiland-Reyes 
Authored: Mon Apr 6 00:04:34 2015 +0100
Committer: Stian Soiland-Reyes 
Committed: Mon Apr 6 00:04:34 2015 +0100

--
 .../java/org/apache/commons/rdf/simple/TestWritingGraph.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/23295833/simple/src/test/java/org/apache/commons/rdf/simple/TestWritingGraph.java
--
diff --git 
a/simple/src/test/java/org/apache/commons/rdf/simple/TestWritingGraph.java 
b/simple/src/test/java/org/apache/commons/rdf/simple/TestWritingGraph.java
index 7c09d62..ecb208d 100644
--- a/simple/src/test/java/org/apache/commons/rdf/simple/TestWritingGraph.java
+++ b/simple/src/test/java/org/apache/commons/rdf/simple/TestWritingGraph.java
@@ -35,7 +35,7 @@ import java.util.stream.Stream;
 import static org.junit.Assert.assertEquals;
 
 /**
- * Test writting graph
+ * Test writing graph
  */
 public class TestWritingGraph {
 
@@ -102,7 +102,7 @@ public class TestWritingGraph {
 IRI predicate = factory.createIRI("pred");
 long count = graph.getTriples(subject, predicate, null).unordered()
 .parallel().count();
-System.out.println("Counted - " + count);
+//System.out.println("Counted - " + count);
 assertEquals(count, TRIPLES);
 }
 



[3/3] incubator-commonsrdf git commit: Merge branch 'fix-coveralls-badge-url'

2015-04-05 Thread stain
Merge branch 'fix-coveralls-badge-url'

This closes #2


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/bbcedbce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/bbcedbce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/bbcedbce

Branch: refs/heads/master
Commit: bbcedbce50aa8fc434f5f17c6f2d9fe819f02cca
Parents: 44d4f41 b257f71
Author: Stian Soiland-Reyes 
Authored: Sun Apr 5 23:28:56 2015 +0100
Committer: Stian Soiland-Reyes 
Committed: Sun Apr 5 23:28:56 2015 +0100

--
 README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--




[1/3] incubator-commonsrdf git commit: README/CONTRIBUTING updates about contributions

2015-04-05 Thread stain
Repository: incubator-commonsrdf
Updated Branches:
  refs/heads/master a07ef43cd -> bbcedbce5


README/CONTRIBUTING updates about contributions

.. and mailing list


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/44d4f41d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/44d4f41d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/44d4f41d

Branch: refs/heads/master
Commit: 44d4f41d16d93e1ccdb4782e414b6720189cf32f
Parents: a07ef43
Author: Stian Soiland-Reyes 
Authored: Sun Apr 5 23:24:32 2015 +0100
Committer: Stian Soiland-Reyes 
Committed: Sun Apr 5 23:24:41 2015 +0100

--
 CONTRIBUTING.md | 20 
 README.md   | 21 ++---
 2 files changed, 30 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/44d4f41d/CONTRIBUTING.md
--
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3c3b1be..b73425d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,7 +1,19 @@
 Contributions to this project will be gratefully received.
 
-The work of this project may be contributed to the Apache Software Foundation 
at some stage in the future.
+You can contribute to Apache Commons RDF (incubating) in many ways:
 
-Contributors may be asked to sign a Apache Software Grant if and when that 
happens.
-
-[http://www.apache.org/licenses/software-grant.txt](http://www.apache.org/licenses/software-grant.txt)
+ * Participate in the design discussions on 
[dev@commonsrdf](http://mail-archives.apache.org/mod_mbox/incubator-commonsrdf-dev/)
+ * Raise a [pull 
request](https://github.com/apache/incubator-commonsrdf/pulls) to:
+   * Contribute new [tests](api/src/test/java/org/apache/commons/rdf/api)   
+   * Suggest changes to the [API](api/src/main/java/org/apache/commons/rdf/api)
+   * Improve the Javadocs
+   * Fix bugs in the 
[simple](simple/src/main/java/org/apache/commons/rdf/simple)
+   * .. and more
+ * Improve the [website](http://commonsrdf.incubator.apache.org/)
+ 
+ Contributions are assumed to be under the
+ [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
+ but we may ask you to also sign a 
+ [software grant](https://www.apache.org/licenses/software-grant.txt) for any 
+ larger contributions.
+ 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/44d4f41d/README.md
--
diff --git a/README.md b/README.md
index d38d50c..56ae3ea 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,18 @@ A draft diagram of the interfaces which may be included in 
Commons RDF are:
 This library is still work in progress. Therefore everybody is
 welcomed to join the project and contribute!
 
+## Contributing
+
+Feel free to subscribe to the 
+[dev@commonsrdf](http://mail-archives.apache.org/mod_mbox/incubator-commonsrdf-dev/)
 
+mailing list to follow the ongoing development of Commons RDF, ask questions 
+about its usage, or help shape Commons RDF by contributing your ideas, code 
and 
+use cases. 
+ 
+See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute. 
+In short - raise a Github pull request.
+
+
 ## Disclaimer
 
 Apache Commons RDF is an effort undergoing incubation at [The Apache Software 
Foundation
@@ -35,6 +47,8 @@ While incubation status is not necessarily a reflection of 
the completeness or
 stability of the code, it does indicate that the project has yet to be fully
 endorsed by the ASF.
 
+
+
 ## Building
 
 Building has been tested with [Apache Maven 
3.2](http://maven.apache.org/download.cgi) and [Java JDK 
8](http://www.oracle.com/technetwork/java/javase/downloads/).
@@ -125,14 +139,7 @@ that can create the corresponding implementations of a 
`Graph`, `IRI`, etc.
 For an example, see 
 
[SimpleGraphTest](simple/src/test/java/org/apache/commons/rdf/simple/SimpleGraphTest.java).
 
-## Contributors
-
-* Sergio Fernández ([Apache Marmotta](http://marmotta.apache.org))
-* Andy Seaborne ([Apache Jena](http://jena.apache.org))
-* Peter Ansell ([OpenRDF Sesame](http://rdf4j.org/))
-* Stian Soiland-Reyes ([Apache Taverna](http://taverna.incubator.apache.org))
 
-See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute. In 
short - raise a Github pull request.
 
 ## License
 



[2/3] incubator-commonsrdf git commit: Fix URL to coveralls badge.svg

2015-04-05 Thread stain
Fix URL to coveralls badge.svg


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/b257f714
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/b257f714
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/b257f714

Branch: refs/heads/master
Commit: b257f71461311dcc06eda35a4080dfe7d67272d2
Parents: 44d4f41
Author: Benedikt Ritter 
Authored: Fri Apr 3 20:19:13 2015 +0200
Committer: Stian Soiland-Reyes 
Committed: Sun Apr 5 23:28:04 2015 +0100

--
 README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b257f714/README.md
--
diff --git a/README.md b/README.md
index 56ae3ea..4504b88 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
 # Apache Commons RDF (Incubating)
 
-[![Build 
Status](https://travis-ci.org/apache/incubator-commonsrdf.svg?branch=master)](https://travis-ci.org/apache/incubator-commonsrdf)
 [![Coverage 
Status](https://coveralls.io/r/apache/incubator-commonsrdf/badge.svg)](https://coveralls.io/r/apache/incubator-commonsrdf)
+[![Build 
Status](https://travis-ci.org/apache/incubator-commonsrdf.svg?branch=master)](https://travis-ci.org/apache/incubator-commonsrdf)
+[![Coverage 
Status](https://coveralls.io/repos/apache/incubator-commonsrdf/badge.svg)](https://coveralls.io/r/apache/incubator-commonsrdf)
 
 Commons RDF aims to provide a common library for [RDF 
1.1](http://www.w3.org/TR/rdf11-concepts/) 
 that could be implemented by the upcoming versions of the main Java toolkits 



Jenkins build is back to normal : incubator-commonsrdf #2

2015-04-05 Thread Apache Jenkins Server
See 



incubator-commonsrdf git commit: Attempt to make javadoc happy again

2015-04-05 Thread stain
Repository: incubator-commonsrdf
Updated Branches:
  refs/heads/master 4cd8b6fc3 -> a07ef43cd


Attempt to make javadoc happy again

ref
https://builds.apache.org/view/All/job/incubator-commonsrdf/1/console


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/a07ef43c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/a07ef43c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/a07ef43c

Branch: refs/heads/master
Commit: a07ef43cd2342223b110e0e0433bd4bb38f6fdb9
Parents: 4cd8b6f
Author: Stian Soiland-Reyes 
Authored: Sun Apr 5 23:04:24 2015 +0100
Committer: Stian Soiland-Reyes 
Committed: Sun Apr 5 23:04:24 2015 +0100

--
 .../test/java/org/apache/commons/rdf/api/AbstractGraphTest.java | 5 ++---
 .../org/apache/commons/rdf/api/AbstractRDFTermFactoryTest.java  | 2 +-
 .../src/main/java/org/apache/commons/rdf/simple/GraphImpl.java  | 4 ++--
 .../org/apache/commons/rdf/simple/SimpleRDFTermFactory.java | 2 +-
 .../src/main/java/org/apache/commons/rdf/simple/TripleImpl.java | 2 +-
 5 files changed, 7 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/a07ef43c/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
--
diff --git 
a/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java 
b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
index 968e279..719a2f3 100644
--- a/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
+++ b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
@@ -27,7 +27,7 @@ import static org.junit.Assert.*;
 
 /**
  * Test Graph implementation
- * 
+ * 
  * To add to your implementation's tests, create a subclass with a name ending
  * in Test and provide {@link #createFactory()} which minimally
  * must support {@link RDFTermFactory#createGraph()} and
@@ -230,9 +230,8 @@ public abstract class AbstractGraphTest {
 
 /**
  * An attempt to use the Java 8 streams to look up a more complicated 
query.
- * 
+ * 
  * FYI, the equivalent SPARQL version (untested):
- * 
  * 
  * SELECT ?orgName WHERE {
  * ?org foaf:name ?orgName .

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/a07ef43c/api/src/test/java/org/apache/commons/rdf/api/AbstractRDFTermFactoryTest.java
--
diff --git 
a/api/src/test/java/org/apache/commons/rdf/api/AbstractRDFTermFactoryTest.java 
b/api/src/test/java/org/apache/commons/rdf/api/AbstractRDFTermFactoryTest.java
index 9eec559..1829a04 100644
--- 
a/api/src/test/java/org/apache/commons/rdf/api/AbstractRDFTermFactoryTest.java
+++ 
b/api/src/test/java/org/apache/commons/rdf/api/AbstractRDFTermFactoryTest.java
@@ -25,7 +25,7 @@ import static org.junit.Assert.*;
 
 /**
  * Test RDFTermFactory implementation (and thus its RDFTerm implementations)
- * 
+ * 
  * To add to your implementation's tests, create a subclass with a name ending
  * in Test and provide {@link #createFactory()} which minimally
  * supports one of the operations, but ideally supports all operations.

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/a07ef43c/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java
--
diff --git a/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java 
b/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java
index d90b228..69ff96c 100644
--- a/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java
+++ b/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java
@@ -28,9 +28,9 @@ import java.util.stream.Stream;
 
 /**
  * A simple, memory-based implementation of Graph.
- * 
+ * 
  * {@link Triple}s in the graph are kept in a {@link Set}.
- * 
+ * 
  * All Stream operations are performed using parallel and unordered directives.
  */
 final class GraphImpl implements Graph {

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/a07ef43c/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDFTermFactory.java
--
diff --git 
a/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDFTermFactory.java 
b/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDFTermFactory.java
index 4322054..bdc7b3e 100644
--- 
a/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDFTermFactory.java
+++ 
b/simple/src/main/java/org/apache/commons/rdf/simple/SimpleRDFTermFactory.java
@@ -21,7 +21,7 @@ import org.apache.commons.rdf.api.*;
 
 /**
  * A simple implementa

Build failed in Jenkins: incubator-commonsrdf #1

2015-04-05 Thread Apache Jenkins Server
See 

--
[...truncated 2050 lines...]
[INFO] Executing tasks

main:
[INFO] Executed tasks
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.2.1:jar (default) @ commons-rdf-api <<<
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (default) @ commons-rdf-api ---
[INFO] Building jar: 

[INFO] 
[INFO] >>> maven-source-plugin:2.2.1:test-jar (default) @ commons-rdf-api >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ 
commons-rdf-api ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ 
commons-rdf-api ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (prepare-agent) 
@ commons-rdf-api ---
[INFO] argLine set to 
-javaagent:
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-rdf-api ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[WARNING] Failed to getClass for 
org.apache.maven.plugin.source.TestSourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.2.1:test-jar (default) @ commons-rdf-api <<<
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:test-jar (default) @ commons-rdf-api ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-javadoc-plugin:2.9.1:jar (default) @ commons-rdf-api ---
[INFO] 
2 warnings
[WARNING] Javadoc Warnings
[WARNING] javadoc: warning - Error fetching URL: 
http://docs.oracle.com/javase/7/docs/api
[WARNING] javadoc: warning - Error fetching URL: 
http://docs.oracle.com/javaee/6/api
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (jar-and-test-jar) @ commons-rdf-api ---
[INFO] 
[INFO] --- maven-jar-plugin:2.6:test-jar (jar-and-test-jar) @ commons-rdf-api 
---
[INFO] Building jar: 

[INFO] 
[INFO] --- license-maven-plugin:2.8:check (default) @ commons-rdf-api ---
[INFO] Checking licenses...
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ 
commons-rdf-api ---
[INFO] Installing 

 to 

[INFO] Installing 
 to 

[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] 
[INFO] 
[INFO] Building Commons RDF: Simple Implementation 0.0.3-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ commons-rdf-simple 
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ 
commons-rdf-simple ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-ve

incubator-commonsrdf git commit: re-enable test-jar only within api

2015-04-05 Thread stain
Repository: incubator-commonsrdf
Updated Branches:
  refs/heads/master 5ee4c293c -> 4cd8b6fc3


re-enable test-jar only within api


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/4cd8b6fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/4cd8b6fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/4cd8b6fc

Branch: refs/heads/master
Commit: 4cd8b6fc3103a3708af86031f82b04d9b3079194
Parents: 5ee4c29
Author: Stian Soiland-Reyes 
Authored: Sun Apr 5 22:43:46 2015 +0100
Committer: Stian Soiland-Reyes 
Committed: Sun Apr 5 22:43:46 2015 +0100

--
 api/pom.xml | 19 +++
 1 file changed, 19 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/4cd8b6fc/api/pom.xml
--
diff --git a/api/pom.xml b/api/pom.xml
index 1e1a7b5..7ad370c 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -40,4 +40,23 @@
 test
 
 
+
+
+
+org.apache.maven.plugins
+maven-jar-plugin
+
+  
+  jar-and-test-jar
+  
+  
+  jar
+  test-jar
+
+
+
+
+
+
+