├── test-bom ├── src │ └── test │ │ └── java │ │ ├── module-info.java │ │ └── jpms │ │ └── SimpleApiTest.java └── pom.xml ├── jenkins └── README.md ├── .gitignore ├── README.md ├── CONTRIBUTING.md ├── src └── main │ └── javadoc │ ├── licenses │ ├── EFSL.html │ └── EPL.html │ └── doc-files │ └── speclicense.html ├── jakartaee-core-api └── pom.xml ├── jakartaee-api └── pom.xml ├── jakartaee-bom └── pom.xml ├── jakartaee-web-api └── pom.xml ├── pom.xml └── LICENSE.txt /test-bom/src/test/java/module-info.java: -------------------------------------------------------------------------------- 1 | module bom.smoke.test { 2 | requires jakarta.cdi; 3 | requires org.junit.jupiter.api; 4 | 5 | exports jpms to org.junit.platform.commons; 6 | } -------------------------------------------------------------------------------- /jenkins/README.md: -------------------------------------------------------------------------------- 1 | # Jenkins Build Information 2 | 3 | Reference the [Platform Project](https://github.com/eclipse-ee4j/jakartaee-platform/tree/master/jenkins) for information on the Jenkins jobs for this jakartaee-api repository. 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Java # 2 | *.class 3 | 4 | # Package Files # 5 | *.jar 6 | *.war 7 | *.ear 8 | *.rar 9 | 10 | # IDEA # 11 | *.iml 12 | .idea 13 | 14 | # Emacs # 15 | *~ 16 | 17 | # Eclipse # 18 | .project 19 | .metadata 20 | .classpath 21 | .settings/ 22 | 23 | # Netbeans # 24 | nbproject/private/ 25 | 26 | # Maven files # 27 | target/ 28 | */target 29 | pom.xml.tag 30 | pom.xml.releaseBackup 31 | pom.xml.next 32 | release.properties 33 | dependency-reduced-pom.xml 34 | -------------------------------------------------------------------------------- /test-bom/src/test/java/jpms/SimpleApiTest.java: -------------------------------------------------------------------------------- 1 | package jpms; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import jakarta.inject.Inject; 5 | import jakarta.annotation.Nonnull; 6 | import jakarta.enterprise.context.ApplicationScoped; 7 | 8 | /** 9 | * A simple test class to validate that a module-info.java can import and use Jakarta EE APIs. 10 | * https://github.com/jakartaee/jakartaee-api/issues/185 11 | * https://github.com/jakartaee/platform-tck/issues/2005 12 | * 13 | * The module-info.java only require the jakarta.cdi module, but this class uses classes from jakarta.annotation, 14 | * jakarta.inject, and jakarta.cdi to validate that the jakarta.platform:jakarta.jakartaee-bom dependency 15 | * does not exclude these APIs. 16 | */ 17 | @ApplicationScoped 18 | public class SimpleApiTest { 19 | @Inject 20 | Object nothing; 21 | 22 | @Test 23 | public void doNothing() { 24 | System.out.println("Just validating that the test runs, no jpms compile errors"); 25 | doNothingPrivate("non-null arg"); 26 | } 27 | 28 | private void doNothingPrivate(@Nonnull String arg) { 29 | System.out.printf("doNothingPrivate(%s)%n", arg); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Jakarta EE APIs 2 | =============== 3 | 4 | This project generates the Jakarta EE API jar files and javadocs 5 | by combining the artifacts produced by the individual API projects. 6 | 7 | To update the version of an API that's included, update the corresponding 8 | property in the top level pom.xml file. 9 | 10 | To add or remove an API, all pom.xml files will need to be updated. 11 | 12 | The file `src/main/javadoc/doc-files/speclicense.html` should have the content of 13 | `EPL.html` for non-final releases, and should have the 14 | content of `EFSL.html` for final releases. 15 | Currently, this selection is controlled by the [Jenkins release build script](https://ci.eclipse.org/jakartaee-platform/job/1_jakartaee-api-release-and-stage/). 16 | 17 | Note that the glassfishbuild-maven-plugin is used to create "clean" 18 | pom.xml files to be published for each of the projects. 19 | 20 | Building 21 | -------- 22 | 23 | Prerequisites: 24 | 25 | * JDK17+ (Jakarta EE 11 and above) 26 | * JDK11+ (Jakarta EE 10) 27 | * JDK8+ (Jakarta EE 8, 9, and 9.1) 28 | * Maven 3.0.3+ 29 | 30 | Use the staging profile if necessary to pull in staged versions of artifacts. 31 | 32 | Run the full build: 33 | 34 | - mvn -Pstaging install javadoc:javadoc 35 | `or` 36 | - mvn -Pstaging install javadoc:jar 37 | 38 | Locate the API jar files: 39 | - jakartaee-api/target/jakartaee-api-{version}.jar 40 | - jakartaee-web-api/target/jakartaee-web-api-{version}.jar 41 | 42 | Locate the javadocs: 43 | - jakartaee-api/target/site/apidocs 44 | - jakartaee-web-api/target/site/apidocs 45 | `or` 46 | - jakartaee-api/target/jakartaee-api-{version}-javadoc.jar 47 | - jakartaee-web-api/target/jakartaee-web-api-{version}-javadoc.jar 48 | 49 | 50 | Locate the Bill Of Materials (BOM) file: 51 | - jakartaee-bom/target/pom.xml 52 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Eclipse Jakarta EE Platform 2 | 3 | Thanks for your interest in this project. 4 | 5 | ## Project description 6 | 7 | The Eclipse Jakarta EE Platform project produces the Jakarta EE 8 | platform specification, which is an umbrella specification that 9 | aggregates all other Jakarta EE specifications. 10 | 11 | * [https://projects.eclipse.org/projects/ee4j.jakartaee-platform](https://projects.eclipse.org/projects/ee4j.jakartaee-platform) 12 | 13 | ## Developer resources 14 | 15 | Information regarding source code management, builds, coding standards, and 16 | more. 17 | 18 | * [https://projects.eclipse.org/projects/ee4j.jakartaee-platform/developer](https://projects.eclipse.org/projects/ee4j.jakartaee-platform/developer) 19 | 20 | The project maintains the following source code repositories 21 | 22 | * [https://github.com/eclipse-ee4j/jakartaee-platform](https://github.com/eclipse-ee4j/jakartaee-platform) 23 | * [https://github.com/eclipse-ee4j/jakartaee-api](https://github.com/eclipse-ee4j/jakartaee-api) 24 | * [https://github.com/eclipse-ee4j/jakartaee-tutorial](https://github.com/eclipse-ee4j/jakartaee-tutorial) 25 | * [https://github.com/eclipse-ee4j/jakartaee-tutorial-examples](https://github.com/eclipse-ee4j/jakartaee-tutorial-examples) 26 | * [https://github.com/eclipse-ee4j/jakartaee-firstcup](https://github.com/eclipse-ee4j/jakartaee-firstcup) 27 | * [https://github.com/eclipse-ee4j/jakartaee-firstcup-examples](https://github.com/eclipse-ee4j/jakartaee-firstcup-examples) 28 | * [https://github.com/eclipse-ee4j/jakartaee-schemas](https://github.com/eclipse-ee4j/jakartaee-schemas) 29 | 30 | ## Eclipse Contributor Agreement 31 | 32 | Before your contribution can be accepted by the project team contributors must 33 | electronically sign the Eclipse Contributor Agreement (ECA). 34 | 35 | * [http://www.eclipse.org/legal/ECA.php](http://www.eclipse.org/legal/ECA.php) 36 | 37 | Commits that are provided by non-committers must have a Signed-off-by field in 38 | the footer indicating that the author is aware of the terms by which the 39 | contribution has been provided to the project. The non-committer must 40 | additionally have an Eclipse Foundation account and must have a signed Eclipse 41 | Contributor Agreement (ECA) on file. 42 | 43 | For more information, please see the Eclipse Committer Handbook: 44 | [https://www.eclipse.org/projects/handbook/#resources-commit](https://www.eclipse.org/projects/handbook/#resources-commit) 45 | 46 | ## Contact 47 | 48 | Contact the project developers via the project's "dev" list. 49 | 50 | * [https://accounts.eclipse.org/mailing-list/jakartaee-platform-dev](https://accounts.eclipse.org/mailing-list/jakartaee-platform-dev) 51 | -------------------------------------------------------------------------------- /src/main/javadoc/licenses/EFSL.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |By using and/or copying this document, or the Eclipse Foundation 9 | document from which this statement is linked or incorporated by reference, you (the licensee) agree 10 | that you have read, understood, and will comply with the following 11 | terms and conditions:
12 | 13 |Permission to copy, and distribute the contents of this document, or 14 | the Eclipse Foundation document from which this statement is linked, in 15 | any medium for any purpose and without fee or royalty is hereby 16 | granted, provided that you include the following on ALL copies of the 17 | document, or portions thereof, that you use:
18 | 19 |Inclusion of the full text of this NOTICE must be provided. We 30 | request that authorship attribution be provided in any software, 31 | documents, or other items or products that you create pursuant to the 32 | implementation of the contents of this document, or any portion 33 | thereof.
34 | 35 |No right to create modifications or derivatives of Eclipse Foundation 36 | documents is granted pursuant to this license, except anyone may 37 | prepare and distribute derivative works and portions of this document 38 | in software that implements the specification, in supporting materials 39 | accompanying such software, and in documentation of such software, 40 | PROVIDED that all such works include the notice below. HOWEVER, the 41 | publication of derivative works of this document for use as a technical 42 | specification is expressly prohibited.
43 | 44 |The notice is:
45 | 46 |"Copyright © [$date-of-document] Eclipse Foundation AISBL. This software or 47 | document includes material copied from or derived from [title and URI 48 | of the Eclipse Foundation specification document]."
49 | 50 |THIS DOCUMENT IS PROVIDED "AS IS," AND TO THE EXTENT PERMITTED BY APPLICABLE LAW THE COPYRIGHT 53 | HOLDERS AND THE ECLIPSE FOUNDATION AISBL MAKE NO REPRESENTATIONS OR 54 | WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 55 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 56 | NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE 57 | SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS 58 | WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR 59 | OTHER RIGHTS.
60 | 61 |TO THE EXTENT PERMITTED BY APPLICABLE LAW THE COPYRIGHT HOLDERS AND THE ECLIPSE FOUNDATION AISBL WILL NOT BE LIABLE 62 | FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT 63 | OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE 64 | CONTENTS THEREOF.
65 | 66 |The name and trademarks of the copyright holders or the Eclipse 67 | Foundation AISBL may NOT be used in advertising or publicity pertaining to 68 | this document or its contents without specific, written prior 69 | permission. Title to copyright in this document will at all times 70 | remain with copyright holders.
71 | 72 | -------------------------------------------------------------------------------- /test-bom/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 |
2 | # Eclipse Public License - v 2.0
3 |
4 | THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
5 | PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
6 | OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
7 |
8 | 1. DEFINITIONS
9 |
10 | "Contribution" means:
11 |
12 | a) in the case of the initial Contributor, the initial content
13 | Distributed under this Agreement, and
14 |
15 | b) in the case of each subsequent Contributor:
16 | i) changes to the Program, and
17 | ii) additions to the Program;
18 | where such changes and/or additions to the Program originate from
19 | and are Distributed by that particular Contributor. A Contribution
20 | "originates" from a Contributor if it was added to the Program by
21 | such Contributor itself or anyone acting on such Contributor's behalf.
22 | Contributions do not include changes or additions to the Program that
23 | are not Modified Works.
24 |
25 | "Contributor" means any person or entity that Distributes the Program.
26 |
27 | "Licensed Patents" mean patent claims licensable by a Contributor which
28 | are necessarily infringed by the use or sale of its Contribution alone
29 | or when combined with the Program.
30 |
31 | "Program" means the Contributions Distributed in accordance with this
32 | Agreement.
33 |
34 | "Recipient" means anyone who receives the Program under this Agreement
35 | or any Secondary License (as applicable), including Contributors.
36 |
37 | "Derivative Works" shall mean any work, whether in Source Code or other
38 | form, that is based on (or derived from) the Program and for which the
39 | editorial revisions, annotations, elaborations, or other modifications
40 | represent, as a whole, an original work of authorship.
41 |
42 | "Modified Works" shall mean any work in Source Code or other form that
43 | results from an addition to, deletion from, or modification of the
44 | contents of the Program, including, for purposes of clarity any new file
45 | in Source Code form that contains any contents of the Program. Modified
46 | Works shall not include works that contain only declarations,
47 | interfaces, types, classes, structures, or files of the Program solely
48 | in each case in order to link to, bind by name, or subclass the Program
49 | or Modified Works thereof.
50 |
51 | "Distribute" means the acts of a) distributing or b) making available
52 | in any manner that enables the transfer of a copy.
53 |
54 | "Source Code" means the form of a Program preferred for making
55 | modifications, including but not limited to software source code,
56 | documentation source, and configuration files.
57 |
58 | "Secondary License" means either the GNU General Public License,
59 | Version 2.0, or any later versions of that license, including any
60 | exceptions or additional permissions as identified by the initial
61 | Contributor.
62 |
63 | 2. GRANT OF RIGHTS
64 |
65 | a) Subject to the terms of this Agreement, each Contributor hereby
66 | grants Recipient a non-exclusive, worldwide, royalty-free copyright
67 | license to reproduce, prepare Derivative Works of, publicly display,
68 | publicly perform, Distribute and sublicense the Contribution of such
69 | Contributor, if any, and such Derivative Works.
70 |
71 | b) Subject to the terms of this Agreement, each Contributor hereby
72 | grants Recipient a non-exclusive, worldwide, royalty-free patent
73 | license under Licensed Patents to make, use, sell, offer to sell,
74 | import and otherwise transfer the Contribution of such Contributor,
75 | if any, in Source Code or other form. This patent license shall
76 | apply to the combination of the Contribution and the Program if, at
77 | the time the Contribution is added by the Contributor, such addition
78 | of the Contribution causes such combination to be covered by the
79 | Licensed Patents. The patent license shall not apply to any other
80 | combinations which include the Contribution. No hardware per se is
81 | licensed hereunder.
82 |
83 | c) Recipient understands that although each Contributor grants the
84 | licenses to its Contributions set forth herein, no assurances are
85 | provided by any Contributor that the Program does not infringe the
86 | patent or other intellectual property rights of any other entity.
87 | Each Contributor disclaims any liability to Recipient for claims
88 | brought by any other entity based on infringement of intellectual
89 | property rights or otherwise. As a condition to exercising the
90 | rights and licenses granted hereunder, each Recipient hereby
91 | assumes sole responsibility to secure any other intellectual
92 | property rights needed, if any. For example, if a third party
93 | patent license is required to allow Recipient to Distribute the
94 | Program, it is Recipient's responsibility to acquire that license
95 | before distributing the Program.
96 |
97 | d) Each Contributor represents that to its knowledge it has
98 | sufficient copyright rights in its Contribution, if any, to grant
99 | the copyright license set forth in this Agreement.
100 |
101 | e) Notwithstanding the terms of any Secondary License, no
102 | Contributor makes additional grants to any Recipient (other than
103 | those set forth in this Agreement) as a result of such Recipient's
104 | receipt of the Program under the terms of a Secondary License
105 | (if permitted under the terms of Section 3).
106 |
107 | 3. REQUIREMENTS
108 |
109 | 3.1 If a Contributor Distributes the Program in any form, then:
110 |
111 | a) the Program must also be made available as Source Code, in
112 | accordance with section 3.2, and the Contributor must accompany
113 | the Program with a statement that the Source Code for the Program
114 | is available under this Agreement, and informs Recipients how to
115 | obtain it in a reasonable manner on or through a medium customarily
116 | used for software exchange; and
117 |
118 | b) the Contributor may Distribute the Program under a license
119 | different than this Agreement, provided that such license:
120 | i) effectively disclaims on behalf of all other Contributors all
121 | warranties and conditions, express and implied, including
122 | warranties or conditions of title and non-infringement, and
123 | implied warranties or conditions of merchantability and fitness
124 | for a particular purpose;
125 |
126 | ii) effectively excludes on behalf of all other Contributors all
127 | liability for damages, including direct, indirect, special,
128 | incidental and consequential damages, such as lost profits;
129 |
130 | iii) does not attempt to limit or alter the recipients' rights
131 | in the Source Code under section 3.2; and
132 |
133 | iv) requires any subsequent distribution of the Program by any
134 | party to be under a license that satisfies the requirements
135 | of this section 3.
136 |
137 | 3.2 When the Program is Distributed as Source Code:
138 |
139 | a) it must be made available under this Agreement, or if the
140 | Program (i) is combined with other material in a separate file or
141 | files made available under a Secondary License, and (ii) the initial
142 | Contributor attached to the Source Code the notice described in
143 | Exhibit A of this Agreement, then the Program may be made available
144 | under the terms of such Secondary Licenses, and
145 |
146 | b) a copy of this Agreement must be included with each copy of
147 | the Program.
148 |
149 | 3.3 Contributors may not remove or alter any copyright, patent,
150 | trademark, attribution notices, disclaimers of warranty, or limitations
151 | of liability ("notices") contained within the Program from any copy of
152 | the Program which they Distribute, provided that Contributors may add
153 | their own appropriate notices.
154 |
155 | 4. COMMERCIAL DISTRIBUTION
156 |
157 | Commercial distributors of software may accept certain responsibilities
158 | with respect to end users, business partners and the like. While this
159 | license is intended to facilitate the commercial use of the Program,
160 | the Contributor who includes the Program in a commercial product
161 | offering should do so in a manner which does not create potential
162 | liability for other Contributors. Therefore, if a Contributor includes
163 | the Program in a commercial product offering, such Contributor
164 | ("Commercial Contributor") hereby agrees to defend and indemnify every
165 | other Contributor ("Indemnified Contributor") against any losses,
166 | damages and costs (collectively "Losses") arising from claims, lawsuits
167 | and other legal actions brought by a third party against the Indemnified
168 | Contributor to the extent caused by the acts or omissions of such
169 | Commercial Contributor in connection with its distribution of the Program
170 | in a commercial product offering. The obligations in this section do not
171 | apply to any claims or Losses relating to any actual or alleged
172 | intellectual property infringement. In order to qualify, an Indemnified
173 | Contributor must: a) promptly notify the Commercial Contributor in
174 | writing of such claim, and b) allow the Commercial Contributor to control,
175 | and cooperate with the Commercial Contributor in, the defense and any
176 | related settlement negotiations. The Indemnified Contributor may
177 | participate in any such claim at its own expense.
178 |
179 | For example, a Contributor might include the Program in a commercial
180 | product offering, Product X. That Contributor is then a Commercial
181 | Contributor. If that Commercial Contributor then makes performance
182 | claims, or offers warranties related to Product X, those performance
183 | claims and warranties are such Commercial Contributor's responsibility
184 | alone. Under this section, the Commercial Contributor would have to
185 | defend claims against the other Contributors related to those performance
186 | claims and warranties, and if a court requires any other Contributor to
187 | pay any damages as a result, the Commercial Contributor must pay
188 | those damages.
189 |
190 | 5. NO WARRANTY
191 |
192 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
193 | PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS"
194 | BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
195 | IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
196 | TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
197 | PURPOSE. Each Recipient is solely responsible for determining the
198 | appropriateness of using and distributing the Program and assumes all
199 | risks associated with its exercise of rights under this Agreement,
200 | including but not limited to the risks and costs of program errors,
201 | compliance with applicable laws, damage to or loss of data, programs
202 | or equipment, and unavailability or interruption of operations.
203 |
204 | 6. DISCLAIMER OF LIABILITY
205 |
206 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
207 | PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
208 | SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
209 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
210 | PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
211 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
212 | ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
213 | EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
214 | POSSIBILITY OF SUCH DAMAGES.
215 |
216 | 7. GENERAL
217 |
218 | If any provision of this Agreement is invalid or unenforceable under
219 | applicable law, it shall not affect the validity or enforceability of
220 | the remainder of the terms of this Agreement, and without further
221 | action by the parties hereto, such provision shall be reformed to the
222 | minimum extent necessary to make such provision valid and enforceable.
223 |
224 | If Recipient institutes patent litigation against any entity
225 | (including a cross-claim or counterclaim in a lawsuit) alleging that the
226 | Program itself (excluding combinations of the Program with other software
227 | or hardware) infringes such Recipient's patent(s), then such Recipient's
228 | rights granted under Section 2(b) shall terminate as of the date such
229 | litigation is filed.
230 |
231 | All Recipient's rights under this Agreement shall terminate if it
232 | fails to comply with any of the material terms or conditions of this
233 | Agreement and does not cure such failure in a reasonable period of
234 | time after becoming aware of such noncompliance. If all Recipient's
235 | rights under this Agreement terminate, Recipient agrees to cease use
236 | and distribution of the Program as soon as reasonably practicable.
237 | However, Recipient's obligations under this Agreement and any licenses
238 | granted by Recipient relating to the Program shall continue and survive.
239 |
240 | Everyone is permitted to copy and distribute copies of this Agreement,
241 | but in order to avoid inconsistency the Agreement is copyrighted and
242 | may only be modified in the following manner. The Agreement Steward
243 | reserves the right to publish new versions (including revisions) of
244 | this Agreement from time to time. No one other than the Agreement
245 | Steward has the right to modify this Agreement. The Eclipse Foundation
246 | is the initial Agreement Steward. The Eclipse Foundation may assign the
247 | responsibility to serve as the Agreement Steward to a suitable separate
248 | entity. Each new version of the Agreement will be given a distinguishing
249 | version number. The Program (including Contributions) may always be
250 | Distributed subject to the version of the Agreement under which it was
251 | received. In addition, after a new version of the Agreement is published,
252 | Contributor may elect to Distribute the Program (including its
253 | Contributions) under the new version.
254 |
255 | Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
256 | receives no rights or licenses to the intellectual property of any
257 | Contributor under this Agreement, whether expressly, by implication,
258 | estoppel or otherwise. All rights in the Program not expressly granted
259 | under this Agreement are reserved. Nothing in this Agreement is intended
260 | to be enforceable by any entity that is not a Contributor or Recipient.
261 | No third-party beneficiary rights are created under this Agreement.
262 |
263 | Exhibit A - Form of Secondary Licenses Notice
264 |
265 | "This Source Code may also be made available under the following
266 | Secondary Licenses when the conditions for such availability set forth
267 | in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
268 | version(s), and exceptions or additional permissions here}."
269 |
270 | Simply including a copy of this Agreement, including this Exhibit A
271 | is not sufficient to license the Source Code under Secondary Licenses.
272 |
273 | If it is not possible or desirable to put the notice in a particular
274 | file, then You may include the notice in a location (such as a LICENSE
275 | file in a relevant directory) where a recipient would be likely to
276 | look for such a notice.
277 |
278 | You may add additional accurate notices of copyright ownership.
279 |
280 | ---
281 |
282 | ## The GNU General Public License (GPL) Version 2, June 1991
283 |
284 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.
285 | 51 Franklin Street, Fifth Floor
286 | Boston, MA 02110-1335
287 | USA
288 |
289 | Everyone is permitted to copy and distribute verbatim copies
290 | of this license document, but changing it is not allowed.
291 |
292 | Preamble
293 |
294 | The licenses for most software are designed to take away your freedom to
295 | share and change it. By contrast, the GNU General Public License is
296 | intended to guarantee your freedom to share and change free software--to
297 | make sure the software is free for all its users. This General Public
298 | License applies to most of the Free Software Foundation's software and
299 | to any other program whose authors commit to using it. (Some other Free
300 | Software Foundation software is covered by the GNU Library General
301 | Public License instead.) You can apply it to your programs, too.
302 |
303 | When we speak of free software, we are referring to freedom, not price.
304 | Our General Public Licenses are designed to make sure that you have the
305 | freedom to distribute copies of free software (and charge for this
306 | service if you wish), that you receive source code or can get it if you
307 | want it, that you can change the software or use pieces of it in new
308 | free programs; and that you know you can do these things.
309 |
310 | To protect your rights, we need to make restrictions that forbid anyone
311 | to deny you these rights or to ask you to surrender the rights. These
312 | restrictions translate to certain responsibilities for you if you
313 | distribute copies of the software, or if you modify it.
314 |
315 | For example, if you distribute copies of such a program, whether gratis
316 | or for a fee, you must give the recipients all the rights that you have.
317 | You must make sure that they, too, receive or can get the source code.
318 | And you must show them these terms so they know their rights.
319 |
320 | We protect your rights with two steps: (1) copyright the software, and
321 | (2) offer you this license which gives you legal permission to copy,
322 | distribute and/or modify the software.
323 |
324 | Also, for each author's protection and ours, we want to make certain
325 | that everyone understands that there is no warranty for this free
326 | software. If the software is modified by someone else and passed on, we
327 | want its recipients to know that what they have is not the original, so
328 | that any problems introduced by others will not reflect on the original
329 | authors' reputations.
330 |
331 | Finally, any free program is threatened constantly by software patents.
332 | We wish to avoid the danger that redistributors of a free program will
333 | individually obtain patent licenses, in effect making the program
334 | proprietary. To prevent this, we have made it clear that any patent must
335 | be licensed for everyone's free use or not licensed at all.
336 |
337 | The precise terms and conditions for copying, distribution and
338 | modification follow.
339 |
340 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
341 |
342 | 0. This License applies to any program or other work which contains a
343 | notice placed by the copyright holder saying it may be distributed under
344 | the terms of this General Public License. The "Program", below, refers
345 | to any such program or work, and a "work based on the Program" means
346 | either the Program or any derivative work under copyright law: that is
347 | to say, a work containing the Program or a portion of it, either
348 | verbatim or with modifications and/or translated into another language.
349 | (Hereinafter, translation is included without limitation in the term
350 | "modification".) Each licensee is addressed as "you".
351 |
352 | Activities other than copying, distribution and modification are not
353 | covered by this License; they are outside its scope. The act of running
354 | the Program is not restricted, and the output from the Program is
355 | covered only if its contents constitute a work based on the Program
356 | (independent of having been made by running the Program). Whether that
357 | is true depends on what the Program does.
358 |
359 | 1. You may copy and distribute verbatim copies of the Program's source
360 | code as you receive it, in any medium, provided that you conspicuously
361 | and appropriately publish on each copy an appropriate copyright notice
362 | and disclaimer of warranty; keep intact all the notices that refer to
363 | this License and to the absence of any warranty; and give any other
364 | recipients of the Program a copy of this License along with the Program.
365 |
366 | You may charge a fee for the physical act of transferring a copy, and
367 | you may at your option offer warranty protection in exchange for a fee.
368 |
369 | 2. You may modify your copy or copies of the Program or any portion of
370 | it, thus forming a work based on the Program, and copy and distribute
371 | such modifications or work under the terms of Section 1 above, provided
372 | that you also meet all of these conditions:
373 |
374 | a) You must cause the modified files to carry prominent notices
375 | stating that you changed the files and the date of any change.
376 |
377 | b) You must cause any work that you distribute or publish, that in
378 | whole or in part contains or is derived from the Program or any part
379 | thereof, to be licensed as a whole at no charge to all third parties
380 | under the terms of this License.
381 |
382 | c) If the modified program normally reads commands interactively
383 | when run, you must cause it, when started running for such
384 | interactive use in the most ordinary way, to print or display an
385 | announcement including an appropriate copyright notice and a notice
386 | that there is no warranty (or else, saying that you provide a
387 | warranty) and that users may redistribute the program under these
388 | conditions, and telling the user how to view a copy of this License.
389 | (Exception: if the Program itself is interactive but does not
390 | normally print such an announcement, your work based on the Program
391 | is not required to print an announcement.)
392 |
393 | These requirements apply to the modified work as a whole. If
394 | identifiable sections of that work are not derived from the Program, and
395 | can be reasonably considered independent and separate works in
396 | themselves, then this License, and its terms, do not apply to those
397 | sections when you distribute them as separate works. But when you
398 | distribute the same sections as part of a whole which is a work based on
399 | the Program, the distribution of the whole must be on the terms of this
400 | License, whose permissions for other licensees extend to the entire
401 | whole, and thus to each and every part regardless of who wrote it.
402 |
403 | Thus, it is not the intent of this section to claim rights or contest
404 | your rights to work written entirely by you; rather, the intent is to
405 | exercise the right to control the distribution of derivative or
406 | collective works based on the Program.
407 |
408 | In addition, mere aggregation of another work not based on the Program
409 | with the Program (or with a work based on the Program) on a volume of a
410 | storage or distribution medium does not bring the other work under the
411 | scope of this License.
412 |
413 | 3. You may copy and distribute the Program (or a work based on it,
414 | under Section 2) in object code or executable form under the terms of
415 | Sections 1 and 2 above provided that you also do one of the following:
416 |
417 | a) Accompany it with the complete corresponding machine-readable
418 | source code, which must be distributed under the terms of Sections 1
419 | and 2 above on a medium customarily used for software interchange; or,
420 |
421 | b) Accompany it with a written offer, valid for at least three
422 | years, to give any third party, for a charge no more than your cost
423 | of physically performing source distribution, a complete
424 | machine-readable copy of the corresponding source code, to be
425 | distributed under the terms of Sections 1 and 2 above on a medium
426 | customarily used for software interchange; or,
427 |
428 | c) Accompany it with the information you received as to the offer to
429 | distribute corresponding source code. (This alternative is allowed
430 | only for noncommercial distribution and only if you received the
431 | program in object code or executable form with such an offer, in
432 | accord with Subsection b above.)
433 |
434 | The source code for a work means the preferred form of the work for
435 | making modifications to it. For an executable work, complete source code
436 | means all the source code for all modules it contains, plus any
437 | associated interface definition files, plus the scripts used to control
438 | compilation and installation of the executable. However, as a special
439 | exception, the source code distributed need not include anything that is
440 | normally distributed (in either source or binary form) with the major
441 | components (compiler, kernel, and so on) of the operating system on
442 | which the executable runs, unless that component itself accompanies the
443 | executable.
444 |
445 | If distribution of executable or object code is made by offering access
446 | to copy from a designated place, then offering equivalent access to copy
447 | the source code from the same place counts as distribution of the source
448 | code, even though third parties are not compelled to copy the source
449 | along with the object code.
450 |
451 | 4. You may not copy, modify, sublicense, or distribute the Program
452 | except as expressly provided under this License. Any attempt otherwise
453 | to copy, modify, sublicense or distribute the Program is void, and will
454 | automatically terminate your rights under this License. However, parties
455 | who have received copies, or rights, from you under this License will
456 | not have their licenses terminated so long as such parties remain in
457 | full compliance.
458 |
459 | 5. You are not required to accept this License, since you have not
460 | signed it. However, nothing else grants you permission to modify or
461 | distribute the Program or its derivative works. These actions are
462 | prohibited by law if you do not accept this License. Therefore, by
463 | modifying or distributing the Program (or any work based on the
464 | Program), you indicate your acceptance of this License to do so, and all
465 | its terms and conditions for copying, distributing or modifying the
466 | Program or works based on it.
467 |
468 | 6. Each time you redistribute the Program (or any work based on the
469 | Program), the recipient automatically receives a license from the
470 | original licensor to copy, distribute or modify the Program subject to
471 | these terms and conditions. You may not impose any further restrictions
472 | on the recipients' exercise of the rights granted herein. You are not
473 | responsible for enforcing compliance by third parties to this License.
474 |
475 | 7. If, as a consequence of a court judgment or allegation of patent
476 | infringement or for any other reason (not limited to patent issues),
477 | conditions are imposed on you (whether by court order, agreement or
478 | otherwise) that contradict the conditions of this License, they do not
479 | excuse you from the conditions of this License. If you cannot distribute
480 | so as to satisfy simultaneously your obligations under this License and
481 | any other pertinent obligations, then as a consequence you may not
482 | distribute the Program at all. For example, if a patent license would
483 | not permit royalty-free redistribution of the Program by all those who
484 | receive copies directly or indirectly through you, then the only way you
485 | could satisfy both it and this License would be to refrain entirely from
486 | distribution of the Program.
487 |
488 | If any portion of this section is held invalid or unenforceable under
489 | any particular circumstance, the balance of the section is intended to
490 | apply and the section as a whole is intended to apply in other
491 | circumstances.
492 |
493 | It is not the purpose of this section to induce you to infringe any
494 | patents or other property right claims or to contest validity of any
495 | such claims; this section has the sole purpose of protecting the
496 | integrity of the free software distribution system, which is implemented
497 | by public license practices. Many people have made generous
498 | contributions to the wide range of software distributed through that
499 | system in reliance on consistent application of that system; it is up to
500 | the author/donor to decide if he or she is willing to distribute
501 | software through any other system and a licensee cannot impose that choice.
502 |
503 | This section is intended to make thoroughly clear what is believed to be
504 | a consequence of the rest of this License.
505 |
506 | 8. If the distribution and/or use of the Program is restricted in
507 | certain countries either by patents or by copyrighted interfaces, the
508 | original copyright holder who places the Program under this License may
509 | add an explicit geographical distribution limitation excluding those
510 | countries, so that distribution is permitted only in or among countries
511 | not thus excluded. In such case, this License incorporates the
512 | limitation as if written in the body of this License.
513 |
514 | 9. The Free Software Foundation may publish revised and/or new
515 | versions of the General Public License from time to time. Such new
516 | versions will be similar in spirit to the present version, but may
517 | differ in detail to address new problems or concerns.
518 |
519 | Each version is given a distinguishing version number. If the Program
520 | specifies a version number of this License which applies to it and "any
521 | later version", you have the option of following the terms and
522 | conditions either of that version or of any later version published by
523 | the Free Software Foundation. If the Program does not specify a version
524 | number of this License, you may choose any version ever published by the
525 | Free Software Foundation.
526 |
527 | 10. If you wish to incorporate parts of the Program into other free
528 | programs whose distribution conditions are different, write to the
529 | author to ask for permission. For software which is copyrighted by the
530 | Free Software Foundation, write to the Free Software Foundation; we
531 | sometimes make exceptions for this. Our decision will be guided by the
532 | two goals of preserving the free status of all derivatives of our free
533 | software and of promoting the sharing and reuse of software generally.
534 |
535 | NO WARRANTY
536 |
537 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
538 | WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
539 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
540 | OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
541 | EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
542 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
543 | ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
544 | YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
545 | NECESSARY SERVICING, REPAIR OR CORRECTION.
546 |
547 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
548 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
549 | AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
550 | DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
551 | DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
552 | (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
553 | INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
554 | THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
555 | OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
556 |
557 | END OF TERMS AND CONDITIONS
558 |
559 | How to Apply These Terms to Your New Programs
560 |
561 | If you develop a new program, and you want it to be of the greatest
562 | possible use to the public, the best way to achieve this is to make it
563 | free software which everyone can redistribute and change under these terms.
564 |
565 | To do so, attach the following notices to the program. It is safest to
566 | attach them to the start of each source file to most effectively convey
567 | the exclusion of warranty; and each file should have at least the
568 | "copyright" line and a pointer to where the full notice is found.
569 |
570 | One line to give the program's name and a brief idea of what it does.
571 | Copyright (C)
572 |
573 | This program is free software; you can redistribute it and/or modify
574 | it under the terms of the GNU General Public License as published by
575 | the Free Software Foundation; either version 2 of the License, or
576 | (at your option) any later version.
577 |
578 | This program is distributed in the hope that it will be useful, but
579 | WITHOUT ANY WARRANTY; without even the implied warranty of
580 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
581 | General Public License for more details.
582 |
583 | You should have received a copy of the GNU General Public License
584 | along with this program; if not, write to the Free Software
585 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
586 |
587 | Also add information on how to contact you by electronic and paper mail.
588 |
589 | If the program is interactive, make it output a short notice like this
590 | when it starts in an interactive mode:
591 |
592 | Gnomovision version 69, Copyright (C) year name of author
593 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type
594 | `show w'. This is free software, and you are welcome to redistribute
595 | it under certain conditions; type `show c' for details.
596 |
597 | The hypothetical commands `show w' and `show c' should show the
598 | appropriate parts of the General Public License. Of course, the commands
599 | you use may be called something other than `show w' and `show c'; they
600 | could even be mouse-clicks or menu items--whatever suits your program.
601 |
602 | You should also get your employer (if you work as a programmer) or your
603 | school, if any, to sign a "copyright disclaimer" for the program, if
604 | necessary. Here is a sample; alter the names:
605 |
606 | Yoyodyne, Inc., hereby disclaims all copyright interest in the
607 | program `Gnomovision' (which makes passes at compilers) written by
608 | James Hacker.
609 |
610 | signature of Ty Coon, 1 April 1989
611 | Ty Coon, President of Vice
612 |
613 | This General Public License does not permit incorporating your program
614 | into proprietary programs. If your program is a subroutine library, you
615 | may consider it more useful to permit linking proprietary applications
616 | with the library. If this is what you want to do, use the GNU Library
617 | General Public License instead of this License.
618 |
619 | ---
620 |
621 | ## CLASSPATH EXCEPTION
622 |
623 | Linking this library statically or dynamically with other modules is
624 | making a combined work based on this library. Thus, the terms and
625 | conditions of the GNU General Public License version 2 cover the whole
626 | combination.
627 |
628 | As a special exception, the copyright holders of this library give you
629 | permission to link this library with independent modules to produce an
630 | executable, regardless of the license terms of these independent
631 | modules, and to copy and distribute the resulting executable under
632 | terms of your choice, provided that you also meet, for each linked
633 | independent module, the terms and conditions of the license of that
634 | module. An independent module is a module which is not derived from or
635 | based on this library. If you modify this library, you may extend this
636 | exception to your version of the library, but you are not obligated to
637 | do so. If you do not wish to do so, delete this exception statement
638 | from your version.
639 |
640 |
--------------------------------------------------------------------------------
/src/main/javadoc/doc-files/speclicense.html:
--------------------------------------------------------------------------------
1 |
2 | # Eclipse Public License - v 2.0
3 |
4 | THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
5 | PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
6 | OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
7 |
8 | 1. DEFINITIONS
9 |
10 | "Contribution" means:
11 |
12 | a) in the case of the initial Contributor, the initial content
13 | Distributed under this Agreement, and
14 |
15 | b) in the case of each subsequent Contributor:
16 | i) changes to the Program, and
17 | ii) additions to the Program;
18 | where such changes and/or additions to the Program originate from
19 | and are Distributed by that particular Contributor. A Contribution
20 | "originates" from a Contributor if it was added to the Program by
21 | such Contributor itself or anyone acting on such Contributor's behalf.
22 | Contributions do not include changes or additions to the Program that
23 | are not Modified Works.
24 |
25 | "Contributor" means any person or entity that Distributes the Program.
26 |
27 | "Licensed Patents" mean patent claims licensable by a Contributor which
28 | are necessarily infringed by the use or sale of its Contribution alone
29 | or when combined with the Program.
30 |
31 | "Program" means the Contributions Distributed in accordance with this
32 | Agreement.
33 |
34 | "Recipient" means anyone who receives the Program under this Agreement
35 | or any Secondary License (as applicable), including Contributors.
36 |
37 | "Derivative Works" shall mean any work, whether in Source Code or other
38 | form, that is based on (or derived from) the Program and for which the
39 | editorial revisions, annotations, elaborations, or other modifications
40 | represent, as a whole, an original work of authorship.
41 |
42 | "Modified Works" shall mean any work in Source Code or other form that
43 | results from an addition to, deletion from, or modification of the
44 | contents of the Program, including, for purposes of clarity any new file
45 | in Source Code form that contains any contents of the Program. Modified
46 | Works shall not include works that contain only declarations,
47 | interfaces, types, classes, structures, or files of the Program solely
48 | in each case in order to link to, bind by name, or subclass the Program
49 | or Modified Works thereof.
50 |
51 | "Distribute" means the acts of a) distributing or b) making available
52 | in any manner that enables the transfer of a copy.
53 |
54 | "Source Code" means the form of a Program preferred for making
55 | modifications, including but not limited to software source code,
56 | documentation source, and configuration files.
57 |
58 | "Secondary License" means either the GNU General Public License,
59 | Version 2.0, or any later versions of that license, including any
60 | exceptions or additional permissions as identified by the initial
61 | Contributor.
62 |
63 | 2. GRANT OF RIGHTS
64 |
65 | a) Subject to the terms of this Agreement, each Contributor hereby
66 | grants Recipient a non-exclusive, worldwide, royalty-free copyright
67 | license to reproduce, prepare Derivative Works of, publicly display,
68 | publicly perform, Distribute and sublicense the Contribution of such
69 | Contributor, if any, and such Derivative Works.
70 |
71 | b) Subject to the terms of this Agreement, each Contributor hereby
72 | grants Recipient a non-exclusive, worldwide, royalty-free patent
73 | license under Licensed Patents to make, use, sell, offer to sell,
74 | import and otherwise transfer the Contribution of such Contributor,
75 | if any, in Source Code or other form. This patent license shall
76 | apply to the combination of the Contribution and the Program if, at
77 | the time the Contribution is added by the Contributor, such addition
78 | of the Contribution causes such combination to be covered by the
79 | Licensed Patents. The patent license shall not apply to any other
80 | combinations which include the Contribution. No hardware per se is
81 | licensed hereunder.
82 |
83 | c) Recipient understands that although each Contributor grants the
84 | licenses to its Contributions set forth herein, no assurances are
85 | provided by any Contributor that the Program does not infringe the
86 | patent or other intellectual property rights of any other entity.
87 | Each Contributor disclaims any liability to Recipient for claims
88 | brought by any other entity based on infringement of intellectual
89 | property rights or otherwise. As a condition to exercising the
90 | rights and licenses granted hereunder, each Recipient hereby
91 | assumes sole responsibility to secure any other intellectual
92 | property rights needed, if any. For example, if a third party
93 | patent license is required to allow Recipient to Distribute the
94 | Program, it is Recipient's responsibility to acquire that license
95 | before distributing the Program.
96 |
97 | d) Each Contributor represents that to its knowledge it has
98 | sufficient copyright rights in its Contribution, if any, to grant
99 | the copyright license set forth in this Agreement.
100 |
101 | e) Notwithstanding the terms of any Secondary License, no
102 | Contributor makes additional grants to any Recipient (other than
103 | those set forth in this Agreement) as a result of such Recipient's
104 | receipt of the Program under the terms of a Secondary License
105 | (if permitted under the terms of Section 3).
106 |
107 | 3. REQUIREMENTS
108 |
109 | 3.1 If a Contributor Distributes the Program in any form, then:
110 |
111 | a) the Program must also be made available as Source Code, in
112 | accordance with section 3.2, and the Contributor must accompany
113 | the Program with a statement that the Source Code for the Program
114 | is available under this Agreement, and informs Recipients how to
115 | obtain it in a reasonable manner on or through a medium customarily
116 | used for software exchange; and
117 |
118 | b) the Contributor may Distribute the Program under a license
119 | different than this Agreement, provided that such license:
120 | i) effectively disclaims on behalf of all other Contributors all
121 | warranties and conditions, express and implied, including
122 | warranties or conditions of title and non-infringement, and
123 | implied warranties or conditions of merchantability and fitness
124 | for a particular purpose;
125 |
126 | ii) effectively excludes on behalf of all other Contributors all
127 | liability for damages, including direct, indirect, special,
128 | incidental and consequential damages, such as lost profits;
129 |
130 | iii) does not attempt to limit or alter the recipients' rights
131 | in the Source Code under section 3.2; and
132 |
133 | iv) requires any subsequent distribution of the Program by any
134 | party to be under a license that satisfies the requirements
135 | of this section 3.
136 |
137 | 3.2 When the Program is Distributed as Source Code:
138 |
139 | a) it must be made available under this Agreement, or if the
140 | Program (i) is combined with other material in a separate file or
141 | files made available under a Secondary License, and (ii) the initial
142 | Contributor attached to the Source Code the notice described in
143 | Exhibit A of this Agreement, then the Program may be made available
144 | under the terms of such Secondary Licenses, and
145 |
146 | b) a copy of this Agreement must be included with each copy of
147 | the Program.
148 |
149 | 3.3 Contributors may not remove or alter any copyright, patent,
150 | trademark, attribution notices, disclaimers of warranty, or limitations
151 | of liability ("notices") contained within the Program from any copy of
152 | the Program which they Distribute, provided that Contributors may add
153 | their own appropriate notices.
154 |
155 | 4. COMMERCIAL DISTRIBUTION
156 |
157 | Commercial distributors of software may accept certain responsibilities
158 | with respect to end users, business partners and the like. While this
159 | license is intended to facilitate the commercial use of the Program,
160 | the Contributor who includes the Program in a commercial product
161 | offering should do so in a manner which does not create potential
162 | liability for other Contributors. Therefore, if a Contributor includes
163 | the Program in a commercial product offering, such Contributor
164 | ("Commercial Contributor") hereby agrees to defend and indemnify every
165 | other Contributor ("Indemnified Contributor") against any losses,
166 | damages and costs (collectively "Losses") arising from claims, lawsuits
167 | and other legal actions brought by a third party against the Indemnified
168 | Contributor to the extent caused by the acts or omissions of such
169 | Commercial Contributor in connection with its distribution of the Program
170 | in a commercial product offering. The obligations in this section do not
171 | apply to any claims or Losses relating to any actual or alleged
172 | intellectual property infringement. In order to qualify, an Indemnified
173 | Contributor must: a) promptly notify the Commercial Contributor in
174 | writing of such claim, and b) allow the Commercial Contributor to control,
175 | and cooperate with the Commercial Contributor in, the defense and any
176 | related settlement negotiations. The Indemnified Contributor may
177 | participate in any such claim at its own expense.
178 |
179 | For example, a Contributor might include the Program in a commercial
180 | product offering, Product X. That Contributor is then a Commercial
181 | Contributor. If that Commercial Contributor then makes performance
182 | claims, or offers warranties related to Product X, those performance
183 | claims and warranties are such Commercial Contributor's responsibility
184 | alone. Under this section, the Commercial Contributor would have to
185 | defend claims against the other Contributors related to those performance
186 | claims and warranties, and if a court requires any other Contributor to
187 | pay any damages as a result, the Commercial Contributor must pay
188 | those damages.
189 |
190 | 5. NO WARRANTY
191 |
192 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
193 | PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS"
194 | BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
195 | IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
196 | TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
197 | PURPOSE. Each Recipient is solely responsible for determining the
198 | appropriateness of using and distributing the Program and assumes all
199 | risks associated with its exercise of rights under this Agreement,
200 | including but not limited to the risks and costs of program errors,
201 | compliance with applicable laws, damage to or loss of data, programs
202 | or equipment, and unavailability or interruption of operations.
203 |
204 | 6. DISCLAIMER OF LIABILITY
205 |
206 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
207 | PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
208 | SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
209 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
210 | PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
211 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
212 | ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
213 | EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
214 | POSSIBILITY OF SUCH DAMAGES.
215 |
216 | 7. GENERAL
217 |
218 | If any provision of this Agreement is invalid or unenforceable under
219 | applicable law, it shall not affect the validity or enforceability of
220 | the remainder of the terms of this Agreement, and without further
221 | action by the parties hereto, such provision shall be reformed to the
222 | minimum extent necessary to make such provision valid and enforceable.
223 |
224 | If Recipient institutes patent litigation against any entity
225 | (including a cross-claim or counterclaim in a lawsuit) alleging that the
226 | Program itself (excluding combinations of the Program with other software
227 | or hardware) infringes such Recipient's patent(s), then such Recipient's
228 | rights granted under Section 2(b) shall terminate as of the date such
229 | litigation is filed.
230 |
231 | All Recipient's rights under this Agreement shall terminate if it
232 | fails to comply with any of the material terms or conditions of this
233 | Agreement and does not cure such failure in a reasonable period of
234 | time after becoming aware of such noncompliance. If all Recipient's
235 | rights under this Agreement terminate, Recipient agrees to cease use
236 | and distribution of the Program as soon as reasonably practicable.
237 | However, Recipient's obligations under this Agreement and any licenses
238 | granted by Recipient relating to the Program shall continue and survive.
239 |
240 | Everyone is permitted to copy and distribute copies of this Agreement,
241 | but in order to avoid inconsistency the Agreement is copyrighted and
242 | may only be modified in the following manner. The Agreement Steward
243 | reserves the right to publish new versions (including revisions) of
244 | this Agreement from time to time. No one other than the Agreement
245 | Steward has the right to modify this Agreement. The Eclipse Foundation
246 | is the initial Agreement Steward. The Eclipse Foundation may assign the
247 | responsibility to serve as the Agreement Steward to a suitable separate
248 | entity. Each new version of the Agreement will be given a distinguishing
249 | version number. The Program (including Contributions) may always be
250 | Distributed subject to the version of the Agreement under which it was
251 | received. In addition, after a new version of the Agreement is published,
252 | Contributor may elect to Distribute the Program (including its
253 | Contributions) under the new version.
254 |
255 | Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
256 | receives no rights or licenses to the intellectual property of any
257 | Contributor under this Agreement, whether expressly, by implication,
258 | estoppel or otherwise. All rights in the Program not expressly granted
259 | under this Agreement are reserved. Nothing in this Agreement is intended
260 | to be enforceable by any entity that is not a Contributor or Recipient.
261 | No third-party beneficiary rights are created under this Agreement.
262 |
263 | Exhibit A - Form of Secondary Licenses Notice
264 |
265 | "This Source Code may also be made available under the following
266 | Secondary Licenses when the conditions for such availability set forth
267 | in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
268 | version(s), and exceptions or additional permissions here}."
269 |
270 | Simply including a copy of this Agreement, including this Exhibit A
271 | is not sufficient to license the Source Code under Secondary Licenses.
272 |
273 | If it is not possible or desirable to put the notice in a particular
274 | file, then You may include the notice in a location (such as a LICENSE
275 | file in a relevant directory) where a recipient would be likely to
276 | look for such a notice.
277 |
278 | You may add additional accurate notices of copyright ownership.
279 |
280 | ---
281 |
282 | ## The GNU General Public License (GPL) Version 2, June 1991
283 |
284 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.
285 | 51 Franklin Street, Fifth Floor
286 | Boston, MA 02110-1335
287 | USA
288 |
289 | Everyone is permitted to copy and distribute verbatim copies
290 | of this license document, but changing it is not allowed.
291 |
292 | Preamble
293 |
294 | The licenses for most software are designed to take away your freedom to
295 | share and change it. By contrast, the GNU General Public License is
296 | intended to guarantee your freedom to share and change free software--to
297 | make sure the software is free for all its users. This General Public
298 | License applies to most of the Free Software Foundation's software and
299 | to any other program whose authors commit to using it. (Some other Free
300 | Software Foundation software is covered by the GNU Library General
301 | Public License instead.) You can apply it to your programs, too.
302 |
303 | When we speak of free software, we are referring to freedom, not price.
304 | Our General Public Licenses are designed to make sure that you have the
305 | freedom to distribute copies of free software (and charge for this
306 | service if you wish), that you receive source code or can get it if you
307 | want it, that you can change the software or use pieces of it in new
308 | free programs; and that you know you can do these things.
309 |
310 | To protect your rights, we need to make restrictions that forbid anyone
311 | to deny you these rights or to ask you to surrender the rights. These
312 | restrictions translate to certain responsibilities for you if you
313 | distribute copies of the software, or if you modify it.
314 |
315 | For example, if you distribute copies of such a program, whether gratis
316 | or for a fee, you must give the recipients all the rights that you have.
317 | You must make sure that they, too, receive or can get the source code.
318 | And you must show them these terms so they know their rights.
319 |
320 | We protect your rights with two steps: (1) copyright the software, and
321 | (2) offer you this license which gives you legal permission to copy,
322 | distribute and/or modify the software.
323 |
324 | Also, for each author's protection and ours, we want to make certain
325 | that everyone understands that there is no warranty for this free
326 | software. If the software is modified by someone else and passed on, we
327 | want its recipients to know that what they have is not the original, so
328 | that any problems introduced by others will not reflect on the original
329 | authors' reputations.
330 |
331 | Finally, any free program is threatened constantly by software patents.
332 | We wish to avoid the danger that redistributors of a free program will
333 | individually obtain patent licenses, in effect making the program
334 | proprietary. To prevent this, we have made it clear that any patent must
335 | be licensed for everyone's free use or not licensed at all.
336 |
337 | The precise terms and conditions for copying, distribution and
338 | modification follow.
339 |
340 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
341 |
342 | 0. This License applies to any program or other work which contains a
343 | notice placed by the copyright holder saying it may be distributed under
344 | the terms of this General Public License. The "Program", below, refers
345 | to any such program or work, and a "work based on the Program" means
346 | either the Program or any derivative work under copyright law: that is
347 | to say, a work containing the Program or a portion of it, either
348 | verbatim or with modifications and/or translated into another language.
349 | (Hereinafter, translation is included without limitation in the term
350 | "modification".) Each licensee is addressed as "you".
351 |
352 | Activities other than copying, distribution and modification are not
353 | covered by this License; they are outside its scope. The act of running
354 | the Program is not restricted, and the output from the Program is
355 | covered only if its contents constitute a work based on the Program
356 | (independent of having been made by running the Program). Whether that
357 | is true depends on what the Program does.
358 |
359 | 1. You may copy and distribute verbatim copies of the Program's source
360 | code as you receive it, in any medium, provided that you conspicuously
361 | and appropriately publish on each copy an appropriate copyright notice
362 | and disclaimer of warranty; keep intact all the notices that refer to
363 | this License and to the absence of any warranty; and give any other
364 | recipients of the Program a copy of this License along with the Program.
365 |
366 | You may charge a fee for the physical act of transferring a copy, and
367 | you may at your option offer warranty protection in exchange for a fee.
368 |
369 | 2. You may modify your copy or copies of the Program or any portion of
370 | it, thus forming a work based on the Program, and copy and distribute
371 | such modifications or work under the terms of Section 1 above, provided
372 | that you also meet all of these conditions:
373 |
374 | a) You must cause the modified files to carry prominent notices
375 | stating that you changed the files and the date of any change.
376 |
377 | b) You must cause any work that you distribute or publish, that in
378 | whole or in part contains or is derived from the Program or any part
379 | thereof, to be licensed as a whole at no charge to all third parties
380 | under the terms of this License.
381 |
382 | c) If the modified program normally reads commands interactively
383 | when run, you must cause it, when started running for such
384 | interactive use in the most ordinary way, to print or display an
385 | announcement including an appropriate copyright notice and a notice
386 | that there is no warranty (or else, saying that you provide a
387 | warranty) and that users may redistribute the program under these
388 | conditions, and telling the user how to view a copy of this License.
389 | (Exception: if the Program itself is interactive but does not
390 | normally print such an announcement, your work based on the Program
391 | is not required to print an announcement.)
392 |
393 | These requirements apply to the modified work as a whole. If
394 | identifiable sections of that work are not derived from the Program, and
395 | can be reasonably considered independent and separate works in
396 | themselves, then this License, and its terms, do not apply to those
397 | sections when you distribute them as separate works. But when you
398 | distribute the same sections as part of a whole which is a work based on
399 | the Program, the distribution of the whole must be on the terms of this
400 | License, whose permissions for other licensees extend to the entire
401 | whole, and thus to each and every part regardless of who wrote it.
402 |
403 | Thus, it is not the intent of this section to claim rights or contest
404 | your rights to work written entirely by you; rather, the intent is to
405 | exercise the right to control the distribution of derivative or
406 | collective works based on the Program.
407 |
408 | In addition, mere aggregation of another work not based on the Program
409 | with the Program (or with a work based on the Program) on a volume of a
410 | storage or distribution medium does not bring the other work under the
411 | scope of this License.
412 |
413 | 3. You may copy and distribute the Program (or a work based on it,
414 | under Section 2) in object code or executable form under the terms of
415 | Sections 1 and 2 above provided that you also do one of the following:
416 |
417 | a) Accompany it with the complete corresponding machine-readable
418 | source code, which must be distributed under the terms of Sections 1
419 | and 2 above on a medium customarily used for software interchange; or,
420 |
421 | b) Accompany it with a written offer, valid for at least three
422 | years, to give any third party, for a charge no more than your cost
423 | of physically performing source distribution, a complete
424 | machine-readable copy of the corresponding source code, to be
425 | distributed under the terms of Sections 1 and 2 above on a medium
426 | customarily used for software interchange; or,
427 |
428 | c) Accompany it with the information you received as to the offer to
429 | distribute corresponding source code. (This alternative is allowed
430 | only for noncommercial distribution and only if you received the
431 | program in object code or executable form with such an offer, in
432 | accord with Subsection b above.)
433 |
434 | The source code for a work means the preferred form of the work for
435 | making modifications to it. For an executable work, complete source code
436 | means all the source code for all modules it contains, plus any
437 | associated interface definition files, plus the scripts used to control
438 | compilation and installation of the executable. However, as a special
439 | exception, the source code distributed need not include anything that is
440 | normally distributed (in either source or binary form) with the major
441 | components (compiler, kernel, and so on) of the operating system on
442 | which the executable runs, unless that component itself accompanies the
443 | executable.
444 |
445 | If distribution of executable or object code is made by offering access
446 | to copy from a designated place, then offering equivalent access to copy
447 | the source code from the same place counts as distribution of the source
448 | code, even though third parties are not compelled to copy the source
449 | along with the object code.
450 |
451 | 4. You may not copy, modify, sublicense, or distribute the Program
452 | except as expressly provided under this License. Any attempt otherwise
453 | to copy, modify, sublicense or distribute the Program is void, and will
454 | automatically terminate your rights under this License. However, parties
455 | who have received copies, or rights, from you under this License will
456 | not have their licenses terminated so long as such parties remain in
457 | full compliance.
458 |
459 | 5. You are not required to accept this License, since you have not
460 | signed it. However, nothing else grants you permission to modify or
461 | distribute the Program or its derivative works. These actions are
462 | prohibited by law if you do not accept this License. Therefore, by
463 | modifying or distributing the Program (or any work based on the
464 | Program), you indicate your acceptance of this License to do so, and all
465 | its terms and conditions for copying, distributing or modifying the
466 | Program or works based on it.
467 |
468 | 6. Each time you redistribute the Program (or any work based on the
469 | Program), the recipient automatically receives a license from the
470 | original licensor to copy, distribute or modify the Program subject to
471 | these terms and conditions. You may not impose any further restrictions
472 | on the recipients' exercise of the rights granted herein. You are not
473 | responsible for enforcing compliance by third parties to this License.
474 |
475 | 7. If, as a consequence of a court judgment or allegation of patent
476 | infringement or for any other reason (not limited to patent issues),
477 | conditions are imposed on you (whether by court order, agreement or
478 | otherwise) that contradict the conditions of this License, they do not
479 | excuse you from the conditions of this License. If you cannot distribute
480 | so as to satisfy simultaneously your obligations under this License and
481 | any other pertinent obligations, then as a consequence you may not
482 | distribute the Program at all. For example, if a patent license would
483 | not permit royalty-free redistribution of the Program by all those who
484 | receive copies directly or indirectly through you, then the only way you
485 | could satisfy both it and this License would be to refrain entirely from
486 | distribution of the Program.
487 |
488 | If any portion of this section is held invalid or unenforceable under
489 | any particular circumstance, the balance of the section is intended to
490 | apply and the section as a whole is intended to apply in other
491 | circumstances.
492 |
493 | It is not the purpose of this section to induce you to infringe any
494 | patents or other property right claims or to contest validity of any
495 | such claims; this section has the sole purpose of protecting the
496 | integrity of the free software distribution system, which is implemented
497 | by public license practices. Many people have made generous
498 | contributions to the wide range of software distributed through that
499 | system in reliance on consistent application of that system; it is up to
500 | the author/donor to decide if he or she is willing to distribute
501 | software through any other system and a licensee cannot impose that choice.
502 |
503 | This section is intended to make thoroughly clear what is believed to be
504 | a consequence of the rest of this License.
505 |
506 | 8. If the distribution and/or use of the Program is restricted in
507 | certain countries either by patents or by copyrighted interfaces, the
508 | original copyright holder who places the Program under this License may
509 | add an explicit geographical distribution limitation excluding those
510 | countries, so that distribution is permitted only in or among countries
511 | not thus excluded. In such case, this License incorporates the
512 | limitation as if written in the body of this License.
513 |
514 | 9. The Free Software Foundation may publish revised and/or new
515 | versions of the General Public License from time to time. Such new
516 | versions will be similar in spirit to the present version, but may
517 | differ in detail to address new problems or concerns.
518 |
519 | Each version is given a distinguishing version number. If the Program
520 | specifies a version number of this License which applies to it and "any
521 | later version", you have the option of following the terms and
522 | conditions either of that version or of any later version published by
523 | the Free Software Foundation. If the Program does not specify a version
524 | number of this License, you may choose any version ever published by the
525 | Free Software Foundation.
526 |
527 | 10. If you wish to incorporate parts of the Program into other free
528 | programs whose distribution conditions are different, write to the
529 | author to ask for permission. For software which is copyrighted by the
530 | Free Software Foundation, write to the Free Software Foundation; we
531 | sometimes make exceptions for this. Our decision will be guided by the
532 | two goals of preserving the free status of all derivatives of our free
533 | software and of promoting the sharing and reuse of software generally.
534 |
535 | NO WARRANTY
536 |
537 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
538 | WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
539 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
540 | OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
541 | EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
542 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
543 | ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
544 | YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
545 | NECESSARY SERVICING, REPAIR OR CORRECTION.
546 |
547 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
548 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
549 | AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
550 | DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
551 | DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
552 | (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
553 | INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
554 | THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
555 | OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
556 |
557 | END OF TERMS AND CONDITIONS
558 |
559 | How to Apply These Terms to Your New Programs
560 |
561 | If you develop a new program, and you want it to be of the greatest
562 | possible use to the public, the best way to achieve this is to make it
563 | free software which everyone can redistribute and change under these terms.
564 |
565 | To do so, attach the following notices to the program. It is safest to
566 | attach them to the start of each source file to most effectively convey
567 | the exclusion of warranty; and each file should have at least the
568 | "copyright" line and a pointer to where the full notice is found.
569 |
570 | One line to give the program's name and a brief idea of what it does.
571 | Copyright (C)
572 |
573 | This program is free software; you can redistribute it and/or modify
574 | it under the terms of the GNU General Public License as published by
575 | the Free Software Foundation; either version 2 of the License, or
576 | (at your option) any later version.
577 |
578 | This program is distributed in the hope that it will be useful, but
579 | WITHOUT ANY WARRANTY; without even the implied warranty of
580 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
581 | General Public License for more details.
582 |
583 | You should have received a copy of the GNU General Public License
584 | along with this program; if not, write to the Free Software
585 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
586 |
587 | Also add information on how to contact you by electronic and paper mail.
588 |
589 | If the program is interactive, make it output a short notice like this
590 | when it starts in an interactive mode:
591 |
592 | Gnomovision version 69, Copyright (C) year name of author
593 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type
594 | `show w'. This is free software, and you are welcome to redistribute
595 | it under certain conditions; type `show c' for details.
596 |
597 | The hypothetical commands `show w' and `show c' should show the
598 | appropriate parts of the General Public License. Of course, the commands
599 | you use may be called something other than `show w' and `show c'; they
600 | could even be mouse-clicks or menu items--whatever suits your program.
601 |
602 | You should also get your employer (if you work as a programmer) or your
603 | school, if any, to sign a "copyright disclaimer" for the program, if
604 | necessary. Here is a sample; alter the names:
605 |
606 | Yoyodyne, Inc., hereby disclaims all copyright interest in the
607 | program `Gnomovision' (which makes passes at compilers) written by
608 | James Hacker.
609 |
610 | signature of Ty Coon, 1 April 1989
611 | Ty Coon, President of Vice
612 |
613 | This General Public License does not permit incorporating your program
614 | into proprietary programs. If your program is a subroutine library, you
615 | may consider it more useful to permit linking proprietary applications
616 | with the library. If this is what you want to do, use the GNU Library
617 | General Public License instead of this License.
618 |
619 | ---
620 |
621 | ## CLASSPATH EXCEPTION
622 |
623 | Linking this library statically or dynamically with other modules is
624 | making a combined work based on this library. Thus, the terms and
625 | conditions of the GNU General Public License version 2 cover the whole
626 | combination.
627 |
628 | As a special exception, the copyright holders of this library give you
629 | permission to link this library with independent modules to produce an
630 | executable, regardless of the license terms of these independent
631 | modules, and to copy and distribute the resulting executable under
632 | terms of your choice, provided that you also meet, for each linked
633 | independent module, the terms and conditions of the license of that
634 | module. An independent module is a module which is not derived from or
635 | based on this library. If you modify this library, you may extend this
636 | exception to your version of the library, but you are not obligated to
637 | do so. If you do not wish to do so, delete this exception statement
638 | from your version.
639 |
640 |
--------------------------------------------------------------------------------