opengeospatial / geoapi

GeoAPI provides a set of interfaces in programming languages (currently Java and Python) for geospatial applications. The GeoAPI interfaces closely follow OGC specifications, adaptated to match the expectations of programmers.
http://www.geoapi.org
Apache License 2.0
118 stars 37 forks source link

Drop OSGi support #71

Closed desruisseaux closed 2 years ago

desruisseaux commented 2 years ago

Drop OSGi support. The version currently declared in the pom.xml file seems to conflict with Java 9+ modules (Jigsaw), which is a blocking issue for #70. Upgrading the OSGi plugin would probably solve the problem, but it may not be worth for the following reasons:

More specifically this change is about reverting the following line in pom.xml files:

<packaging>bundle</packaging>

back to the standard packaging used in Java (that line could also be removed since the jar packaging is the default one):

<packaging>jar</packaging>

and to remove the org.apache.felix:maven-bundle-plugin plugin.

Historical note

That change was actually applied more than 3 years ago in the GeoAPI 3.1 and 4.0 branches. They are commits c2c3a92 and 4a47513. This issue is filled for keeping a trace of those changes, and for the same change to be applied on GeoAPI 3.0.2 (a proposed corrigendum for Jigsaw compatibility).

desruisseaux commented 2 years ago

Done on GeoAPI 3.0.2 branch as well. This issue should be reopened if dropping OSGi is a problem.