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 999a4257a3 Add empty GIMI module
999a4257a3 is described below

commit 999a4257a3fe9b152690d6fb8b72d6eac3f93117
Author: jsorel <johann.so...@geomatys.com>
AuthorDate: Tue Jul 23 14:56:53 2024 +0200

    Add empty GIMI module
---
 .../apache/sis/buildtools/gradle/Dependency.java   |  1 +
 incubator/build.gradle.kts                         | 12 ++++++++++
 .../main/module-info.java                          | 28 ++++++++++++++++++++++
 .../org/apache/sis/storage/gimi/package-info.java  | 23 ++++++++++++++++++
 .../org/apache/sis/storage/gimi/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 5abc18adbc..4842e18481 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
@@ -70,6 +70,7 @@ public final class Dependency {
         Map.entry("gui",                      "application:sis-javafx"),       
     // Optional.
         Map.entry("cql",                      "core:sis-cql"),                 
     // Incubator.
         Map.entry("storage.shapefile",        "core:sis-shapefile"),
+        Map.entry("storage.gimi",             "core:sis-gimi"),
         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 7065b931b6..308aa795d1 100644
--- a/incubator/build.gradle.kts
+++ b/incubator/build.gradle.kts
@@ -175,6 +175,18 @@ publishing {
                 description = "Read and write files in the Shapefile format."
             }
         }
+        create<MavenPublication>("storage.gimi") {
+            var module = "org.apache.sis.storage.gimi"
+            groupId    = "org.apache.sis.storage"
+            artifactId = "sis-gimi"
+            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 GIMI Coverage storage"
+                description = "Read files in ISOBMFF GIMI 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.gimi/main/module-info.java 
b/incubator/src/org.apache.sis.storage.gimi/main/module-info.java
new file mode 100644
index 0000000000..02fc24ef67
--- /dev/null
+++ b/incubator/src/org.apache.sis.storage.gimi/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.
+ */
+
+/**
+ * GIMI store.
+ *
+ * @author  Johann Sorel (Geomatys)
+ */
+module org.apache.sis.storage.gimi {
+    // 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.gimi/main/org/apache/sis/storage/gimi/package-info.java
 
b/incubator/src/org.apache.sis.storage.gimi/main/org/apache/sis/storage/gimi/package-info.java
new file mode 100644
index 0000000000..df2ac7374f
--- /dev/null
+++ 
b/incubator/src/org.apache.sis.storage.gimi/main/org/apache/sis/storage/gimi/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.
+ */
+
+/**
+ * GIMI store.
+ *
+ * @author  Johann Sorel (Geomatys)
+ */
+package org.apache.sis.storage.gimi;
diff --git 
a/incubator/src/org.apache.sis.storage.gimi/test/org/apache/sis/storage/gimi/StoreTest.java
 
b/incubator/src/org.apache.sis.storage.gimi/test/org/apache/sis/storage/gimi/StoreTest.java
new file mode 100644
index 0000000000..690095bc64
--- /dev/null
+++ 
b/incubator/src/org.apache.sis.storage.gimi/test/org/apache/sis/storage/gimi/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.gimi;
+
+public final class StoreTest {
+}
diff --git a/netbeans-project/nbproject/project.properties 
b/netbeans-project/nbproject/project.properties
index 46801fed4b..1dcac2e5eb 100644
--- a/netbeans-project/nbproject/project.properties
+++ b/netbeans-project/nbproject/project.properties
@@ -88,6 +88,7 @@ read.options = --add-reads 
org.apache.sis.cloud.aws=org.junit.jupiter.api,junit
                --add-reads 
org.apache.sis.referencing=org.junit.jupiter.api,junit \
                --add-reads 
org.apache.sis.referencing.gazetteer=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.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 \

Reply via email to