This is an automated email from the ASF dual-hosted git repository. jsorel pushed a commit to branch geoapi-4.0 in repository https://gitbox.apache.org/repos/asf/sis.git
The following commit(s) were added to refs/heads/geoapi-4.0 by this push: new eab3e78e55 Add empty GSF module eab3e78e55 is described below commit eab3e78e558a43f35e4cbab4e4d0e3e6633a6696 Author: jsorel <johann.so...@geomatys.com> AuthorDate: Wed Jul 31 09:18:04 2024 +0200 Add empty GSF module --- .../apache/sis/buildtools/gradle/Dependency.java | 1 + incubator/build.gradle.kts | 12 ++++++++++ .../main/module-info.java | 28 ++++++++++++++++++++++ .../org/apache/sis/storage/gsf/package-info.java | 23 ++++++++++++++++++ .../test/org/apache/sis/storage/gsf/StoreTest.java | 20 ++++++++++++++++ netbeans-project/nbproject/project.properties | 1 + 6 files changed, 85 insertions(+) diff --git a/buildSrc/src/main/java/org/apache/sis/buildtools/gradle/Dependency.java b/buildSrc/src/main/java/org/apache/sis/buildtools/gradle/Dependency.java index d11e9bd05e..5e7d17b40c 100644 --- a/buildSrc/src/main/java/org/apache/sis/buildtools/gradle/Dependency.java +++ b/buildSrc/src/main/java/org/apache/sis/buildtools/gradle/Dependency.java @@ -73,6 +73,7 @@ public final class Dependency { Map.entry("cql", "core:sis-cql"), // Incubator. Map.entry("storage.shapefile", "core:sis-shapefile"), Map.entry("storage.gimi", "core:sis-gimi"), + Map.entry("storage.gsf", "core:sis-gsf"), Map.entry("storage.coveragejson", "core:sis-coveragejson"), Map.entry("portrayal.map", "core:sis-portrayal-map"), Map.entry("webapp", "application:sis-webapp") diff --git a/incubator/build.gradle.kts b/incubator/build.gradle.kts index 308aa795d1..6b89d9a446 100644 --- a/incubator/build.gradle.kts +++ b/incubator/build.gradle.kts @@ -187,6 +187,18 @@ publishing { description = "Read files in ISOBMFF GIMI format." } } + create<MavenPublication>("storage.gsf") { + var module = "org.apache.sis.storage.gsf" + groupId = "org.apache.sis.storage" + artifactId = "sis-gsf" + artifact(layout.buildDirectory.file("libs/${module}.jar")) + artifact(layout.buildDirectory.file("docs/${module}-sources.jar")) {classifier = "sources"} + artifact(layout.buildDirectory.file("docs/${module}-javadoc.jar")) {classifier = "javadoc"} + pom { + name = "Apache SIS LibGSF Panama binding" + description = "Read files in GSF format." + } + } create<MavenPublication>("storage.coveragejson") { var module = "org.apache.sis.storage.coveragejson" groupId = "org.apache.sis.storage" diff --git a/incubator/src/org.apache.sis.storage.gsf/main/module-info.java b/incubator/src/org.apache.sis.storage.gsf/main/module-info.java new file mode 100644 index 0000000000..b3d64887cc --- /dev/null +++ b/incubator/src/org.apache.sis.storage.gsf/main/module-info.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * LibGSF Panama binding. + * + * @author Johann Sorel (Geomatys) + */ +module org.apache.sis.storage.gsf { + // Dependencies used in public API. + requires transitive org.apache.sis.referencing; + requires transitive org.apache.sis.storage; + +} diff --git a/incubator/src/org.apache.sis.storage.gsf/main/org/apache/sis/storage/gsf/package-info.java b/incubator/src/org.apache.sis.storage.gsf/main/org/apache/sis/storage/gsf/package-info.java new file mode 100644 index 0000000000..fb526128aa --- /dev/null +++ b/incubator/src/org.apache.sis.storage.gsf/main/org/apache/sis/storage/gsf/package-info.java @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * LibGSF Panama binding. + * + * @author Johann Sorel (Geomatys) + */ +package org.apache.sis.storage.gsf; diff --git a/incubator/src/org.apache.sis.storage.gsf/test/org/apache/sis/storage/gsf/StoreTest.java b/incubator/src/org.apache.sis.storage.gsf/test/org/apache/sis/storage/gsf/StoreTest.java new file mode 100644 index 0000000000..130325b058 --- /dev/null +++ b/incubator/src/org.apache.sis.storage.gsf/test/org/apache/sis/storage/gsf/StoreTest.java @@ -0,0 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.sis.storage.gsf; + +public final class StoreTest { +} diff --git a/netbeans-project/nbproject/project.properties b/netbeans-project/nbproject/project.properties index cdadf6edb2..0404637e93 100644 --- a/netbeans-project/nbproject/project.properties +++ b/netbeans-project/nbproject/project.properties @@ -93,6 +93,7 @@ read.options = --add-reads org.apache.sis.cloud.aws=org.junit.jupiter.api,junit --add-reads org.apache.sis.referencing.database=org.apache.sis.referencing.epsg,org.junit.jupiter.api,junit \ --add-reads org.apache.sis.storage=org.junit.jupiter.api,junit \ --add-reads org.apache.sis.storage.gimi=org.junit.jupiter.api,junit \ + --add-reads org.apache.sis.storage.gsf=org.junit.jupiter.api,junit \ --add-reads org.apache.sis.storage.coveragejson=org.junit.jupiter.api,junit \ --add-reads org.apache.sis.storage.earthobservation=org.junit.jupiter.api,junit \ --add-reads org.apache.sis.storage.geotiff=org.junit.jupiter.api,junit \