Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

Commit

Permalink
[legal] Licenses & Copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
pkriens committed Aug 28, 2015
1 parent 90ec8ec commit 33af67d
Show file tree
Hide file tree
Showing 46 changed files with 734 additions and 165 deletions.
14 changes: 9 additions & 5 deletions cnf/build.bnd
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#
# This file is left open for you to define your macros
#
# OSGi enRoute API

Bundle-License: http://opensource.org/licenses/Apache-2.0
copyright.year = ${tstamp;yyyy}
copyright = Copyright (c) OSGi Alliance (2014, ${copyright.year}). All Rights Reserved.

-outputmask: ${@bsn}-${version;===;${@version}}.jar
groupid: org.osgi


Bundle-Copyright: ${copyright}
Bundle-Vendor: OSGi Alliance http://www.osgi.org/
Bundle-License: http://opensource.org/licenses/Apache-2.0

-releaserepo: Release
-baselinerepo: Distro
Expand Down
3 changes: 3 additions & 0 deletions cnf/ext/enroute.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ test-cases: ${classes;NAMED;*Test}
name = Release ; \
pretty = true ; \
local = ${build}/release

-pedantic: true
-fixupmessages.enroute="Duplicate","Imports that lack version ranges: *javax"
11 changes: 4 additions & 7 deletions osgi.enroute.authenticator.simple.provider/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ Private-Package: \

Conditional-Package: aQute.lib*

Provide-Capability: \
osgi.implementation; \
osgi.implementation=osgi.enroute.authenticator; \
version:Version=1.0.0

-buildpath: \
osgi.enroute.base.api;version=1.0,\
biz.aQute.junit,\
biz.aQute.bndlib;version=3;packages=*
biz.aQute.bndlib;packages=*

-testpath: \
osgi.enroute.junit.wrapper

-includeresource: {readme.md}

Expand Down
17 changes: 6 additions & 11 deletions osgi.enroute.authorization.simple.provider/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,22 @@ Bundle-Description: \
User Admin roles. For a user, the Authorization object is maintained and \
then all its roles are treated as permission names. The names may contain the \
';' separator for parameters.

Export-Package: \
osgi.enroute.authorization.api;provide:=true

Private-Package: \
osgi.enroute.authorization.simple.provider

Conditional-Package: aQute.lib*

Provide-Capability: \
osgi.implementation; \
osgi.implementation=osgi.enroute.authority; \
version:Version=1.0.0


-buildpath: \
osgi.enroute.base.api;version=1.0,\
biz.aQute.junit,\
biz.aQute.bndlib;version=3;packages=*
biz.aQute.bndlib;packages=*

-testpath: \
osgi.enroute.junit.wrapper


-includeresource: {readme.md}
-includeresource: {readme.md}, LICENSE.txt=${build}/licenses/ASL-2.0.txt


-runrequires: \
Expand Down
9 changes: 6 additions & 3 deletions osgi.enroute.base.debug.provider/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ Export-Package: osgi.enroute.debug.api


-buildpath: \
osgi.enroute.base.api;version=1.0,\
biz.aQute.junit
osgi.enroute.base.api;version=1.0

-includeresource: {readme.md}
-testpath: \
osgi.enroute.junit.wrapper


-includeresource: {readme.md}, LICENSE.txt=${build}/licenses/ASL-2.0.txt


-runrequires: \
Expand Down
17 changes: 8 additions & 9 deletions osgi.enroute.base.test/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ Bundle-Description: \
Conditional-Package: aQute.lib*

Private-Package: osgi.enroute.*.test

Import-Package: com.gargoylesoftware.*;version=0,*
Test-Cases: ${test-cases}


-includeresource: {readme.md}
-includeresource: {readme.md}, LICENSE.txt=${build}/licenses/ASL-2.0.txt

-buildpath: \
osgi.enroute.base.api;version=1.0,\
biz.aQute.bndlib;packages=*, \
osgi.enroute.junit.wrapper,\
net.sourceforge.htmlunit;version=2.15

-buildpath: \
osgi.enroute.base.api;version=1.4,\
biz.aQute.junit,\
biz.aQute.bndlib;version=2.3;packages=*,\
net.sourceforge.htmlunit;version=2.15,\
org.apache.felix.scr


