From 4b6d79a70dea553f0cbb4f3aaa2b9fc59fe67e01 Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Fri, 16 Sep 2011 20:21:13 +0000 Subject: [PATCH] License Cleanup: (related to DS-854) Discovery Webapp required some license cleanup & customized exclusions from maven-license-plugin. Some existing License text files were renamed to the *.LICENSE format which is used in other areas of DSpace (to keep consistent) git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6710 9c30dcfa-912a-0410-8fc2-9e0234be79fd --- .../dspace-discovery-xmlui-webapp/pom.xml | 27 ++++++++----------- .../src/main/webapp/aspects/json-solr.xmap | 8 ++++++ .../webapp/static/js/discovery/LICENSE.txt | 8 ------ .../{COPYRIGHT.txt => ajax-solr.LICENSE} | 9 +++---- .../{MIT-LICENSE.txt => jquery.LICENSE} | 7 ----- 5 files changed, 22 insertions(+), 37 deletions(-) delete mode 100644 dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/LICENSE.txt rename dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/{COPYRIGHT.txt => ajax-solr.LICENSE} (71%) rename dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/jquery/{MIT-LICENSE.txt => jquery.LICENSE} (82%) diff --git a/dspace-discovery/dspace-discovery-xmlui-webapp/pom.xml b/dspace-discovery/dspace-discovery-xmlui-webapp/pom.xml index ebfe5ea48a..7906208b2c 100644 --- a/dspace-discovery/dspace-discovery-xmlui-webapp/pom.xml +++ b/dspace-discovery/dspace-discovery-xmlui-webapp/pom.xml @@ -1,20 +1,4 @@ - - 4.0.0 @@ -123,6 +107,17 @@ + + com.mycila.maven-license-plugin + maven-license-plugin + + + + **/*.LICENSE + **/jquery* + + + diff --git a/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/LICENSE.txt b/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/LICENSE.txt deleted file mode 100644 index 03b86605d0..0000000000 --- a/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/LICENSE.txt +++ /dev/null @@ -1,8 +0,0 @@ -==== - The contents of this file are subject to the license and copyright - detailed in the LICENSE and NOTICE files at the root of the source - tree and available online at - - http://www.dspace.org/license/ -==== -Portions of this AJAX Solr is licensed under the Apache License (ASL) v2.0. \ No newline at end of file diff --git a/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/COPYRIGHT.txt b/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/ajax-solr.LICENSE similarity index 71% rename from dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/COPYRIGHT.txt rename to dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/ajax-solr.LICENSE index 54ac88afe1..6ee2e2cbcf 100644 --- a/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/COPYRIGHT.txt +++ b/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/discovery/ajax-solr.LICENSE @@ -1,10 +1,7 @@ -==== - The contents of this file are subject to the license and copyright - detailed in the LICENSE and NOTICE files at the root of the source - tree and available online at +Portions of this AJAX Solr are licensed under the Apache License (ASL) v2.0. + +=== - http://www.dspace.org/license/ -==== Copyright 2009 Evolving Web Inc. Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/jquery/MIT-LICENSE.txt b/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/jquery/jquery.LICENSE similarity index 82% rename from dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/jquery/MIT-LICENSE.txt rename to dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/jquery/jquery.LICENSE index fad61d2121..1f718d9f29 100644 --- a/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/jquery/MIT-LICENSE.txt +++ b/dspace-discovery/dspace-discovery-xmlui-webapp/src/main/webapp/static/js/jquery/jquery.LICENSE @@ -1,10 +1,3 @@ -==== - The contents of this file are subject to the license and copyright - detailed in the LICENSE and NOTICE files at the root of the source - tree and available online at - - http://www.dspace.org/license/ -==== Copyright (c) 2010 John Resig, http://jquery.com/ Permission is hereby granted, free of charge, to any person obtaining