diff --git a/pom.xml b/pom.xml index 15f6046500fed74b221c61e5a22dd35602df3455..2289f3b2ddc543597fde8fe08314a92f8977c7f0 100644 --- a/pom.xml +++ b/pom.xml @@ -8,14 +8,12 @@ <parent> <groupId>org.bioimageanalysis.icy</groupId> <artifactId>pom-icy</artifactId> - <version>2.1.7</version> + <version>3.0.0-a.3</version> </parent> <!-- Project Information --> <artifactId>apache-commons-codec</artifactId> - <version>1.16.0</version> - - <packaging>jar</packaging> + <version>2.0.0-a.1</version> <name>Apache Commons Codec</name> <description> @@ -55,11 +53,6 @@ </developer> </developers> - <!-- Project properties --> - <properties> - <arttifact-to-extract>commons-codec</arttifact-to-extract> - </properties> - <!-- List of project's dependencies --> <dependencies> <dependency> @@ -68,13 +61,4 @@ <version>1.17.2</version> </dependency> </dependencies> - - <!-- Icy Maven repository (to find parent POM) --> - <repositories> - <repository> - <id>icy</id> - <name>Icy's Nexus</name> - <url>https://icy-nexus.pasteur.fr/repository/Icy/</url> - </repository> - </repositories> </project> diff --git a/src/main/java/plugins/stef/library/apache/ApacheCommonsCodecPlugin.java b/src/main/java/plugins/stef/library/apache/ApacheCommonsCodecPlugin.java index 8150c758a936b13e9c0e2fc5dd6c81ce7ed8b9b2..38ebaabba7801fcbe528fa5b803824cea9e96b45 100644 --- a/src/main/java/plugins/stef/library/apache/ApacheCommonsCodecPlugin.java +++ b/src/main/java/plugins/stef/library/apache/ApacheCommonsCodecPlugin.java @@ -1,14 +1,34 @@ +/* + * Copyright (c) 2010-2025. 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.apache; -import icy.plugin.abstract_.Plugin; -import icy.plugin.interface_.PluginLibrary; +import org.bioimageanalysis.icy.extension.plugin.abstract_.Plugin; +import org.bioimageanalysis.icy.extension.plugin.annotation_.IcyPluginIcon; +import org.bioimageanalysis.icy.extension.plugin.annotation_.IcyPluginName; /** * Icy wrapper for the Apache Commons Codec library. - * + * * @author Stephane Dallongeville */ -public class ApacheCommonsCodecPlugin extends Plugin implements PluginLibrary -{ +@IcyPluginName("Apache Commons Codec") +@IcyPluginIcon(path = "/plugins/stef/library/apache/codec.png") +public class ApacheCommonsCodecPlugin extends Plugin { // } diff --git a/src/main/resources/apache_big.png b/src/main/resources/plugins/stef/library/apache/codec.png similarity index 100% rename from src/main/resources/apache_big.png rename to src/main/resources/plugins/stef/library/apache/codec.png