-runrequires: \
osgi.identity;filter:='(osgi.identity=osgi.enroute.base.test)',\
Expand Down
16 changes: 8 additions & 8 deletions osgi.enroute.configurer.simple.provider/bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
1#
# OSGI ENROUTE CONFIGURER SIMPLE PROVIDER BUNDLE
#

Expand All @@ -8,20 +8,23 @@ Bundle-Description: This component is an extender that reads the /configuratio
and installs the list of maps in there as configuration. The configurer supports a number of features \
like profiles, macro expansion, binary resource handling, and configuration through system properties. \
See the readme.md file for more details.


Private-Package: \
osgi.enroute.configurer.simple.provider

Export-Package: \
osgi.enroute.configurer.api;provide:=true

Conditional-Package: aQute.lib*


-buildpath: \
osgi.enroute.base.api;version=1.0,\
biz.aQute.junit,\
biz.aQute.bndlib;packages=*

-includeresource: {readme.md}
-testpath: \
osgi.enroute.junit.wrapper

-includeresource: {readme.md}, LICENSE.txt=${build}/licenses/ASL-2.0.txt


-runrequires: \
Expand All @@ -34,6 +37,3 @@ Conditional-Package: aQute.lib*
org.eclipse.equinox.coordinator;version='[1.2.0,1.2.1)',\
osgi.configurer.provider;version='[1.0.0,1.0.1)',\
osgi.enroute.configurer.simple.provider;version=latest
Export-Package: \
osgi.enroute.configurer.api;provide:=true,\
osgi.enroute.configurer.capabilities
21 changes: 12 additions & 9 deletions osgi.enroute.easse.simple.adapter/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,29 @@ Bundle-Description: \
will then send all matching events to the browser through SSE. The type \
of the event is org.osgi.service.eventadmin;topic=%s, the data payload \
is a JSON representation of the event properties.


Export-Package: \
osgi.enroute.eventadminserversentevents.capabilities
Private-Package: \
osgi.enroute.easse.simple.adapter

Conditional-Package: aQute.lib*


# TODO update to packageattribute
Provide-Capability: \
osgi.enroute.webresource; \
osgi.enroute.webresource=/osgi/enroute/easse; \
root=/static/osgi/enroute/easse; \
version:Version=${Bundle-Version}
version:Version=1.0.0

Conditional-Package: aQute.lib*


-buildpath: \
osgi.enroute.base.api;version=1.0,\
biz.aQute.junit, \
biz.aQute.bndlib;packages=*

-includeresource: {readme.md}, {static=static}
-testpath: \
osgi.enroute.junit.wrapper

-includeresource: {readme.md}, {static=static}, LICENSE.txt=${build}/licenses/ASL-2.0.txt

-runrequires: \
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.runtime)',\
Expand Down Expand Up @@ -67,4 +71,3 @@ Provide-Capability: \

-runtrace=true

Export-Package: osgi.enroute.easse.capabilities
8 changes: 5 additions & 3 deletions osgi.enroute.equinox.log.adapter/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ Private-Package: \
Embedded-Activator: osgi.enroute.equinox.log.adapter.HideEquinoxLog

-buildpath: \
osgi.enroute.base.api;version=1.0,\
biz.aQute.junit
osgi.enroute.base.api;version=1.0

-testpath: \
osgi.enroute.junit.wrapper

-includeresource: {readme.md}
-includeresource: {readme.md}, LICENSE.txt=${build}/licenses/ASL-2.0.txt


-runrequires: \
Expand Down
3 changes: 1 addition & 2 deletions osgi.enroute.executor.simple.provider/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
Bundle-Version: 1.0.0.${tstamp}
Bundle-Description: \
This bundle provides an Executor service.

Private-Package: \
osgi.enroute.executor.simple.provider

-buildpath: \
osgi.enroute.base.api;version=1.0, \
biz.aQute.bndlib

-includeresource: {readme.md}
-includeresource: {readme.md}, LICENSE.txt=${build}/licenses/ASL-2.0.txt


-runrequires: \
Expand Down
21 changes: 21 additions & 0 deletions osgi.enroute.github.angular-ui.webresource/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License

