diff --git a/LICENSE b/LICENSE index 9528fae..261eeb9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,45 +1,201 @@ -This software is licensed under the Apache 2 license, quoted below. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Copyright 2011-2016 Azavea [http://www.azavea.com] + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -Licensed under the Apache License, Version 2.0 (the "License"); you may not -use this file except in compliance with the License. You may obtain a copy of -the License at + 1. Definitions. - [http://www.apache.org/licenses/LICENSE-2.0] + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations under -the License. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. ------ + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. -This software uses code from proj.4 [https://github.com/osgeo/proj.4], -which is distributed under the MIT license: + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. -Copyright (c) 2000, Frank Warmerdam + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. -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: + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). -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. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. ------ + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -Proj4J EPSG module contains resource files released under the EPSG database distribution license. -For more details see LICENSE.EPSG file in the root of this repository. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/NOTICE.md b/NOTICE.md new file mode 100644 index 0000000..0bef161 --- /dev/null +++ b/NOTICE.md @@ -0,0 +1,119 @@ +# Notices for Proj4J + +This content is produced and maintained by the LocationTech Proj4J project. + + * Project home: https://projects.eclipse.org/projects/locationtech.proj4j + +## Trademarks + +LocationTech Proj4J, and Proj4J are trademarks of the Eclipse Foundation. + +## Copyright + +All content is the property of the respective authors or their employers. For +more information regarding authorship of content, please consult the listed +source code repository logs. + +## Declared Project Licenses + +This program and the accompanying materials are made available under the terms +of the Apache License, Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0. + +SPDX-License-Identifier: Apache-2.0 + +The `proj4j-epsg` module additionally distributes a portion of the EPSG Geodetic +Parameter Dataset, which is made available under the EPSG Terms of Use rather +than under the Apache License, Version 2.0. See `LICENSE.EPSG` in the root of +this repository, and the "Third-party Content" section below. + +## Source Code + +The project maintains the following source code repository: + + * https://github.com/locationtech/proj4j + +## Third-party Content + +### PROJ (formerly proj.4) + +Parts of the `proj4j-core` module are a Java port of, or were semi-automatically +converted from, the PROJ source. + + * License: MIT + * Project: https://proj.org + * Source: https://github.com/OSGeo/PROJ + +``` +Copyright (c) 2000, Frank Warmerdam + +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. +``` + +### GeographicLib (Java implementation of `net.sf.geographiclib`) + +The `org.locationtech.proj4j.geodesic` package is an implementation of the +`net.sf.geographiclib` classes. + + * License: MIT/X11 + * Project: https://geographiclib.sourceforge.io/ + * Source: https://github.com/geographiclib/geographiclib-java + +``` +Copyright (c) Charles Karney (2013-2022) + +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. +``` + +### EPSG Geodetic Parameter Dataset + +The resource files distributed by the `proj4j-epsg` module contain a portion of +the EPSG Geodetic Parameter Dataset, which is owned by IOGP and made available +under the EPSG Terms of Use. The full terms are reproduced in `LICENSE.EPSG` in +the root of this repository. + +See https://github.com/locationtech/proj4j/issues/90 for more details. + + * License: EPSG Terms of Use (see `LICENSE.EPSG`) + * Project: https://epsg.org + * Copyright: International Association of Oil & Gas Producers (IOGP) + +### Java Map Projection Library (JMapProjLib) + +Parts of the `proj4j-core` module derive from Jerry Huxtable's Java Map +Projection Library, contributed under the Apache License, Version 2.0. + + * License: Apache License, 2.0 + * Project: https://github.com/OSUCartography/JMapProjLib diff --git a/core/pom.xml b/core/pom.xml index 7e6d942..4a80b21 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -14,6 +14,7 @@ Java port of the Proj.4 library for coordinate reprojection + ${project.basedir}/.. UTF-8 org.locationtech.proj4j yyyyMMddHHmm @@ -50,6 +51,9 @@ ${bundle-symbolicname} org.locationtech.proj4j + + {maven-resources}, META-INF/LICENSE=${proj4j.legal.dir}/LICENSE, META-INF/NOTICE.md=${proj4j.legal.dir}/NOTICE.md true diff --git a/core/src/main/java/org/locationtech/proj4j/geodesic/Pair.java b/core/src/main/java/org/locationtech/proj4j/geodesic/Pair.java index c06c4ed..219204f 100644 --- a/core/src/main/java/org/locationtech/proj4j/geodesic/Pair.java +++ b/core/src/main/java/org/locationtech/proj4j/geodesic/Pair.java @@ -1,7 +1,7 @@ /** * Implementation of the net.sf.geographiclib.Pair class * - * Copyright (c) Charles Karney (2013-2020) ∑ and licensed + * Copyright (c) Charles Karney (2013-2020) and licensed * under the MIT/X11 License. For more information, see * https://geographiclib.sourceforge.io/ **********************************************************************/ diff --git a/core/src/main/java/org/locationtech/proj4j/proj/Eckert6Projection.java b/core/src/main/java/org/locationtech/proj4j/proj/Eckert6Projection.java index 8bb0c79..34a64c1 100644 --- a/core/src/main/java/org/locationtech/proj4j/proj/Eckert6Projection.java +++ b/core/src/main/java/org/locationtech/proj4j/proj/Eckert6Projection.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright 2009, 2017 Martin Davis + * Copyright 2009, 2011, 2017 Martin Davis * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,21 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* -Copyright 2011 Martin Davis - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/package org.locationtech.proj4j.proj; +package org.locationtech.proj4j.proj; import org.locationtech.proj4j.*; diff --git a/core/src/main/java/org/locationtech/proj4j/proj/ExtendedTransverseMercatorProjection.java b/core/src/main/java/org/locationtech/proj4j/proj/ExtendedTransverseMercatorProjection.java index 3f92ee7..8b66691 100644 --- a/core/src/main/java/org/locationtech/proj4j/proj/ExtendedTransverseMercatorProjection.java +++ b/core/src/main/java/org/locationtech/proj4j/proj/ExtendedTransverseMercatorProjection.java @@ -1,3 +1,20 @@ +/* + * Copyright (c) 2018 PROJ4J contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ package org.locationtech.proj4j.proj; import org.locationtech.proj4j.ProjCoordinate; diff --git a/core/src/main/java/org/locationtech/proj4j/proj/GeocentProjection.java b/core/src/main/java/org/locationtech/proj4j/proj/GeocentProjection.java index 07a99fd..3d3cefa 100644 --- a/core/src/main/java/org/locationtech/proj4j/proj/GeocentProjection.java +++ b/core/src/main/java/org/locationtech/proj4j/proj/GeocentProjection.java @@ -1,3 +1,20 @@ +/* + * Copyright (c) 2021 PROJ4J contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ package org.locationtech.proj4j.proj; import org.locationtech.proj4j.ProjCoordinate; diff --git a/core/src/main/java/org/locationtech/proj4j/proj/GeostationarySatelliteProjection.java b/core/src/main/java/org/locationtech/proj4j/proj/GeostationarySatelliteProjection.java index d92f6b0..aaf5271 100644 --- a/core/src/main/java/org/locationtech/proj4j/proj/GeostationarySatelliteProjection.java +++ b/core/src/main/java/org/locationtech/proj4j/proj/GeostationarySatelliteProjection.java @@ -1,6 +1,19 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Copyright (c) 2019 PROJ4J contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 */ package org.locationtech.proj4j.proj; diff --git a/core/src/test/java/org/locationtech/proj4j/datum/DatumShiftTest.java b/core/src/test/java/org/locationtech/proj4j/datum/DatumShiftTest.java index e73cabd..21c8aab 100644 --- a/core/src/test/java/org/locationtech/proj4j/datum/DatumShiftTest.java +++ b/core/src/test/java/org/locationtech/proj4j/datum/DatumShiftTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (c) 2026 PROJ4J contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ package org.locationtech.proj4j.datum; import org.junit.Test; diff --git a/core/src/test/java/org/locationtech/proj4j/datum/TransformerTypeTest.java b/core/src/test/java/org/locationtech/proj4j/datum/TransformerTypeTest.java index 25fad7b..6ef6c68 100644 --- a/core/src/test/java/org/locationtech/proj4j/datum/TransformerTypeTest.java +++ b/core/src/test/java/org/locationtech/proj4j/datum/TransformerTypeTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (c) 2026 PROJ4J contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ package org.locationtech.proj4j.datum; import org.junit.Test; diff --git a/epsg/pom.xml b/epsg/pom.xml index 86b765e..3e7d557 100644 --- a/epsg/pom.xml +++ b/epsg/pom.xml @@ -13,6 +13,10 @@ Proj4J EPSG Java port of the Proj.4 library for coordinate reprojection + + ${project.basedir}/.. + + Apache License, Version 2.0 @@ -26,6 +30,33 @@ + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-epsg-legal-files + process-resources + + copy-resources + + + ${project.build.outputDirectory}/META-INF + + + ${proj4j.legal.dir} + + LICENSE.EPSG + + + + + + + + maven-jar-plugin diff --git a/geoapi/pom.xml b/geoapi/pom.xml index 8f368b9..2fbc780 100644 --- a/geoapi/pom.xml +++ b/geoapi/pom.xml @@ -13,6 +13,10 @@ Proj4J GeoAPI GeoAPI wrappers for viewing PROJ4J as a GeoAPI implementation. + + ${project.basedir}/.. + + desruisseaux diff --git a/notice.md b/notice.md deleted file mode 100644 index 82a2bb3..0000000 --- a/notice.md +++ /dev/null @@ -1,108 +0,0 @@ -## Eclipse Foundation Software User Agreement - -April 9, 2014 - -### Usage Of Content - -THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE -PROJECTS (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR -THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE -THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE -AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT -AND THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY -NOT USE THE CONTENT. - -### Applicable Licenses - -Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and -conditions of the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this Content and is -also available at [http://www.eclipse.org/legal/epl-v10.html](http://www.eclipse.org/legal/epl-v10.html). For purposes -of the EPL, "Program" will mean the Content. - -Content includes, but is not limited to, source code, object code, documentation and other files maintained in the -Eclipse Foundation source code repository ("Repository") in software modules ("Modules") and made available as -downloadable archives ("Downloads"). - -* Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. - Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). -* Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins". -* A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged - as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list - of the names and version numbers of the Plug-ins and/or Fragments associated with that Feature. -* Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may - contain a list of the names and version numbers of Included Features. - -The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). -The terms and conditions governing Features and Included Features should be contained in files named "license.html" -("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module including, but -not limited to the following locations: - -* The top-level (root) directory -* Plug-in and Fragment directories -* Inside Plug-ins and Fragments packaged as JARs -* Sub-directories of the directory named "src" of certain Plug-ins -* Feature directories - -Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined -below), you must agree to a license ("Feature Update License") during the installation process. If the Feature contains -Included Features, the Feature Update License should either provide you with the terms and conditions governing the -Included Features or inform you where you can locate them. Feature Update Licenses may be found in the "license" -property of files named "feature.properties" found within a Feature. Such Abouts, Feature Licenses, and Feature Update -Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the -associated Content in that directory. - -THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR -TERMS AND CONDITIONS. SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): - -* Eclipse Distribution License Version 1.0 (available at - [http://www.eclipse.org/licenses/edl-v1.0.html](http://www.eclipse.org/licenses/edl-v10.html)) -* Common Public License Version 1.0 (available at - [http://www.eclipse.org/legal/cpl-v10.html](http://www.eclipse.org/legal/cpl-v10.html)) -* Apache Software License 1.1 (available at - [http://www.apache.org/licenses/LICENSE](http://www.apache.org/licenses/LICENSE)) -* Apache Software License 2.0 (available at - [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)) -* Mozilla Public License Version 1.1 (available at - [http://www.mozilla.org/MPL/MPL-1.1.html](http://www.mozilla.org/MPL/MPL-1.1.html)) - -IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature -License, or Feature Update License is provided, please contact the Eclipse Foundation to determine what terms and -conditions govern that particular Content. - -### Use of Provisioning Technology - -The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and -the Eclipse Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, -documentation, information and/or other materials (collectively "Installable Software"). This capability is provided -with the intent of allowing such users to install, extend and update Eclipse-based products. Information about packaging -Installable Software is available at -[http://eclipse.org/equinox/p2/repository_packaging.html](http://eclipse.org/equinox/p2/repository_packaging.html) -("Specification"). - -You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for -enabling the applicable license agreements relating to the Installable Software to be presented to, and accepted by, the -users of the Provisioning Technology in accordance with the Specification. By using Provisioning Technology in such a -manner and making it available in accordance with the Specification, you further acknowledge your agreement to, and the -acquisition of all necessary rights to permit the following: - -1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology on a - machine ("Target Machine") with the intent of installing, extending or updating the functionality of an - Eclipse-based product. -2. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion - thereof to be accessed and copied to the Target Machine. -3. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the - Installable Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed - from the Target Machine in accordance with the Specification. Such Installable Software Agreement must inform the - user of the terms and conditions that govern the Installable Software and must solicit acceptance by the end user in - the manner prescribed in such Installable Software Agreement. Upon such indication of agreement by the user, the - provisioning Technology will complete installation of the Installable Software. - -### Cryptography - -Content may contain encryption software. The country in which you are currently may have restrictions on the import, -possession, and use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, -please check the country's laws, regulations and policies concerning the import, possession, or use, and re-export of -encryption software, to see if this is permitted. - -Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, -or both. diff --git a/pom.xml b/pom.xml index 0fead49..bcbdf46 100644 --- a/pom.xml +++ b/pom.xml @@ -117,6 +117,36 @@ 3.4.1 + + + org.apache.maven.plugins + maven-resources-plugin + 3.5.0 + + + copy-legal-files + process-resources + + copy-resources + + + ${project.build.outputDirectory}/META-INF + + + ${proj4j.legal.dir} + + LICENSE + NOTICE.md + + + + + + + + maven-deploy-plugin @@ -194,6 +224,8 @@ + + ${project.basedir} true true true