jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [3/7] jena git commit: RAT settings and setup
Date Tue, 03 Oct 2017 18:22:51 GMT
RAT settings and setup


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/2f2e95f1
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/2f2e95f1
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/2f2e95f1

Branch: refs/heads/jena-tdb2
Commit: 2f2e95f1bada9f478ee975109c84f814e4205222
Parents: a4fba10
Author: Andy Seaborne <andy@apache.org>
Authored: Tue Oct 3 17:38:04 2017 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Tue Oct 3 17:38:04 2017 +0100

----------------------------------------------------------------------
 jena-fuseki2/jena-fuseki-basic/pom.xml          | 93 +++++---------------
 .../jena-fuseki-basic/sparqler/data/books.ttl   |  2 +
 .../jena-fuseki-basic/sparqler/data/empty.nt    |  3 +-
 .../sparqler/data/sparql-data.ttl               |  1 +
 4 files changed, 26 insertions(+), 73 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/2f2e95f1/jena-fuseki2/jena-fuseki-basic/pom.xml
----------------------------------------------------------------------
diff --git a/jena-fuseki2/jena-fuseki-basic/pom.xml b/jena-fuseki2/jena-fuseki-basic/pom.xml
index 5ae24c1..2edc7e3 100644
--- a/jena-fuseki2/jena-fuseki-basic/pom.xml
+++ b/jena-fuseki2/jena-fuseki-basic/pom.xml
@@ -176,80 +176,29 @@
           </execution>
         </executions>
       </plugin>
-
       
-
       <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>rat-checks</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <excludeSubProjects>true</excludeSubProjects>
-          <excludes>
-            <exclude>**/sparqler/**</exclude>
-            <exclude>**/.project</exclude>
-            <exclude>**/.settings/**</exclude>
-            <exclude>**/.classpath</exclude>
-            <exclude>**/*.log</exclude>
-            <exclude>**/README.*</exclude>
-            <exclude>**/META-INF/services/*</exclude>
-            <!--
-                Javadoc add-ons files are required to be simple and our javadoc configuration
-                will ensure appropriate license and copyright statements are inserted
-                into generated documentation anyway so no need to put license statements
in these
-                files
-            -->
-            <exclude>**/src/main/**/*.html</exclude>
-            <exclude>**/DEPENDENCIES</exclude>
-            <!--
-                Text and Markdown files are typically used only for documentation purposes
-                and license declarations are usually spurious in these files since often
they
-                will refer to the LICENSE/NOTICE for users to find the actual licenses
-            -->
-            <exclude>**/*.txt</exclude>
-            <exclude>**/*.md</exclude>
-            <exclude>**/*.mdtext</exclude>
-            
-            <!--
-                META-INF services files can include comments but a license header would be
-                unecessarily clutter so we exclude these
-            -->
-            <exclude>**/META-INF/services/*</exclude>
-            
-            <!--
-                Jena historically has large numbers of small test file
-                with no license headers.  Such small files are not required 
-                to have headers. 
-
-                In addition, there are files with different Licenses
-                (e.g. W3C Software Licence, W3C Test Suite License) as
-                noted in the code tree.
-            -->
-            <exclude>**/testing/**/*</exclude>
-
-            <exclude>**/log4j.properties</exclude>
-            <exclude>**/log4j-testing.properties</exclude>
-            <exclude>**/DB/**/*</exclude>
-            <!-- TDB config files JSON - no comments allowed -->
-            <exclude>**/tdb*.cfg</exclude>
-            <!-- Exclude anything created during the build (plugin generated files) ->-->
-            <exclude>**/target/**/*</exclude>
-            <!-- MSHADE-124 -->
-            <exclude>**/dependency-reduced-pom.xml</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-
-
-    </plugins>
+       <groupId>org.apache.rat</groupId>
+       <artifactId>apache-rat-plugin</artifactId>
+       <executions>
+         <execution>
+           <id>rat-checks</id>
+           <phase>validate</phase>
+           <goals>
+             <goal>check</goal>
+           </goals>
+         </execution>
+       </executions>
+       <configuration>
+         <excludeSubProjects>true</excludeSubProjects>
+         <excludes>
+           <exclude>**/sparqler/**</exclude>
+           <exclude>**/dependency-reduced-pom.xml</exclude>
+         </excludes>
+       </configuration>
+     </plugin>
+
+   </plugins>
 
   </build>
 

http://git-wip-us.apache.org/repos/asf/jena/blob/2f2e95f1/jena-fuseki2/jena-fuseki-basic/sparqler/data/books.ttl
----------------------------------------------------------------------
diff --git a/jena-fuseki2/jena-fuseki-basic/sparqler/data/books.ttl b/jena-fuseki2/jena-fuseki-basic/sparqler/data/books.ttl
index cece401..ed8882b 100644
--- a/jena-fuseki2/jena-fuseki-basic/sparqler/data/books.ttl
+++ b/jena-fuseki2/jena-fuseki-basic/sparqler/data/books.ttl
@@ -1,3 +1,5 @@
+## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
+
 @prefix dc:        <http://purl.org/dc/elements/1.1/> .
 @prefix vcard:     <http://www.w3.org/2001/vcard-rdf/3.0#> .
 @prefix ns:        <http://example.org/ns#> .

http://git-wip-us.apache.org/repos/asf/jena/blob/2f2e95f1/jena-fuseki2/jena-fuseki-basic/sparqler/data/empty.nt
----------------------------------------------------------------------
diff --git a/jena-fuseki2/jena-fuseki-basic/sparqler/data/empty.nt b/jena-fuseki2/jena-fuseki-basic/sparqler/data/empty.nt
index 739dd79..f07e71e 100644
--- a/jena-fuseki2/jena-fuseki-basic/sparqler/data/empty.nt
+++ b/jena-fuseki2/jena-fuseki-basic/sparqler/data/empty.nt
@@ -1 +1,2 @@
-# This is empty (except for this line!).
+## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
+# This is empty

http://git-wip-us.apache.org/repos/asf/jena/blob/2f2e95f1/jena-fuseki2/jena-fuseki-basic/sparqler/data/sparql-data.ttl
----------------------------------------------------------------------
diff --git a/jena-fuseki2/jena-fuseki-basic/sparqler/data/sparql-data.ttl b/jena-fuseki2/jena-fuseki-basic/sparqler/data/sparql-data.ttl
index d38ecd9..a3631d0 100755
--- a/jena-fuseki2/jena-fuseki-basic/sparqler/data/sparql-data.ttl
+++ b/jena-fuseki2/jena-fuseki-basic/sparqler/data/sparql-data.ttl
@@ -1,3 +1,4 @@
+## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
 ## People
 ## Books + Prices
 ## Reviews


Mime
View raw message