diff --git a/export.jardesc b/export.jardesc
deleted file mode 100644
index 29944248354ea6137467f1de1248c33e1f8322b2..0000000000000000000000000000000000000000
--- a/export.jardesc
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="WINDOWS-1252" standalone="no"?>
-<jardesc>
-    <jar path="Spot Detector Block/SpotDetectorBlock.jar"/>
-    <options buildIfNeeded="true" compress="true" descriptionLocation="/Spot Detector Block/export.jardesc" exportErrors="false" exportWarnings="true" includeDirectoryEntries="true" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
-    <storedRefactorings deprecationInfo="true" structuralOnly="false"/>
-    <selectedProjects/>
-    <manifest generateManifest="true" manifestLocation="/Icy-Kernel/META-INF/MANIFEST.MF" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
-        <sealing sealJar="false">
-            <packagesToSeal/>
-            <packagesToUnSeal/>
-        </sealing>
-    </manifest>
-    <selectedElements exportClassFiles="true" exportJavaFiles="true" exportOutputFolder="false">
-        <javaElement handleIdentifier="=Spot Detector Block/src"/>
-        <file path="/Spot Detector Block/README.md"/>
-        <file path="/Spot Detector Block/LICENSE.md"/>
-    </selectedElements>
-</jardesc>
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000000000000000000000000000000000000..845e014e6262c7656b2369c929c590f403f5a89f
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.bioimageanalysis.icy</groupId>
+        <artifactId>parent-pom-plugin</artifactId>
+        <version>1.0.6</version>
+    </parent>
+
+    <artifactId>spot-detector-block</artifactId>
+    <version>1.0.0</version>
+
+    <packaging>jar</packaging>
+
+    <name>Spot Detector block</name>
+    <description>
+        Spot detector plugin extension for Protocols.
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.bioimageanalysis.icy</groupId>
+            <artifactId>spot-detector</artifactId>
+            <version>1.9.2</version>
+        </dependency>
+    </dependencies>
+
+    <repositories>
+        <repository>
+            <id>icy</id>
+            <url>https://icy-nexus.pasteur.fr/repository/Icy/</url>
+        </repository>
+    </repositories>
+</project>
\ No newline at end of file
diff --git a/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock.java b/src/main/java/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock.java
similarity index 100%
rename from src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock.java
rename to src/main/java/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock.java
diff --git a/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock$1.class b/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock$1.class
deleted file mode 100644
index 21a2c8cbbc3885ff46fd45e056396a28fa6c1b92..0000000000000000000000000000000000000000
Binary files a/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock$1.class and /dev/null differ
diff --git a/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock$detectionMethodEnum.class b/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock$detectionMethodEnum.class
deleted file mode 100644
index a63c2634e8a0dc8254b23802036e937f1fb6455c..0000000000000000000000000000000000000000
Binary files a/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock$detectionMethodEnum.class and /dev/null differ
diff --git a/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock.class b/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock.class
deleted file mode 100644
index 18acbd22587e5a190180a28bf30d220a46457cba..0000000000000000000000000000000000000000
Binary files a/src/plugins/fab/waveletspotdetectorblock/WaveletSpotDetectorBlock.class and /dev/null differ