From ef24a95e52dded4a58c781aa06aa95b04e619fb2 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Thu, 18 Jun 2015 23:33:06 -0400 Subject: [PATCH] Added some maven plugins for reporting. --- pom.xml | 55 +++++++++++++++++++ .../spangraph/ConcurrentHashMapGraph.java | 16 ++++++ .../com/syncleus/spangraph/HashMapGraph.java | 16 ++++++ .../com/syncleus/spangraph/InfiniPeer.java | 16 ++++++ .../java/com/syncleus/spangraph/MapGraph.java | 16 ++++++ .../com/syncleus/spangraph/SpanGraph.java | 16 ++++++ .../com/syncleus/spangraph/TreeMapGraph.java | 16 ++++++ .../spangraph/spacetime/EarthMap.java | 16 ++++++ .../syncleus/spangraph/spacetime/OctBox.java | 16 ++++++ .../syncleus/spangraph/spacetime/OctMap.java | 16 ++++++ .../spangraph/spacetime/OctMapGraph.java | 16 ++++++ .../syncleus/spangraph/spacetime/OctSet.java | 16 ++++++ .../spangraph/spacetime/PlanetMap.java | 16 ++++++ .../syncleus/spangraph/InfiniPeerTest.java | 16 ++++++ .../spangraph/MapGraphBlueprintsTest.java | 16 ++++++ .../com/syncleus/spangraph/QueryTest.java | 16 ++++++ .../spangraph/SpanGraphBlueprintsTest.java | 16 ++++++ .../com/syncleus/spangraph/SpanGraphTest.java | 16 ++++++ .../syncleus/spangraph/geom/OctMapTest.java | 16 ++++++ .../syncleus/spangraph/geom/OctreeTest.java | 16 ++++++ 20 files changed, 359 insertions(+) diff --git a/pom.xml b/pom.xml index d58b29b..904b33e 100644 --- a/pom.xml +++ b/pom.xml @@ -141,6 +141,41 @@ <target>1.8</target> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <failOnError>false</failOnError> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>com.mycila.maven-license-plugin</groupId> + <artifactId>maven-license-plugin</artifactId> + <version>1.9.0</version> + <configuration> + <skipExistingHeaders>false</skipExistingHeaders> + </configuration> + </plugin> </plugins> </build> @@ -181,5 +216,25 @@ <scope>test</scope> </dependency> </dependencies> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <failOnError>false</failOnError> + </configuration> + </plugin> + </plugins> + </reporting> </project> diff --git a/src/main/java/com/syncleus/spangraph/ConcurrentHashMapGraph.java b/src/main/java/com/syncleus/spangraph/ConcurrentHashMapGraph.java index 79ac655..5c9d012 100644 --- a/src/main/java/com/syncleus/spangraph/ConcurrentHashMapGraph.java +++ b/src/main/java/com/syncleus/spangraph/ConcurrentHashMapGraph.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import java.util.Map; diff --git a/src/main/java/com/syncleus/spangraph/HashMapGraph.java b/src/main/java/com/syncleus/spangraph/HashMapGraph.java index 50a975f..3cd2ec6 100644 --- a/src/main/java/com/syncleus/spangraph/HashMapGraph.java +++ b/src/main/java/com/syncleus/spangraph/HashMapGraph.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import java.util.LinkedHashMap; diff --git a/src/main/java/com/syncleus/spangraph/InfiniPeer.java b/src/main/java/com/syncleus/spangraph/InfiniPeer.java index f4d1b9b..2880db8 100644 --- a/src/main/java/com/syncleus/spangraph/InfiniPeer.java +++ b/src/main/java/com/syncleus/spangraph/InfiniPeer.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import org.infinispan.Cache; diff --git a/src/main/java/com/syncleus/spangraph/MapGraph.java b/src/main/java/com/syncleus/spangraph/MapGraph.java index 3a65e6b..f513fe2 100644 --- a/src/main/java/com/syncleus/spangraph/MapGraph.java +++ b/src/main/java/com/syncleus/spangraph/MapGraph.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import com.google.common.collect.Iterables; diff --git a/src/main/java/com/syncleus/spangraph/SpanGraph.java b/src/main/java/com/syncleus/spangraph/SpanGraph.java index 2e50539..7300caf 100644 --- a/src/main/java/com/syncleus/spangraph/SpanGraph.java +++ b/src/main/java/com/syncleus/spangraph/SpanGraph.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import com.tinkerpop.blueprints.Edge; diff --git a/src/main/java/com/syncleus/spangraph/TreeMapGraph.java b/src/main/java/com/syncleus/spangraph/TreeMapGraph.java index 245058a..d0ae7f1 100644 --- a/src/main/java/com/syncleus/spangraph/TreeMapGraph.java +++ b/src/main/java/com/syncleus/spangraph/TreeMapGraph.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import com.tinkerpop.blueprints.Edge; diff --git a/src/main/java/com/syncleus/spangraph/spacetime/EarthMap.java b/src/main/java/com/syncleus/spangraph/spacetime/EarthMap.java index dab3525..27be638 100644 --- a/src/main/java/com/syncleus/spangraph/spacetime/EarthMap.java +++ b/src/main/java/com/syncleus/spangraph/spacetime/EarthMap.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph.spacetime; import com.syncleus.spangraph.InfiniPeer; diff --git a/src/main/java/com/syncleus/spangraph/spacetime/OctBox.java b/src/main/java/com/syncleus/spangraph/spacetime/OctBox.java index 603b5c0..56e54bb 100644 --- a/src/main/java/com/syncleus/spangraph/spacetime/OctBox.java +++ b/src/main/java/com/syncleus/spangraph/spacetime/OctBox.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph.spacetime; import com.syncleus.toxi.geom.*; diff --git a/src/main/java/com/syncleus/spangraph/spacetime/OctMap.java b/src/main/java/com/syncleus/spangraph/spacetime/OctMap.java index c9252b2..9d16464 100644 --- a/src/main/java/com/syncleus/spangraph/spacetime/OctMap.java +++ b/src/main/java/com/syncleus/spangraph/spacetime/OctMap.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph.spacetime; diff --git a/src/main/java/com/syncleus/spangraph/spacetime/OctMapGraph.java b/src/main/java/com/syncleus/spangraph/spacetime/OctMapGraph.java index a9feb55..82fbea1 100644 --- a/src/main/java/com/syncleus/spangraph/spacetime/OctMapGraph.java +++ b/src/main/java/com/syncleus/spangraph/spacetime/OctMapGraph.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph.spacetime; import com.syncleus.spangraph.MapGraph; diff --git a/src/main/java/com/syncleus/spangraph/spacetime/OctSet.java b/src/main/java/com/syncleus/spangraph/spacetime/OctSet.java index 1238571..a3164a4 100644 --- a/src/main/java/com/syncleus/spangraph/spacetime/OctSet.java +++ b/src/main/java/com/syncleus/spangraph/spacetime/OctSet.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph.spacetime; import com.syncleus.toxi.geom.Vec3D; diff --git a/src/main/java/com/syncleus/spangraph/spacetime/PlanetMap.java b/src/main/java/com/syncleus/spangraph/spacetime/PlanetMap.java index fbd6639..fa44443 100644 --- a/src/main/java/com/syncleus/spangraph/spacetime/PlanetMap.java +++ b/src/main/java/com/syncleus/spangraph/spacetime/PlanetMap.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph.spacetime; import com.syncleus.spangraph.InfiniPeer; diff --git a/src/test/java/com/syncleus/spangraph/InfiniPeerTest.java b/src/test/java/com/syncleus/spangraph/InfiniPeerTest.java index 6ee4322..3f017d1 100644 --- a/src/test/java/com/syncleus/spangraph/InfiniPeerTest.java +++ b/src/test/java/com/syncleus/spangraph/InfiniPeerTest.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import org.infinispan.Cache; diff --git a/src/test/java/com/syncleus/spangraph/MapGraphBlueprintsTest.java b/src/test/java/com/syncleus/spangraph/MapGraphBlueprintsTest.java index bbc4e1d..9661c6f 100644 --- a/src/test/java/com/syncleus/spangraph/MapGraphBlueprintsTest.java +++ b/src/test/java/com/syncleus/spangraph/MapGraphBlueprintsTest.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import com.tinkerpop.blueprints.*; diff --git a/src/test/java/com/syncleus/spangraph/QueryTest.java b/src/test/java/com/syncleus/spangraph/QueryTest.java index 2f36b3a..964e716 100644 --- a/src/test/java/com/syncleus/spangraph/QueryTest.java +++ b/src/test/java/com/syncleus/spangraph/QueryTest.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import org.infinispan.Cache; diff --git a/src/test/java/com/syncleus/spangraph/SpanGraphBlueprintsTest.java b/src/test/java/com/syncleus/spangraph/SpanGraphBlueprintsTest.java index e0503b3..f2253f7 100644 --- a/src/test/java/com/syncleus/spangraph/SpanGraphBlueprintsTest.java +++ b/src/test/java/com/syncleus/spangraph/SpanGraphBlueprintsTest.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import com.tinkerpop.blueprints.Graph; diff --git a/src/test/java/com/syncleus/spangraph/SpanGraphTest.java b/src/test/java/com/syncleus/spangraph/SpanGraphTest.java index d919666..f54873b 100644 --- a/src/test/java/com/syncleus/spangraph/SpanGraphTest.java +++ b/src/test/java/com/syncleus/spangraph/SpanGraphTest.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph; import com.tinkerpop.blueprints.Vertex; diff --git a/src/test/java/com/syncleus/spangraph/geom/OctMapTest.java b/src/test/java/com/syncleus/spangraph/geom/OctMapTest.java index 9a73c4e..529f5d4 100644 --- a/src/test/java/com/syncleus/spangraph/geom/OctMapTest.java +++ b/src/test/java/com/syncleus/spangraph/geom/OctMapTest.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph.geom; import com.syncleus.spangraph.InfiniPeer; diff --git a/src/test/java/com/syncleus/spangraph/geom/OctreeTest.java b/src/test/java/com/syncleus/spangraph/geom/OctreeTest.java index 401a4fc..cbd4d87 100644 --- a/src/test/java/com/syncleus/spangraph/geom/OctreeTest.java +++ b/src/test/java/com/syncleus/spangraph/geom/OctreeTest.java @@ -1,3 +1,19 @@ +/** + * Copyright: (c) Syncleus, Inc. + * + * You may redistribute and modify this source code under the terms and + * conditions of the Open Source Community License - Type C version 1.0 + * or any later version as published by Syncleus, Inc. at www.syncleus.com. + * There should be a copy of the license included with this file. If a copy + * of the license is not included you are granted no right to distribute or + * otherwise use this file except through a legal and valid license. You + * should also contact Syncleus, Inc. at the information below if you cannot + * find a license: + * + * Syncleus, Inc. + * 2604 South 12th Street + * Philadelphia, PA 19148 + */ package com.syncleus.spangraph.geom; import com.syncleus.spangraph.spacetime.OctBox; -- GitLab