From f1aa511648ebbe2776d23d8cba31716155a0ac53 Mon Sep 17 00:00:00 2001
From: Thomas <thomas.musset@pasteur.fr>
Date: Mon, 17 Jul 2023 17:25:51 +0200
Subject: [PATCH] updated pom, optimized code for java 11

---
 .gitignore                                    |  3 +-
 pom.xml                                       | 30 ++++---------------
 .../stef/library/BridJLibraryPlugin.java      | 23 ++++++++++++--
 3 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3d47f98..8d47cac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,5 @@ target/
 .settings/
 *.iml
 .project
-.classpath
\ No newline at end of file
+.classpath
+**/.DS_Store
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index fb8240b..a124024 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,20 +6,18 @@
 
     <!-- Inherited Icy Parent POM -->
     <parent>
-		<artifactId>pom-icy</artifactId>
+        <artifactId>pom-icy</artifactId>
         <groupId>org.bioimageanalysis.icy</groupId>
-        <version>2.0.0</version>
-	</parent>
+        <version>2.2.0</version>
+    </parent>
 
     <!-- Project Information -->
     <artifactId>bridj</artifactId>
-    <version>0.7.0</version>
-
-    <packaging>jar</packaging>
+    <version>1.0.0</version>
 
     <name>BridJ</name>
     <description>BridJ for Icy</description>
-    <url>http://icy.bioimageanalysis.org/plugin/bridj-library/</url>
+    <url>https://icy.bioimageanalysis.org/plugin/bridj-library/</url>
     <inceptionYear>2020</inceptionYear>
 
     <organization>
@@ -55,27 +53,11 @@
 
     <!-- Project properties -->
     <properties>
-		<artifact-to-include>bridj</artifact-to-include>
+        <artifact-to-extract>bridj</artifact-to-extract>
     </properties>
 
-    <profiles>
-        <profile>
-            <id>icy-plugin-extract-library</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-        </profile>
-    </profiles>
-
     <!-- List of project's dependencies -->
     <dependencies>
-        <!-- The core of Icy -->
-        <dependency>
-            <groupId>org.bioimageanalysis.icy</groupId>
-            <artifactId>icy-kernel</artifactId>
-			<version>${icy-kernel.version}</version>
-        </dependency>
-
         <dependency>
             <groupId>com.nativelibs4java</groupId>
             <artifactId>bridj</artifactId>
diff --git a/src/main/java/plugins/stef/library/BridJLibraryPlugin.java b/src/main/java/plugins/stef/library/BridJLibraryPlugin.java
index 7339a20..a9a79dd 100644
--- a/src/main/java/plugins/stef/library/BridJLibraryPlugin.java
+++ b/src/main/java/plugins/stef/library/BridJLibraryPlugin.java
@@ -1,3 +1,21 @@
+/*
+ * Copyright (c) 2010-2023. Institut Pasteur.
+ *
+ * This file is part of Icy.
+ * Icy is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Icy is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Icy. If not, see <https://www.gnu.org/licenses/>.
+ */
+
 package plugins.stef.library;
 
 import icy.plugin.abstract_.Plugin;
@@ -5,10 +23,9 @@ import icy.plugin.interface_.PluginLibrary;
 
 /**
  * Simple Icy plugin library for the BridJ library
- * 
+ *
  * @author Stephane
  */
-public class BridJLibraryPlugin extends Plugin implements PluginLibrary
-{
+public class BridJLibraryPlugin extends Plugin implements PluginLibrary {
     // just to encapsulate the BridJ library
 }
-- 
GitLab