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 2016/02/01 18:34:48 UTC
[08/51] [abbrv] brooklyn-dist git commit: [SPLITPREP] rearranged to
have structure of new repositories
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/binary/EPL1
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/binary/EPL1 b/brooklyn-dist/dist/licensing/licenses/binary/EPL1
new file mode 100644
index 0000000..6891076
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/binary/EPL1
@@ -0,0 +1,212 @@
+Eclipse Public License, version 1.0
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
+ CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+
+ a) in the case of the initial Contributor, the initial code and documentation
+ distributed under this Agreement, and b) in the case of each subsequent
+ Contributor:
+
+ i) changes to the Program, and
+
+ ii) additions to the Program;
+
+ where such changes and/or additions to the Program originate from and are
+ distributed by that particular Contributor. A Contribution 'originates' from a
+ Contributor if it was added to the Program by such Contributor itself or anyone
+ acting on such Contributor's behalf. Contributions do not include additions to
+ the Program which: (i) are separate modules of software distributed in
+ conjunction with the Program under their own license agreement, and (ii) are
+ not derivative works of the Program.
+
+ "Contributor" means any person or entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which are
+ necessarily infringed by the use or sale of its Contribution alone or when
+ combined with the Program.
+
+ "Program" means the Contributions distributed in accordance with this
+ Agreement.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby grants
+ Recipient a non-exclusive, worldwide, royalty-free copyright license to
+ reproduce, prepare derivative works of, publicly display, publicly perform,
+ distribute and sublicense the Contribution of such Contributor, if any, and
+ such derivative works, in source code and object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby grants
+ Recipient a non-exclusive, worldwide, royalty-free patent license under
+ Licensed Patents to make, use, sell, offer to sell, import and otherwise
+ transfer the Contribution of such Contributor, if any, in source code and
+ object code form. This patent license shall apply to the combination of the
+ Contribution and the Program if, at the time the Contribution is added by the
+ Contributor, such addition of the Contribution causes such combination to be
+ covered by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per se is
+ licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the licenses to
+ its Contributions set forth herein, no assurances are provided by any
+ Contributor that the Program does not infringe the patent or other intellectual
+ property rights of any other entity. Each Contributor disclaims any liability
+ to Recipient for claims brought by any other entity based on infringement of
+ intellectual property rights or otherwise. As a condition to exercising the
+ rights and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights needed, if any.
+ For example, if a third party patent license is required to allow Recipient to
+ distribute the Program, it is Recipient's responsibility to acquire that
+ license before distributing the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright license
+ set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form under
+ its own license agreement, provided that:
+
+ a) it complies with the terms and conditions of this Agreement; and
+
+ b) its license agreement:
+
+ i) effectively disclaims on behalf of all Contributors all warranties and
+ conditions, express and implied, including warranties or conditions of title
+ and non-infringement, and implied warranties or conditions of merchantability
+ and fitness for a particular purpose;
+
+ ii) effectively excludes on behalf of all Contributors all liability for
+ damages, including direct, indirect, special, incidental and consequential
+ damages, such as lost profits;
+
+ iii) states that any provisions which differ from this Agreement are offered by
+ that Contributor alone and not by any other party; and
+
+ iv) states that source code for the Program is available from such Contributor,
+ and informs licensees how to obtain it in a reasonable manner on or through a
+ medium customarily used for software exchange.
+
+ When the Program is made available in source code form:
+
+ a) it must be made available under this Agreement; and
+
+ b) a copy of this Agreement must be included with each copy of the Program.
+
+ Contributors may not remove or alter any copyright notices contained within the
+ Program.
+
+ Each Contributor must identify itself as the originator of its Contribution, if
+ any, in a manner that reasonably allows subsequent Recipients to identify the
+ originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities with
+ respect to end users, business partners and the like. While this license is
+ intended to facilitate the commercial use of the Program, the Contributor who
+ includes the Program in a commercial product offering should do so in a manner
+ which does not create potential liability for other Contributors. Therefore, if
+ a Contributor includes the Program in a commercial product offering, such
+ Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
+ every other Contributor ("Indemnified Contributor") against any losses, damages
+ and costs (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to the
+ extent caused by the acts or omissions of such Commercial Contributor in
+ connection with its distribution of the Program in a commercial product
+ offering. The obligations in this section do not apply to any claims or Losses
+ relating to any actual or alleged intellectual property infringement. In order
+ to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+ Contributor in writing of such claim, and b) allow the Commercial Contributor
+ to control, and cooperate with the Commercial Contributor in, the defense and
+ any related settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial product
+ offering, Product X. That Contributor is then a Commercial Contributor. If that
+ Commercial Contributor then makes performance claims, or offers warranties
+ related to Product X, those performance claims and warranties are such
+ Commercial Contributor's responsibility alone. Under this section, the
+ Commercial Contributor would have to defend claims against the other
+ Contributors related to those performance claims and warranties, and if a court
+ requires any other Contributor to pay any damages as a result, the Commercial
+ Contributor must pay those damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
+ IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
+ NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
+ Recipient is solely responsible for determining the appropriateness of using
+ and distributing the Program and assumes all risks associated with its exercise
+ of rights under this Agreement , including but not limited to the risks and
+ costs of program errors, compliance with applicable laws, damage to or loss of
+ data, programs or equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
+ CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
+ PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
+ GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under applicable
+ law, it shall not affect the validity or enforceability of the remainder of the
+ terms of this Agreement, and without further action by the parties hereto, such
+ provision shall be reformed to the minimum extent necessary to make such
+ provision valid and enforceable.
+
+ If Recipient institutes patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Program itself
+ (excluding combinations of the Program with other software or hardware)
+ infringes such Recipient's patent(s), then such Recipient's rights granted
+ under Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails to
+ comply with any of the material terms or conditions of this Agreement and does
+ not cure such failure in a reasonable period of time after becoming aware of
+ such noncompliance. If all Recipient's rights under this Agreement terminate,
+ Recipient agrees to cease use and distribution of the Program as soon as
+ reasonably practicable. However, Recipient's obligations under this Agreement
+ and any licenses granted by Recipient relating to the Program shall continue
+ and survive.
+
+ Everyone is permitted to copy and distribute copies of this Agreement, but in
+ order to avoid inconsistency the Agreement is copyrighted and may only be
+ modified in the following manner. The Agreement Steward reserves the right to
+ publish new versions (including revisions) of this Agreement from time to time.
+ No one other than the Agreement Steward has the right to modify this Agreement.
+ The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation
+ may assign the responsibility to serve as the Agreement Steward to a suitable
+ separate entity. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions) may always
+ be distributed subject to the version of the Agreement under which it was
+ received. In addition, after a new version of the Agreement is published,
+ Contributor may elect to distribute the Program (including its Contributions)
+ under the new version. Except as expressly stated in Sections 2(a) and 2(b)
+ above, Recipient receives no rights or licenses to the intellectual property of
+ any Contributor under this Agreement, whether expressly, by implication,
+ estoppel or otherwise. All rights in the Program not expressly granted under
+ this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to this
+ Agreement will bring a legal action under this Agreement more than one year
+ after the cause of action arose. Each party waives its rights to a jury trial
+ in any resulting litigation.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/binary/MIT
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/binary/MIT b/brooklyn-dist/dist/licensing/licenses/binary/MIT
new file mode 100644
index 0000000..71dfb45
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/binary/MIT
@@ -0,0 +1,20 @@
+The MIT License ("MIT")
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/binary/WTFPL
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/binary/WTFPL b/brooklyn-dist/dist/licensing/licenses/binary/WTFPL
new file mode 100644
index 0000000..03c1695
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/binary/WTFPL
@@ -0,0 +1,15 @@
+WTF Public License
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sa...@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/binary/bouncycastle
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/binary/bouncycastle b/brooklyn-dist/dist/licensing/licenses/binary/bouncycastle
new file mode 100644
index 0000000..8589a0b
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/binary/bouncycastle
@@ -0,0 +1,23 @@
+Bouncy Castle License
+
+ Copyright (c) 2000 - 2015 The Legion of the Bouncy Castle Inc.
+ (http://www.bouncycastle.org)
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/binary/jtidy
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/binary/jtidy b/brooklyn-dist/dist/licensing/licenses/binary/jtidy
new file mode 100644
index 0000000..0bcb614
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/binary/jtidy
@@ -0,0 +1,53 @@
+JTidy License
+
+ Java HTML Tidy - JTidy
+ HTML parser and pretty printer
+
+ Copyright (c) 1998-2000 World Wide Web Consortium (Massachusetts
+ Institute of Technology, Institut National de Recherche en
+ Informatique et en Automatique, Keio University). All Rights
+ Reserved.
+
+ Contributing Author(s):
+
+ Dave Raggett <ds...@w3.org>
+ Andy Quick <ac...@sympatico.ca> (translation to Java)
+ Gary L Peskin <ga...@firstech.com> (Java development)
+ Sami Lempinen <sa...@lempinen.net> (release management)
+ Fabrizio Giustina <fgiust at users.sourceforge.net>
+
+ The contributing author(s) would like to thank all those who
+ helped with testing, bug fixes, and patience. This wouldn't
+ have been possible without all of you.
+
+ COPYRIGHT NOTICE:
+
+ This software and documentation is provided "as is," and
+ the copyright holders and contributing author(s) make no
+ representations or warranties, express or implied, including
+ but not limited to, warranties of merchantability or fitness
+ for any particular purpose or that the use of the software or
+ documentation will not infringe any third party patents,
+ copyrights, trademarks or other rights.
+
+ The copyright holders and contributing author(s) will not be
+ liable for any direct, indirect, special or consequential damages
+ arising out of any use of the software or documentation, even if
+ advised of the possibility of such damage.
+
+ Permission is hereby granted to use, copy, modify, and distribute
+ this source code, or portions hereof, documentation and executables,
+ for any purpose, without fee, subject to the following restrictions:
+
+ 1. The origin of this source code must not be misrepresented.
+ 2. Altered versions must be plainly marked as such and must
+ not be misrepresented as being the original source.
+ 3. This Copyright notice may not be removed or altered from any
+ source or altered source distribution.
+
+ The copyright holders and contributing author(s) specifically
+ permit, without fee, and encourage the use of this source code
+ as a component for supporting the Hypertext Markup Language in
+ commercial products. If you use this source code in a product,
+ acknowledgment is not required but would be appreciated.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/binary/jython
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/binary/jython b/brooklyn-dist/dist/licensing/licenses/binary/jython
new file mode 100644
index 0000000..b2258d4
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/binary/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/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/binary/metastuff-bsd-style
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/binary/metastuff-bsd-style b/brooklyn-dist/dist/licensing/licenses/binary/metastuff-bsd-style
new file mode 100644
index 0000000..6bb4ef6
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/binary/metastuff-bsd-style
@@ -0,0 +1,43 @@
+MetaStuff BSD Style License
+
+ Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
+
+ Redistribution and use of this software and associated documentation
+ ("Software"), with or without modification, are permitted provided
+ that the following conditions are met:
+
+ 1. Redistributions of source code must retain copyright
+ statements and notices. Redistributions must also contain a
+ copy of this document.
+
+ 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 name "DOM4J" must not be used to endorse or promote
+ products derived from this Software without prior written
+ permission of MetaStuff, Ltd. For written permission,
+ please contact dom4j-info@metastuff.com.
+
+ 4. Products derived from this Software may not be called "DOM4J"
+ nor may "DOM4J" appear in their names without prior written
+ permission of MetaStuff, Ltd. DOM4J is a registered
+ trademark of MetaStuff, Ltd.
+
+ 5. Due credit should be given to the DOM4J Project -
+ http://www.dom4j.org
+
+ THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS
+ ``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
+ METASTUFF, LTD. 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/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/binary/xpp3_indiana_university
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/binary/xpp3_indiana_university b/brooklyn-dist/dist/licensing/licenses/binary/xpp3_indiana_university
new file mode 100644
index 0000000..7d69a29
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/binary/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/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/cli/MIT
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/cli/MIT b/brooklyn-dist/dist/licensing/licenses/cli/MIT
new file mode 100644
index 0000000..71dfb45
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/cli/MIT
@@ -0,0 +1,20 @@
+The MIT License ("MIT")
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/jsgui/BSD-2-Clause
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/jsgui/BSD-2-Clause b/brooklyn-dist/dist/licensing/licenses/jsgui/BSD-2-Clause
new file mode 100644
index 0000000..832c10e
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/jsgui/BSD-2-Clause
@@ -0,0 +1,23 @@
+The BSD 2-Clause License
+
+ 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.
+
+ 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 COPYRIGHT HOLDER 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/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/jsgui/BSD-3-Clause
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/jsgui/BSD-3-Clause b/brooklyn-dist/dist/licensing/licenses/jsgui/BSD-3-Clause
new file mode 100644
index 0000000..be2692c
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/jsgui/BSD-3-Clause
@@ -0,0 +1,27 @@
+The BSD 3-Clause License ("New BSD")
+
+ 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. Neither the name of the copyright holder 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 COPYRIGHT HOLDER 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/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/jsgui/MIT
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/jsgui/MIT b/brooklyn-dist/dist/licensing/licenses/jsgui/MIT
new file mode 100644
index 0000000..71dfb45
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/jsgui/MIT
@@ -0,0 +1,20 @@
+The MIT License ("MIT")
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/source/BSD-2-Clause
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/source/BSD-2-Clause b/brooklyn-dist/dist/licensing/licenses/source/BSD-2-Clause
new file mode 100644
index 0000000..832c10e
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/source/BSD-2-Clause
@@ -0,0 +1,23 @@
+The BSD 2-Clause License
+
+ 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.
+
+ 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 COPYRIGHT HOLDER 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/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/source/BSD-3-Clause
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/source/BSD-3-Clause b/brooklyn-dist/dist/licensing/licenses/source/BSD-3-Clause
new file mode 100644
index 0000000..be2692c
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/source/BSD-3-Clause
@@ -0,0 +1,27 @@
+The BSD 3-Clause License ("New BSD")
+
+ 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. Neither the name of the copyright holder 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 COPYRIGHT HOLDER 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/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/licenses/source/MIT
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/licenses/source/MIT b/brooklyn-dist/dist/licensing/licenses/source/MIT
new file mode 100644
index 0000000..71dfb45
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/licenses/source/MIT
@@ -0,0 +1,20 @@
+The MIT License ("MIT")
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/make-all-licenses.sh
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/make-all-licenses.sh b/brooklyn-dist/dist/licensing/make-all-licenses.sh
new file mode 100755
index 0000000..3b62f96
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/make-all-licenses.sh
@@ -0,0 +1,61 @@
+#
+# 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.
+#
+
+# generates LICENSE files for source and binary,
+# and for each of `projects-with-custom-licenses`
+
+set -e
+
+# update the extras-files file from projects-with-custom-licenses
+cat projects-with-custom-licenses | awk '{ printf("%s/src/main/license/source-inclusions.yaml:", $0); }' | sed 's/:$//' > extras-files
+
+unset BROOKLYN_LICENSE_SPECIALS
+unset BROOKLYN_LICENSE_EXTRAS_FILES
+unset BROOKLYN_LICENSE_MODE
+
+# individual projects
+for x in `cat projects-with-custom-licenses` ; do
+ export BROOKLYN_LICENSE_MODE=`basename $x`
+ echo MAKING LICENSES FOR: ${BROOKLYN_LICENSE_MODE}
+ export BROOKLYN_LICENSE_SPECIALS=-DonlyExtras=true
+ export BROOKLYN_LICENSE_EXTRAS_FILES=$x/src/main/license/source-inclusions.yaml
+ cp licenses/`basename $x`/* licenses/source
+ ./make-one-license.sh > LICENSE.autogenerated || ( echo FAILED. See details in tmp_stdout/err. && false )
+ cp LICENSE.autogenerated ../$x/src/main/license/files/LICENSE
+ unset BROOKLYN_LICENSE_SPECIALS
+ unset BROOKLYN_LICENSE_EXTRAS_FILES
+ unset BROOKLYN_LICENSE_MODE
+done
+
+# source build, at root
+export BROOKLYN_LICENSE_MODE=source
+echo MAKING LICENSES FOR: ${BROOKLYN_LICENSE_MODE}
+export BROOKLYN_LICENSE_SPECIALS=-DonlyExtras=true
+./make-one-license.sh > LICENSE.autogenerated
+cp LICENSE.autogenerated ../../../LICENSE
+unset BROOKLYN_LICENSE_SPECIALS
+unset BROOKLYN_LICENSE_MODE
+
+# binary build, in dist
+export BROOKLYN_LICENSE_MODE=binary
+echo MAKING LICENSES FOR: ${BROOKLYN_LICENSE_MODE}
+./make-one-license.sh > LICENSE.autogenerated
+cp LICENSE.autogenerated ../src/main/license/files/LICENSE
+unset BROOKLYN_LICENSE_MODE
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/make-one-license.sh
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/make-one-license.sh b/brooklyn-dist/dist/licensing/make-one-license.sh
new file mode 100755
index 0000000..5bcb35b
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/make-one-license.sh
@@ -0,0 +1,79 @@
+#
+# 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.
+#
+
+set -e
+
+# generates a LICENSE file, including notices and other licenses as needed
+# uses various env vars BROOKLYN_LICENSE_* to determine appropriate behaviour;
+# see make-licenses.sh for examples
+
+ls MAIN_LICENSE_ASL2 > /dev/null 2> /dev/null || ( echo "Must run in licensing directory (where this script lives)" > /dev/stderr && false )
+
+if [ -z "${BROOKLYN_LICENSE_MODE}" ] ; then echo BROOKLYN_LICENSE_MODE must be set > /dev/stderr ; false ; fi
+
+
+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
+# add -X on next line to get debug info
+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 \
+ -DextrasFiles=${BROOKLYN_LICENSE_EXTRAS_FILES:-`cat licensing/extras-files`} \
+ ${BROOKLYN_LICENSE_SPECIALS} \
+ -DoutputFile=licensing/notices.autogenerated \
+ > tmp_stdout 2> tmp_stderr
+rm tmp_std*
+popd > /dev/null
+cat notices.autogenerated
+
+echo
+echo "---------------------------------------------------"
+echo
+echo "(3) Licenses for bundled software"
+echo
+echo Contents:
+echo
+for x in licenses/${BROOKLYN_LICENSE_MODE}/* ; do head -1 $x | awk '{print " "$0;}' ; done
+echo
+echo
+for x in licenses/${BROOKLYN_LICENSE_MODE}/* ; do cat $x ; echo ; done
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/overrides.yaml
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/overrides.yaml b/brooklyn-dist/dist/licensing/overrides.yaml
new file mode 100644
index 0000000..a2f6107
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/overrides.yaml
@@ -0,0 +1,383 @@
+#
+# 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.
+#
+
+
+# overrides file for org.heneveld.license-audit-maven-plugin
+# expands/corrects detail needed for generating license notices
+
+
+# super-projects to suppress notices for sub-projects
+
+- id: org.apache.brooklyn
+ url: http://brooklyn.incubator.apache.org/
+ license: ASL2
+ internal: true
+
+# poms with missing and incorrect 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
+- id: javax.validation:validation-api
+ url: http://beanvalidation.org/
+- id: com.squareup.okhttp:okhttp
+ copyright_by: Square, Inc.
+- id: com.squareup.okio:okio
+ copyright_by: Square, Inc.
+- id: com.wordnik:swagger-core_2.9.1
+ copyright_by: SmartBear Software
+- id: com.wordnik:swagger-jaxrs_2.9.1
+ copyright_by: SmartBear Software
+- id: org.bouncycastle
+ copyright_by: The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org)
+- id: org.javassist:javassist
+ copyright_by: Shigeru Chiba
+- id: org.mongodb:mongo-java-driver
+ copyright_by: MongoDB, Inc
+- id: org.apache.httpcomponents:httpclient:*
+ url: http://hc.apache.org/httpcomponents-client-ga
+- id: javax.annotation:jsr250-api:*
+ url: https://jcp.org/en/jsr/detail?id=250
+- id: javax.ws.rs:jsr311-api:*
+ url: https://jsr311.java.net/
+- id: com.thoughtworks.xstream:*:*
+ url: http://x-stream.github.io/
+- id: com.fasterxml.jackson:*:*
+ url: http://wiki.fasterxml.com/JacksonHome
+
+- 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: MetaStuff BSD style license (3-clause)
+ url: http://dom4j.sourceforge.net/dom4j-1.6.1/license.html
+
+- id: org.python:jython-standalone:2.7-b3
+ copyright_by: Jython Developers
+ 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:*
+ copyright_by: Extreme! Lab, Indiana University
+ 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)"
+
+
+# info on non-maven projects
+
+- id: jquery-core
+ url: http://jquery.com/
+ description: JS library for manipulating HTML and eventing
+ name: jQuery JavaScript Library
+ files: jquery.js
+ version: 1.7.2
+ organization: { name: "The jQuery Foundation", url: "http://jquery.org/" }
+ license: MIT
+ notices:
+ - Copyright (c) John Resig (2005-2011)
+ - "Includes code fragments from sizzle.js:"
+ - " Copyright (c) The Dojo Foundation"
+ - " Available at http://sizzlejs.com"
+ - " Used under the MIT license"
+
+- id: jquery-core:1.8.0
+ url: http://jquery.com/
+ description: JS library for manipulating HTML and eventing
+ name: jQuery JavaScript Library
+ files: jquery.js
+ version: 1.8.0
+ organization: { name: "The jQuery Foundation", url: "http://jquery.org/" }
+ license: MIT
+ notices:
+ - Copyright (c) The jQuery Foundation, Inc. and other contributors (2005-2012)
+ - "Includes code fragments from sizzle.js:"
+ # NB: sizzle copyright changed from Dojo Foundation in 1.7.2
+ - " Copyright (c) The jQuery Foundation, Inc. and other contributors (2012)"
+ - " Available at http://sizzlejs.com"
+ - " Used under the MIT license"
+# used in docs (not reported)
+- id: jquery-core:2.1.1
+ url: http://jquery.com/
+ description: JS library for manipulating HTML and eventing
+ name: jQuery JavaScript Library
+ files: jquery.js
+ version: 2.1.1
+ organization: { name: "The jQuery Foundation", url: "http://jquery.org/" }
+ license: MIT
+ notices:
+ - Copyright (c) The jQuery Foundation, Inc. and other contributors (2005-2014)
+ - "Includes code fragments from sizzle.js:"
+ # NB: sizzle copyright changed from Dojo Foundation in 1.7.2
+ - " Copyright (c) The jQuery Foundation, Inc. and other contributors (2013)"
+ - " Available at http://sizzlejs.com"
+ - " Used under the MIT license"
+
+- id: swagger:2.1.6
+ name: Swagger JS
+ files: swagger-client.js
+ version: 2.1.6
+ url: https://github.com/swagger-api/swagger-js
+ license: ASL2
+ notice: Copyright (c) SmartBear Software (2011-2015)
+
+- id: swagger-ui:2.1.3
+ files: swagger-ui.js
+ name: Swagger UI
+ version: 2.1.3
+ url: https://github.com/swagger-api/swagger-ui
+ license: ASL2
+ notice: Copyright (c) SmartBear Software (2011-2015)
+
+- id: jquery.wiggle.min.js
+ name: jQuery Wiggle
+ version: swagger-ui:1.0.1
+ notices:
+ - Copyright (c) WonderGroup and Jordan Thomas (2010)
+ - Previously online at http://labs.wondergroup.com/demos/mini-ui/index.html.
+ # that is link in copyright but it is no longer valid; url below is same person
+ - The version included here is from the Swagger UI distribution.
+ url: https://github.com/jordanthomas/jquery-wiggle
+ license: MIT
+
+- id: require.js
+ name: RequireJS
+ files: require.js, text.js
+ version: 2.0.6
+ url: http://requirejs.org/
+ organization: { name: "The Dojo Foundation", url: "http://dojofoundation.org/" }
+ notice: Copyright (c) The Dojo Foundation (2010-2012)
+ license: MIT
+
+- id: require.js/r.js
+ # new ID because this is a different version to the above
+ name: RequireJS (r.js maven plugin)
+ files: r.js
+ version: 2.1.6
+ url: http://github.com/jrburke/requirejs
+ organization: { name: "The Dojo Foundation", url: "http://dojofoundation.org/" }
+ notices:
+ - Copyright (c) The Dojo Foundation (2009-2013)
+ - "Includes code fragments for source-map and other functionality:"
+ - " Copyright (c) The Mozilla Foundation and contributors (2011)"
+ - " Used under the BSD 2-Clause license."
+ - "Includes code fragments for parse-js and other functionality:"
+ - " Copyright (c) Mihai Bazon (2010, 2012)"
+ - " Used under the BSD 2-Clause license."
+ - "Includes code fragments for uglifyjs/consolidator:"
+ - " Copyright (c) Robert Gust-Bardon (2012)"
+ - " Used under the BSD 2-Clause license."
+ - "Includes code fragments for the esprima parser:"
+ - " Copyright (c):"
+ - " Ariya Hidayat (2011, 2012)"
+ - " Mathias Bynens (2012)"
+ - " Joost-Wim Boekesteijn (2012)"
+ - " Kris Kowal (2012)"
+ - " Yusuke Suzuki (2012)"
+ - " Arpad Borsos (2012)"
+ - " Used under the BSD 2-Clause license."
+ license: MIT
+
+- id: backbone.js
+ version: 1.0.0
+ url: http://backbonejs.org
+ organization: { name: "DocumentCloud Inc.", url: "http://www.documentcloud.org/" }
+ notice: Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2010-2013)
+ license: MIT
+
+- id: backbone.js:1.1.2
+ version: 1.1.2
+ url: http://backbonejs.org
+ organization: { name: "DocumentCloud Inc.", url: "http://www.documentcloud.org/" }
+ notice: Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2010-2014)
+ license: MIT
+
+- id: bootstrap.js
+ version: 2.0.4
+ url: http://twitter.github.com/bootstrap/javascript.html#transitions
+ notice: Copyright (c) Twitter, Inc. (2012)
+ license: ASL2
+
+# used in docs (not needed for licensing)
+- id: bootstrap.js:3.1.1
+ version: 3.1.1
+ url: http://getbootstrap.com/
+ notice: Copyright (c) Twitter, Inc. (2011-2014)
+ license: MIT
+
+- id: underscore.js
+ version: 1.4.4
+ files: underscore*.{js,map}
+ url: http://underscorejs.org
+ organization: { name: "DocumentCloud Inc.", url: "http://www.documentcloud.org/" }
+ notice: Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2009-2013)
+ license: MIT
+
+# used in CLI (and in docs)
+- id: underscore.js:1.7.0
+ version: 1.7.0
+ files: underscore*.{js,map}
+ url: http://underscorejs.org
+ organization: { name: "DocumentCloud Inc.", url: "http://www.documentcloud.org/" }
+ notice: "Copyright (c) Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors (2009-2014)"
+ license: MIT
+
+- id: async.js
+ version: 0.1.1
+ url: https://github.com/p15martin/google-maps-hello-world/blob/master/js/libs/async.js
+ # ORIGINALLY https://github.com/millermedeiros/requirejs-plugins
+ organization: { name: "Miller Medeiros", url: "https://github.com/millermedeiros/" }
+ description: RequireJS plugin for async dependency load like JSONP and Google Maps
+ notice: Copyright (c) Miller Medeiros (2011)
+ license: MIT
+
+- id: handlebars.js
+ files: handlebars*.js
+ version: 1.0-rc1
+ url: https://github.com/wycats/handlebars.js
+ organization: { name: "Yehuda Katz", url: "https://github.com/wycats/" }
+ notice: Copyright (c) Yehuda Katz (2012)
+ license: MIT
+
+- id: handlebars.js:2.0.0
+ files: handlebars*.js
+ version: 2.0.0
+ url: https://github.com/wycats/handlebars.js
+ organization: { name: "Yehuda Katz", url: "https://github.com/wycats/" }
+ notice: Copyright (c) Yehuda Katz (2014)
+ license: MIT
+
+- id: jquery.ba-bbq.js
+ name: "jQuery BBQ: Back Button & Query Library"
+ files: jquery.ba-bbq*.js
+ version: 1.2.1
+ url: http://benalman.com/projects/jquery-bbq-plugin/
+ organization: { name: "\"Cowboy\" Ben Alman", url: "http://benalman.com/" }
+ notice: Copyright (c) "Cowboy" Ben Alman (2010)"
+ license: MIT
+
+- id: moment.js
+ version: 2.1.0
+ url: http://momentjs.com
+ organization: { name: "Tim Wood", url: "http://momentjs.com" }
+ notice: Copyright (c) Tim Wood, Iskren Chernev, Moment.js contributors (2011-2014)
+ license: MIT
+
+- id: ZeroClipboard
+ files: ZeroClipboard.*
+ version: 1.3.1
+ url: http://zeroclipboard.org/
+ organization: { name: "ZeroClipboard contributors", url: "https://github.com/zeroclipboard" }
+ notice: Copyright (c) Jon Rohan, James M. Greene (2014)
+ license: MIT
+
+- id: jquery.dataTables
+ files: jquery.dataTables.{js,css}
+ name: DataTables Table plug-in for jQuery
+ version: 1.9.4
+ url: http://www.datatables.net/
+ organization: { name: "SpryMedia Ltd", url: "http://sprymedia.co.uk/" }
+ notice: Copyright (c) Allan Jardine (2008-2012)
+ license: BSD-3-Clause
+
+- id: js-uri
+ files: URI.js
+ version: 0.1
+ url: http://code.google.com/p/js-uri/
+ organization: { name: "js-uri contributors", url: "https://code.google.com/js-uri" }
+ license: BSD-3-Clause
+ # inferred
+ notice: Copyright (c) js-uri contributors (2013)
+
+- id: js-yaml.js
+ version: 3.2.7
+ organization: { name: "Vitaly Puzrin", url: "https://github.com/nodeca/" }
+ url: https://github.com/nodeca/
+ notice: Copyright (c) Vitaly Puzrin (2011-2015)
+ license: MIT
+
+- id: jquery.form.js
+ name: jQuery Form Plugin
+ version: "3.09"
+ url: https://github.com/malsup/form
+ # also http://malsup.com/jquery/form/
+ organization: { name: "Mike Alsup", url: "http://malsup.com/" }
+ notice: Copyright (c) M. Alsup (2006-2013)
+ license: MIT
+
+# used for CLI to build catalog
+- id: typeahead.js
+ version: 0.10.5
+ url: https://github.com/twitter/typeahead.js
+ organization: { name: "Twitter, Inc", url: "http://twitter.com" }
+ notice: Copyright (c) Twitter, Inc. and other contributors (2013-2014)
+ license: MIT
+
+# used for CLI to build catalog
+- id: marked.js
+ version: 0.3.1
+ url: https://github.com/chjj/marked
+ organization: { name: "Christopher Jeffrey", url: "https://github.com/chjj" }
+ notice: Copyright (c) Christopher Jeffrey (2011-2014)
+ license: MIT
+
+# DOCS files
+#
+# we don't do a distributable docs build -- they are just online.
+# (docs are excluded from the source build, and not bundled with the binary build.)
+# so these are not used currently; but for completeness and in case we change our minds,
+# here they are:
+
+# * different versions of jquery, bootstrap, and underscore noted above,
+# * media items github octicons and font-awesome fonts, not listed
+# * plus the below:
+
+- id: jquery.superfish.js
+ files: superfish.js
+ name: Superfish jQuery Menu Widget
+ version: 1.4.8
+ url: http://users.tpg.com.au/j_birch/plugins/superfish/
+ notice: Copyright (c) Joel Birch (2008)
+ license: MIT
+
+- id: jquery.cookie.js
+ name: jQuery Cookie Plugin
+ version: 1.3.1
+ url: https://github.com/carhartl/jquery-cookie
+ notice: Copyright (c) 2013 Klaus Hartl
+ license: MIT
+
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/licensing/projects-with-custom-licenses
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/licensing/projects-with-custom-licenses b/brooklyn-dist/dist/licensing/projects-with-custom-licenses
new file mode 100644
index 0000000..ebf210c
--- /dev/null
+++ b/brooklyn-dist/dist/licensing/projects-with-custom-licenses
@@ -0,0 +1,2 @@
+../jsgui
+../cli
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/pom.xml
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/pom.xml b/brooklyn-dist/dist/pom.xml
new file mode 100644
index 0000000..d9c392a
--- /dev/null
+++ b/brooklyn-dist/dist/pom.xml
@@ -0,0 +1,158 @@
+<?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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <packaging>jar</packaging>
+
+ <artifactId>brooklyn-dist</artifactId>
+
+ <name>Brooklyn Distribution</name>
+ <description>
+ Brooklyn redistributable package archive, includes all required
+ Jar files and scripts
+ </description>
+
+ <parent>
+ <groupId>org.apache.brooklyn</groupId>
+ <artifactId>brooklyn-parent</artifactId>
+ <version>0.9.0-SNAPSHOT</version> <!-- BROOKLYN_VERSION -->
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.brooklyn</groupId>
+ <artifactId>brooklyn-all</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- TODO include examples -->
+ <!-- TODO include documentation -->
+
+ <dependency>
+ <groupId>org.apache.brooklyn</groupId>
+ <artifactId>brooklyn-test-support</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <!-- copy the config file from the CLI project (could instead use unpack goal with an includes filter) -->
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <!-- this can fail in eclipse trying to copy _from_ target/classes.
+ see http://jira.codehaus.org/browse/MDEP-259 -->
+ <groupId>${project.groupId}</groupId>
+ <artifactId>brooklyn-cli</artifactId>
+ <version>${project.version}</version>
+ <type>bom</type>
+ <classifier>dist</classifier>
+ <overWrite>true</overWrite>
+ <outputDirectory>target</outputDirectory>
+ <destFileName>default.catalog.bom</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes combine.children="append">
+ <!-- Exclude sample config files because they are illustrative, intended for changing -->
+ <exclude>src/main/dist/conf/**</exclude>
+ <exclude>licensing/licenses/**</exclude>
+ <exclude>licensing/README.md</exclude>
+ <exclude>licensing/*LICENSE*</exclude>
+ <exclude>licensing/*.autogenerated</exclude>
+ <exclude>licensing/projects-with-custom-licenses</exclude>
+ <exclude>licensing/extras-files</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>build-distribution-dir</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <appendAssemblyId>true</appendAssemblyId>
+ <descriptors>
+ <descriptor>src/main/config/build-distribution.xml</descriptor>
+ </descriptors>
+ <finalName>brooklyn</finalName>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>dir</format>
+ </formats>
+ <attach>false</attach>
+ </configuration>
+ </execution>
+ <execution>
+ <id>build-distribution-archive</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <appendAssemblyId>true</appendAssemblyId>
+ <descriptors>
+ <descriptor>src/main/config/build-distribution.xml</descriptor>
+ </descriptors>
+ <!-- finalName affects name in `target/` but we cannot influence name when it is attached/installed,
+ so `apache-` prefix would be lost there. to keep it consistent this is commented out,
+ but would be nice to have if there is a way!
+ <finalName>apache-brooklyn-${project.version}</finalName>
+ -->
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/src/main/config/build-distribution.xml
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/src/main/config/build-distribution.xml b/brooklyn-dist/dist/src/main/config/build-distribution.xml
new file mode 100644
index 0000000..fc2264d
--- /dev/null
+++ b/brooklyn-dist/dist/src/main/config/build-distribution.xml
@@ -0,0 +1,96 @@
+<?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.
+-->
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>dist</id>
+ <formats><!-- empty, intended for caller to specify --></formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/../..</directory>
+ <outputDirectory></outputDirectory>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ <includes>
+ <include>README*</include>
+ <include>DISCLAIMER*</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/src/main/license/files</directory>
+ <outputDirectory></outputDirectory>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/src/main/dist/bin</directory>
+ <outputDirectory>bin</outputDirectory>
+ <fileMode>0755</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <!-- Add an empty dropins folder (so need to reference an existing dir, and exclude everything) -->
+ <directory>${project.basedir}/src/main/dist</directory>
+ <outputDirectory>lib/dropins</outputDirectory>
+ <directoryMode>0755</directoryMode>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/target</directory>
+ <outputDirectory>conf/brooklyn</outputDirectory>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ <includes>
+ <include>default.catalog.bom</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <!-- Add an empty patch folder (so need to reference an existing dir, and exclude everything) -->
+ <directory>${project.basedir}/src/main/dist</directory>
+ <outputDirectory>lib/patch</outputDirectory>
+ <directoryMode>0755</directoryMode>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/src/main/dist</directory>
+ <outputDirectory></outputDirectory>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ <excludes>
+ <exclude>bin/*</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+ <!-- TODO include documentation -->
+ <!-- TODO include examples -->
+ <dependencySets>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>lib/brooklyn</outputDirectory>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ <outputFileNameMapping>${artifact.groupId}-${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
+ </dependencySet>
+ </dependencySets>
+</assembly>
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/src/main/dist/bin/.gitattributes
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/src/main/dist/bin/.gitattributes b/brooklyn-dist/dist/src/main/dist/bin/.gitattributes
new file mode 100644
index 0000000..4e2b719
--- /dev/null
+++ b/brooklyn-dist/dist/src/main/dist/bin/.gitattributes
@@ -0,0 +1,3 @@
+#Don't auto-convert line endings for shell scripts on Windows (breaks the scripts)
+brooklyn text eol=lf
+cloud-explorer text eol=lf
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/src/main/dist/bin/brooklyn
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/src/main/dist/bin/brooklyn b/brooklyn-dist/dist/src/main/dist/bin/brooklyn
new file mode 100755
index 0000000..370bc93
--- /dev/null
+++ b/brooklyn-dist/dist/src/main/dist/bin/brooklyn
@@ -0,0 +1,51 @@
+#!/usr/bin/env bash
+#
+# 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.
+#
+# Brooklyn
+#
+
+#set -x # debug
+
+# discover BROOKLYN_HOME if not set, by attempting to resolve absolute path of this command
+ROOT=$(cd "$(dirname "$0")/.." && pwd -P)
+if [ -z "$BROOKLYN_HOME" ] ; then
+ BROOKLYN_HOME=$(cd "$(dirname "$(readlink -f "$0" 2> /dev/null || readlink "$0" 2> /dev/null || echo "$0")")/.." && pwd)
+fi
+export ROOT BROOKLYN_HOME
+
+# use default memory settings, if not specified
+if [ -z "${JAVA_OPTS}" ] ; then
+ JAVA_OPTS="-Xms256m -Xmx1g -XX:MaxPermSize=256m"
+fi
+
+# set up the classpath
+INITIAL_CLASSPATH=${BROOKLYN_HOME}/conf:${BROOKLYN_HOME}/lib/patch/*:${BROOKLYN_HOME}/lib/brooklyn/*:${BROOKLYN_HOME}/lib/dropins/*
+# specify additional CP args in BROOKLYN_CLASSPATH
+if [ ! -z "${BROOKLYN_CLASSPATH}" ]; then
+ INITIAL_CLASSPATH=${BROOKLYN_CLASSPATH}:${INITIAL_CLASSPATH}
+fi
+export INITIAL_CLASSPATH
+
+# force resolution of localhost to be loopback, otherwise we hit problems
+# TODO should be changed in code
+JAVA_OPTS="-Dbrooklyn.location.localhost.address=127.0.0.1 ${JAVA_OPTS}"
+
+# start Brooklyn
+echo $$ > "$ROOT/pid_java"
+exec java ${JAVA_OPTS} -cp "${INITIAL_CLASSPATH}" org.apache.brooklyn.cli.Main "$@"
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/src/main/dist/bin/brooklyn.bat
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/src/main/dist/bin/brooklyn.bat b/brooklyn-dist/dist/src/main/dist/bin/brooklyn.bat
new file mode 100644
index 0000000..90e300e
--- /dev/null
+++ b/brooklyn-dist/dist/src/main/dist/bin/brooklyn.bat
@@ -0,0 +1,111 @@
+@echo off
+REM Licensed to the Apache Software Foundation (ASF) under one
+REM or more contributor license agreements. See the NOTICE file
+REM distributed with this work for additional information
+REM regarding copyright ownership. The ASF licenses this file
+REM to you under the Apache License, Version 2.0 (the
+REM "License"); you may not use this file except in compliance
+REM with the License. You may obtain a copy of the License at
+REM
+REM http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing,
+REM software distributed under the License is distributed on an
+REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+REM KIND, either express or implied. See the License for the
+REM specific language governing permissions and limitations
+REM under the License.
+
+SETLOCAL EnableDelayedExpansion
+
+REM discover BROOKLYN_HOME if not set, by attempting to resolve absolute path of this command (brooklyn.bat)
+IF NOT DEFINED BROOKLYN_HOME (
+ SET "WORKING_FOLDER=%~dp0"
+
+ REM stript trailing slash
+ SET "WORKING_FOLDER=!WORKING_FOLDER:~0,-1!"
+
+ REM get parent folder (~dp works only for batch file params and loop indexes)
+ FOR %%i in ("!WORKING_FOLDER!") DO SET "BROOKLYN_HOME=%%~dpi"
+)
+
+REM Discover the location of Java.
+REM Use JAVA_HOME environment variable, if available;
+REM else, check the path;
+REM else, search registry for Java installations;
+REM else fail.
+
+IF DEFINED JAVA_HOME (
+ CALL :joinpath "%JAVA_HOME%" bin\java.exe JAVA_BIN
+)
+
+IF NOT DEFINED JAVA_BIN (
+ IF NOT DEFINED JAVA_HOME CALL :registry_home "HKLM\SOFTWARE\JavaSoft\Java Runtime Environment"
+ IF NOT DEFINED JAVA_HOME CALL :registry_home "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment"
+ IF NOT DEFINED JAVA_HOME CALL :registry_home "HKLM\SOFTWARE\JavaSoft\Java Development Kit"
+ IF NOT DEFINED JAVA_HOME CALL :registry_home "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit"
+ CALL :joinpath "!JAVA_HOME!" bin\java.exe JAVA_BIN
+)
+
+IF NOT DEFINED JAVA_BIN (
+ java.exe -version > NUL 2> NUL
+ echo !ERRORLEVEL!
+ IF NOT !ERRORLEVEL!==9009 SET JAVA_BIN=java.exe
+)
+
+IF NOT DEFINED JAVA_BIN (
+ echo "Unable to locate a Java installation. Please set JAVA_HOME or PATH environment variables."
+ exit /b 1
+) ELSE (
+ "%JAVA_BIN%" -version > NUL 2> NUL
+ IF !ERRORLEVEL!==9009 (
+ echo "java.exe does not exist where specified. Please check JAVA_HOME or PATH environment variables."
+ exit /b 1
+ )
+)
+
+REM use default memory settings, if not specified
+IF "%JAVA_OPTS%"=="" SET JAVA_OPTS=-Xms256m -Xmx500m -XX:MaxPermSize=256m
+
+REM set up the classpath
+SET INITIAL_CLASSPATH=%BROOKLYN_HOME%conf;%BROOKLYN_HOME%lib\patch\*;%BROOKLYN_HOME%lib\brooklyn\*;%BROOKLYN_HOME%lib\dropins\*
+REM specify additional CP args in BROOKLYN_CLASSPATH
+IF NOT "%BROOKLYN_CLASSPATH%"=="" SET "INITIAL_CLASSPATH=%BROOKLYN_CLASSPATH%;%INITIAL_CLASSPATH%"
+
+REM force resolution of localhost to be loopback, otherwise we hit problems
+REM TODO should be changed in code
+SET JAVA_OPTS=-Dbrooklyn.location.localhost.address=127.0.0.1 %JAVA_OPTS%
+
+REM workaround for http://bugs.sun.com/view_bug.do?bug_id=4787931
+SET JAVA_OPTS=-Duser.home="%USERPROFILE%" %JAVA_OPTS%
+
+REM start Brooklyn
+REM NO easy way to find process PID!!!
+pushd %BROOKLYN_HOME%
+
+"%JAVA_BIN%" %JAVA_OPTS% -cp "%INITIAL_CLASSPATH%" org.apache.brooklyn.cli.Main %*
+
+popd
+
+ENDLOCAL
+GOTO :EOF
+
+:joinpath
+ SET Path1=%~1
+ SET Path2=%~2
+ IF {%Path1:~-1,1%}=={\} (SET "%3=%Path1%%Path2%") ELSE (SET "%3=%Path1%\%Path2%")
+GOTO :EOF
+
+:whereis
+ REM Doesn't handle paths with quotes in the PATH variable
+ SET "%2=%~$PATH:1"
+GOTO :EOF
+
+:registry_value
+ FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY %1 /v %2 2^>nul') DO SET "%3=%%B"
+GOTO :EOF
+
+:registry_home
+ CALL :registry_value %1 CurrentVersion JAVA_VERSION
+ CALL :registry_value "%~1\%JAVA_VERSION%" JavaHome JAVA_HOME
+GOTO :EOF
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/src/main/dist/bin/brooklyn.ps1
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/src/main/dist/bin/brooklyn.ps1 b/brooklyn-dist/dist/src/main/dist/bin/brooklyn.ps1
new file mode 100644
index 0000000..6780ed2
--- /dev/null
+++ b/brooklyn-dist/dist/src/main/dist/bin/brooklyn.ps1
@@ -0,0 +1,135 @@
+#!ps1
+#
+# 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.
+#
+# Brooklyn
+#
+
+$ErrorActionPreference = "Stop";
+
+$ROOT = split-path -parent $MyInvocation.MyCommand.Definition
+
+# discover BROOKLYN_HOME if not set, by attempting to resolve absolute path of this command (brooklyn)
+if ( $env:BROOKLYN_HOME -eq $null ) {
+ $BROOKLYN_HOME = split-path -parent $ROOT
+} else {
+ $BROOKLYN_HOME = $env:BROOKLYN_HOME
+}
+
+# Discover the location of Java.
+# Use JAVA_HOME environment variable, if available;
+# else, search registry for Java installations;
+# else, check the path;
+# else fail.
+$bin = [System.IO.Path]::Combine("bin", "java.exe")
+if ( $env:JAVA_HOME -ne $null ) {
+ $javahome = $env:JAVA_HOME
+ $javabin = [System.IO.Path]::Combine($javahome, $bin)
+}
+if ( $javabin -eq $null ) {
+ $reglocations = ( 'HKLM:\SOFTWARE\JavaSoft\Java Runtime Environment',
+ 'HKLM:\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment' )
+ $jres = @{}
+ foreach ($loc in $reglocations) {
+ $item = Get-Item $loc -ErrorAction SilentlyContinue
+ if ($item -eq $null) { continue }
+ foreach ($key in Get-ChildItem $loc) {
+ $version = $key.PSChildName
+ $jrehome = $key.GetValue("JavaHome")
+ $jres.Add($version, $jrehome)
+ }
+ }
+ # TODO - this does a simple sort on the registry key name (the JRE version). This is not ideal - better would be
+ # to understand semantic versioning, filter out incompatible JREs (1.5 and earlier), prefer known good JREs (1.6
+ # or 1.7) and pick the highest patchlevel.
+ $last = ( $jres.Keys | Sort-Object | Select-Object -Last 1 )
+ if ( $last -ne $null ) {
+ $javahome = $jres.Get_Item($last)
+ $javabin = [System.IO.Path]::Combine($javahome, $bin)
+ }
+}
+if ( $javabin -eq $null ) {
+ $where = Get-Command "java.exe" -ErrorAction SilentlyContinue
+ if ( $where -ne $null ) {
+ $javabin = $where.Definition
+ $bindir = [System.IO.Path]::GetDirectoryName($javabin)
+ $javahome = [System.IO.Path]::GetDirectoryName($bindir)
+ }
+}
+
+if ( $javabin -eq $null ) {
+ throw "Unable to locate a Java installation. Please set JAVA_HOME or PATH environment variables."
+} elseif ( $( Get-Item $javabin -ErrorAction SilentlyContinue ) -eq $null ) {
+ throw "java.exe does not exist where specified. Please check JAVA_HOME or PATH environment variables."
+}
+
+# set up the classpath
+$cp = Get-ChildItem ${BROOKLYN_HOME}\conf | Select-Object -ExpandProperty FullName
+
+if ( Test-Path ${BROOKLYN_HOME}\lib\patch ) {
+ $cp += Get-ChildItem ${BROOKLYN_HOME}\lib\patch | Select-Object -ExpandProperty FullName
+}
+
+$cp += Get-ChildItem ${BROOKLYN_HOME}\lib\brooklyn | Select-Object -ExpandProperty FullName
+
+if ( Test-Path ${BROOKLYN_HOME}\lib\dropins ) {
+ $cp += Get-ChildItem ${BROOKLYN_HOME}\lib\dropins | Select-Object -ExpandProperty FullName
+}
+
+$INITIAL_CLASSPATH = $cp -join ';'
+
+# specify additional CP args in BROOKLYN_CLASSPATH
+if ( ! ( $env:BROOKLYN_CLASSPATH -eq $null )) {
+ $INITIAL_CLASSPATH = "$($INITIAL_CLASSPATH);$($env:BROOKLYN_CLASSPATH)"
+}
+
+# start to build up the arguments to the java invocation
+$javaargs = @()
+
+# add the user's java opts, or use default memory settings, if not specified
+if ( $env:JAVA_OPTS -eq $null ) {
+ $javaargs +="-Xms256m -Xmx1g -XX:MaxPermSize=256m"
+} else {
+ $javaargs +=$env:JAVA_OPTS
+}
+
+# force resolution of localhost to be loopback, otherwise we hit problems
+# TODO should be changed in code
+$javaargs += "-Dbrooklyn.localhost.address=127.0.0.1 $($JAVA_OPTS)"
+
+# workaround for http://bugs.sun.com/view_bug.do?bug_id=4787931
+$javaargs += "-Duser.home=`"$env:USERPROFILE`""
+
+# add the classpath
+$javaargs += "-cp"
+$javaargs += "`"$($INITIAL_CLASSPATH)`""
+
+# main class
+$javaargs += "org.apache.brooklyn.cli.Main"
+
+# copy in the arguments that were given to this script
+$javaargs += $args
+
+# start Brooklyn
+$process = Start-Process -FilePath $javabin -ArgumentList $javaargs -NoNewWindow -PassThru
+
+# save PID
+Set-Content -Path ${BROOKLYN_HOME}\pid_java -Value $($process.Id)
+
+# wait for it to finish
+$process.WaitForExit()
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/src/main/dist/conf/logback.xml
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/src/main/dist/conf/logback.xml b/brooklyn-dist/dist/src/main/dist/conf/logback.xml
new file mode 100644
index 0000000..e70862c
--- /dev/null
+++ b/brooklyn-dist/dist/src/main/dist/conf/logback.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+
+ <!-- to supply custom logging, either change this file, supply your own logback-main.xml
+ (overriding the default provided on the classpath) or any of the files it references;
+ see the Logging section of the Brooklyn web site for more information -->
+
+ <property name="logging.basename" scope="context" value="brooklyn" />
+ <property name="logging.dir" scope="context" value="./" />
+
+ <include resource="logback-main.xml"/>
+
+</configuration>
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/src/main/license/README.md
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/src/main/license/README.md b/brooklyn-dist/dist/src/main/license/README.md
new file mode 100644
index 0000000..0d3b52b
--- /dev/null
+++ b/brooklyn-dist/dist/src/main/license/README.md
@@ -0,0 +1,2 @@
+See /usage/dist/licensing/README.md for an explanation of this directory.
+
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/29757eea/brooklyn-dist/dist/src/main/license/files/DISCLAIMER
----------------------------------------------------------------------
diff --git a/brooklyn-dist/dist/src/main/license/files/DISCLAIMER b/brooklyn-dist/dist/src/main/license/files/DISCLAIMER
new file mode 100644
index 0000000..9e6119b
--- /dev/null
+++ b/brooklyn-dist/dist/src/main/license/files/DISCLAIMER
@@ -0,0 +1,8 @@
+
+Apache Brooklyn is an effort undergoing incubation at The Apache Software Foundation (ASF),
+sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until
+a further review indicates that the infrastructure, communications, and decision making process
+have stabilized in a manner consistent with other successful ASF projects. While incubation
+status is not necessarily a reflection of the completeness or stability of the code, it does
+indicate that the project has yet to be fully endorsed by the ASF.
+