Copyright (c) 2012-2015 the AngularUI Team, https://github.com/organizations/angular-ui/teams/291112

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.
5 changes: 3 additions & 2 deletions osgi.enroute.github.angular-ui.webresource/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ Bundle-DocURL: http://angular-ui.github.io/bootstrap/
Bundle-SCM: [email protected]:angular-ui/bootstrap.git
Bundle-License: http://opensource.org/licenses/MIT;link = "http://en.wikipedia.org/wiki/MIT_License";description = "MIT License"
Bundle-Icon: https://2.gravatar.com/avatar/46d07086561c66caae16ce4d96bfd345?d=https%3A%2F%2Fidenticons.github.com%2F3902b30e7e55d0ffde5994d69bf8d4e6.png&s=64
Export-Package: osgi.enroute.github.angular_ui.capabilities
Export-Package: osgi.enroute.github.angular_ui.capabilities;-split-package:=first
Bundle-Copyright: Copyright (c) 2012-${tstamp;YYYY} the AngularUI Team, https://github.com/organizations/angular-ui/teams/291112

Provide-Capability: \
osgi.enroute.webresource; \
osgi.enroute.webresource=${name}; \
root=${path}; \
version:Version=${vrs}

-includeresource: ${path}=${vrs}, {readme.md}
-includeresource: ${path}=${vrs}, {readme.md}, LICENSE.txt
-buildpath: \
osgi.enroute.base.api

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@org.osgi.annotation.versioning.Version(osgi.enroute.github.angular_ui.capabilities.AngularUIConstants.ANGULAR_UI_WEBRESOURCE_VERSION)
package osgi.enroute.github.angular_ui.capabilities;
21 changes: 21 additions & 0 deletions osgi.enroute.google.angular.webresource/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License

Copyright (c) 2010-2015 Google, Inc. http://angularjs.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.
7 changes: 4 additions & 3 deletions osgi.enroute.google.angular.webresource/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ Bundle-License: http://opensource.org/licenses/MIT
Bundle-DocURL: http://angularjs.org/
Bundle-Vendor: Google Inc. (bundled by OSGi enRoute)
Bundle-Icon: angular.png
Bundle-License: http://opensource.org/licenses/MIT";link = "http://en.wikipedia.org/wiki/MIT_License";description = "MIT License"
Export-Package: osgi.enroute.github.angular.capabilities
Bundle-License: http://opensource.org/licenses/MIT"
Export-Package: osgi.enroute.google.angular.capabilities;-split-package:=first
Bundle-Copyright: Copyright (c) 2010-${tstamp;YYYY} Google, Inc. http://angularjs.org
Provide-Capability: \
osgi.enroute.webresource; \
osgi.enroute.webresource=${name}; \
Expand All @@ -30,7 +31,7 @@ Provide-Capability: \
-buildpath: \
osgi.enroute.base.api

-includeresource: ${path}=${vrs}, angular.png, {readme.md}
-includeresource: ${path}=${vrs}, angular.png, {readme.md}, LICENSE.txt

-runrequires: \
osgi.identity;filter:='(osgi.identity=osgi.enroute.google.angular.webresource)'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@org.osgi.annotation.versioning.Version(osgi.enroute.google.angular.capabilities.AngularConstants.ANGULAR_WEB_RESOURCE_VERSION)
package osgi.enroute.google.angular.capabilities;
27 changes: 27 additions & 0 deletions osgi.enroute.hamcrest.wrapper/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
BSD License

Copyright (c) 2000-2006, www.hamcrest.org
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 Hamcrest 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 OWNER 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.
11 changes: 7 additions & 4 deletions osgi.enroute.hamcrest.wrapper/bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Bundle-Version: 1.3.0.${tstamp}

Export-Package: *;version=1.3.0
Import-Package: *;resolution:=optional
Export-Package: *;version=1.3.0
Import-Package: *;resolution:=optional
Bundle-License: http://opensource.org/licenses/BSD-2-Clause


-buildpath: org.hamcrest__hamcrest-all;version=1.3
-buildpath: \
org.hamcrest__hamcrest-all;version=1.3

-includeresource: LICENSE.txt
Loading

0 comments on commit 33af67d

Please sign in to comment.