You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2015/08/17 18:39:56 UTC
[14/26] incubator-brooklyn git commit: can autogenerate LICENSE,
and get more required licenses,
with info on running a license-audit in usage/dist/licensing
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/ac724cc7/usage/dist/licensing/licenses/jython
----------------------------------------------------------------------
diff --git a/usage/dist/licensing/licenses/jython b/usage/dist/licensing/licenses/jython
new file mode 100644
index 0000000..b2258d4
--- /dev/null
+++ b/usage/dist/licensing/licenses/jython
@@ -0,0 +1,27 @@
+Jython License
+
+ Jython 2.0, 2.1 License
+
+ Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Jython Developers All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided
+ that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the
+ following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+ the following disclaimer in the documentation and/or other materials provided with the distribution.
+ Neither the name of the Jython Developers nor the names of its contributors may be used to endorse or
+ promote products derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS'' AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/ac724cc7/usage/dist/licensing/licenses/xpp3_indiana_university
----------------------------------------------------------------------
diff --git a/usage/dist/licensing/licenses/xpp3_indiana_university b/usage/dist/licensing/licenses/xpp3_indiana_university
new file mode 100644
index 0000000..7d69a29
--- /dev/null
+++ b/usage/dist/licensing/licenses/xpp3_indiana_university
@@ -0,0 +1,45 @@
+Indiana University Extreme! Lab Software License, Version 1.1.1
+
+ Copyright (c) 2002 Extreme! Lab, Indiana University. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the distribution.
+
+ 3. The end-user documentation included with the redistribution, if any,
+ must include the following acknowledgment:
+
+ "This product includes software developed by the Indiana University
+ Extreme! Lab (http://www.extreme.indiana.edu/)."
+
+ Alternately, this acknowledgment may appear in the software itself,
+ if and wherever such third-party acknowledgments normally appear.
+
+ 4. The names "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab"
+ must not be used to endorse or promote products derived from this
+ software without prior written permission. For written permission,
+ please contact http://www.extreme.indiana.edu/.
+
+ 5. Products derived from this software may not use "Indiana Univeristy"
+ name nor may "Indiana Univeristy" appear in their name, without prior
+ written permission of the Indiana University.
+
+ THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS OR ITS CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/ac724cc7/usage/dist/licensing/make-license.sh
----------------------------------------------------------------------
diff --git a/usage/dist/licensing/make-license.sh b/usage/dist/licensing/make-license.sh
new file mode 100755
index 0000000..a5868de
--- /dev/null
+++ b/usage/dist/licensing/make-license.sh
@@ -0,0 +1,50 @@
+set -e
+
+ls MAIN_LICENSE_ASL2 > /dev/null 2> /dev/null || ( echo "Must run in licensing directory (where this script lives)" && false )
+
+cat << EOF
+
+This software is distributed under the Apache License, version 2.0. See (1) below.
+This software is copyright (c) The Apache Software Foundation and contributors.
+
+Contents:
+
+ (1) This software license: Apache License, version 2.0
+ (2) Notices for bundled software
+ (3) Licenses for bundled software
+
+
+EOF
+
+echo "---------------------------------------------------"
+echo
+echo "(1) This software license: Apache License, version 2.0"
+echo
+cat MAIN_LICENSE_ASL2
+echo
+echo "---------------------------------------------------"
+echo
+echo "(2) Notices for bundled software"
+echo
+pushd .. > /dev/null
+mvn org.heneveld.maven:license-audit-maven-plugin:notices \
+ -DlicensesPreferred=ASL2,ASL,EPL1,BSD-2-Clause,BSD-3-Clause,CDDL1.1,CDDL1,CDDL \
+ -DoverridesFile=licensing/overrides.yaml \
+ -DextrasFile=licensing/extras.yaml \
+ -DoutputFile=licensing/notices.autogenerated \
+ > /dev/null 2> /dev/null
+popd > /dev/null
+cat notices.autogenerated
+
+echo
+echo "---------------------------------------------------"
+echo
+echo "(3) Licenses for bundled software"
+echo
+echo Contents:
+echo
+for x in licenses/* ; do head -1 $x | awk '{print " "$0;}' ; done
+echo
+echo
+for x in licenses/* ; do cat $x ; echo ; done
+
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/ac724cc7/usage/dist/licensing/overrides.yaml
----------------------------------------------------------------------
diff --git a/usage/dist/licensing/overrides.yaml b/usage/dist/licensing/overrides.yaml
new file mode 100644
index 0000000..a46917e
--- /dev/null
+++ b/usage/dist/licensing/overrides.yaml
@@ -0,0 +1,50 @@
+
+# overrides file for org.heneveld.license-audit-maven-plugin
+
+
+# poms with missing data
+
+- id: org.codehaus.jettison:jettison
+ url: https://github.com/codehaus/jettison
+ license: ASL2
+- id: org.glassfish.external:opendmk_jmxremote_optional_jar
+ url: https://opendmk.java.net/
+ license: CDDL
+
+# poms with incorrect data (out-of-date URL's mainly)
+
+- id: org.hibernate:jtidy:r8-20060801
+ license:
+ - url: "http://sourceforge.net/p/jtidy/code/HEAD/tree/trunk/jtidy/LICENSE.txt?revision=95"
+ name: Java HTML Tidy License
+ comment: Original link http://svn.sourceforge.net/viewvc/*checkout*/jtidy/trunk/jtidy/LICENSE.txt?revision=95 is no longer valid
+- id: dom4j:dom4j:1.6.1
+ url: "http://dom4j.sourceforge.net/"
+ license:
+ - name: BSD style
+ url: http://dom4j.sourceforge.net/dom4j-1.6.1/license.html
+- id: org.python:jython-standalone:2.7-b3
+ license:
+ - url: http://www.jython.org/license.html
+ name: Jython Software License
+ comment: Original link http://www.jython.org/Project/license.html is no longer valid
+- id: xpp3:xpp3_min:1.1.4c
+ license:
+ - url: https://github.com/apache/openmeetings/blob/a95714ce3f7e587d13d3d0bb3b4f570be15c67a5/LICENSE#L1361
+ name: "Indiana University Extreme! Lab Software License, vesion 1.1.1"
+ comment: |
+ The license applies to the Xpp3 classes (all classes below the org.xmlpull package with exception of classes directly in package org.xmlpull.v1);
+ original link http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt is no longer valid
+ ## as we pull in xmlpull separately we do not use this, and having a single above simplifies the automation:
+ # - url: http://creativecommons.org/licenses/publicdomain
+ # name: Public Domain
+ # comment: "The license applies to the XmlPull API (all classes directly in the org.xmlpull.v1 package)"
+
+# super-projects to suppress notices for sub-projects
+- id: org.apache.brooklyn
+ url: http://brooklyn.incubator.apache.org/
+- id: org.apache.jclouds
+ url: http://jclouds.apache.org/
+- id: com.fasterxml.jackson
+ url: http://wiki.fasterxml.com/JacksonHome
+