Repository: incubator-fineract
Updated Branches:
  refs/heads/develop aac5ae0d4 -> e9e3326f5


Integrating Apache RAT FINERACT-245


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

Branch: refs/heads/develop
Commit: e9e3326f5b8ad18586a11f1bf2faa149d6afcacb
Parents: aac5ae0
Author: Nazeer Hussain Shaik <nazeer.sh...@confluxtechnologies.com>
Authored: Wed Nov 23 13:23:13 2016 +0530
Committer: Nazeer Hussain Shaik <nazeer.sh...@confluxtechnologies.com>
Committed: Wed Nov 23 13:23:13 2016 +0530

----------------------------------------------------------------------
 docs/system-architecture/css/toc-0.1.2.zip      | Bin 86465 -> 0 bytes
 fineract-provider/build.gradle                  |  77 +++++++++++++++++++
 .../src/main/webapp/WEB-INF/web.xml             |  21 ++++-
 3 files changed, 97 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/e9e3326f/docs/system-architecture/css/toc-0.1.2.zip
----------------------------------------------------------------------
diff --git a/docs/system-architecture/css/toc-0.1.2.zip 
b/docs/system-architecture/css/toc-0.1.2.zip
deleted file mode 100644
index ea1d84e..0000000
Binary files a/docs/system-architecture/css/toc-0.1.2.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/e9e3326f/fineract-provider/build.gradle
----------------------------------------------------------------------
diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index b521d6c..f567e5b 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -24,6 +24,7 @@ buildscript {
   repositories {
         jcenter()
         mavenCentral()
+        maven { url "https://plugins.gradle.org/m2/"; }
   }
 
   dependencies {
@@ -33,9 +34,11 @@ buildscript {
                
'org.springframework.boot:spring-boot-gradle-plugin:1.1.6.RELEASE' // also 
change springDataJpaVersion below
      classpath 'org.apache.openjpa:openjpa-all:2.4.1'
      classpath 'at.schmutterer.oss.gradle:gradle-openjpa:0.2.0'
+     classpath 'gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.2.2'
   }
 }
 
+apply plugin: "org.nosphere.apache.rat"
 apply plugin: 'rebel'
 apply plugin: 'license'
 apply plugin: 'war'
@@ -77,6 +80,76 @@ openjpa {
     enforcePropertyRestrictions = true
 }
 
+rat {
+  xmlOutput = false
+  htmlOutput = false
+  plainOutput = true
+  verbose = true 
+  inputDir = './..'
+ excludes = [
+       '**/licenses/**',
+       '**/*.md',
+       '**/*.txt',
+       '**/*.log',
+       '**/fineractdev-eclipse-preferences.epf',
+       '**/template-expected.html',
+       '**/template.mustache',
+       '**/.classpath',
+       '**/.project',
+       '.idea/**',
+       '**/.settings/**',
+       '**/bin/**',
+       '.git/**',
+    '**/.gitignore',
+    '**/.gitkeep',
+               
+    // gradle
+    '**/.gradle/**',
+    '**/gradlew',
+    '**/gradlew.bat',
+    '**/gradle/wrapper/gradle-wrapper.properties',
+    '**/caches/**',
+    '**/daemon/**',
+    '**/native/**',
+    '**/wrapper/**',
+       '**/build/**',
+       
+       //Api Docs 
+       '**/api-docs/*.*',
+       '**/docs/system-architecture/.htaccess',
+       '**/docs/system-architecture/404.html',
+       '**/docs/system-architecture/index.html',
+       '**/docs/system-architecture/**/*.xml',
+       '**/bootstrap-3.0.0/assets/application.js',
+       '**/system-architecture/js/plugins.js',
+       
+       //Apache License
+       '**/bootstrap-3.0.0/assets/less.js',
+       '**/css/bootstrap-3.0.0/**/*.*',
+       
+       //Public Domain See http://www.JSON.org/js.html
+       '**/bootstrap-3.0.0/assets/json2.js.htm',
+       
+       // MIT License
+       '**/modernizr-2.6.2.min.js',
+       '**/css/normalize.css',
+       '**/assets/filesaver.js',
+       '**/css/fonts/glyphicons-halflings-regular.svg',
+       '**/assets/jszip.js',
+       '**/assets/jquery.js',
+       '**/api-docs/jquery-1.7.min.js',
+       '**/css/toc-0.1.2/**/*.*',
+       '**/docs/system-architecture/css/main.css',
+       '**/system-architecture/js/vendor/jquery-1.9.1.min.js',
+       '**/system-architecture/js/vendor/toc-0.1.2/jquery.toc.min.js',
+       '**/assets/respond.min.js',
+       '**/assets/html5shiv.js',
+       
+       //BSD License
+       '**/assets/uglify.js'
+       ]
+}
+
 configurations {
        providedRuntime // needed for Spring Boot executable WAR
     providedCompile
@@ -145,6 +218,10 @@ task dist(type:Zip){
     into(baseName + '-' + version)
 }
 
+compileJava{
+    dependsOn rat
+}
+
 war {
     war.finalizedBy(bootRepackage)
 }

http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/e9e3326f/fineract-provider/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/webapp/WEB-INF/web.xml 
b/fineract-provider/src/main/webapp/WEB-INF/web.xml
index 37cc323..99d17e4 100644
--- a/fineract-provider/src/main/webapp/WEB-INF/web.xml
+++ b/fineract-provider/src/main/webapp/WEB-INF/web.xml
@@ -1,5 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, 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.
+
+-->
 <web-app xmlns="http://java.sun.com/xml/ns/javaee";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";

Reply via email to