diff --git a/Dockerfile b/Dockerfile
index 0fd4e534..4dd1c381 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,4 +6,4 @@ WORKDIR /usr/src/ecocode
RUN ./tool_build.sh
FROM sonarqube:9.9-community
-COPY --from=builder /usr/src/ecocode/lib/* /opt/sonarqube/extensions/plugins/
+COPY --from=builder /usr/src/ecocode/*/target/ecocode-*.jar /opt/sonarqube/extensions/plugins/
diff --git a/java-plugin/pom.xml b/java-plugin/pom.xml
index a8c4bc44..5a1f49fc 100644
--- a/java-plugin/pom.xml
+++ b/java-plugin/pom.xml
@@ -160,25 +160,6 @@
org.apache.maven.plugins
maven-dependency-plugin
-
- copy-bundle
- package
-
- copy
-
-
-
-
- ${project.groupId}
- ${project.artifactId}
- ${project.version}
- jar
- true
-
-
- ../lib
-
-
copy
diff --git a/javascript-plugin/pom.xml b/javascript-plugin/pom.xml
index 06fab061..b45f870d 100644
--- a/javascript-plugin/pom.xml
+++ b/javascript-plugin/pom.xml
@@ -98,31 +98,6 @@
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- copy-bundle
- package
-
- copy
-
-
-
-
- ${project.groupId}
- ${project.artifactId}
- ${project.version}
- jar
- true
-
-
- ../lib
-
-
-
-
org.jacoco
jacoco-maven-plugin
diff --git a/php-plugin/pom.xml b/php-plugin/pom.xml
index 17025a83..7a58242f 100644
--- a/php-plugin/pom.xml
+++ b/php-plugin/pom.xml
@@ -108,31 +108,6 @@
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- copy-bundle
- package
-
- copy
-
-
-
-
- ${project.groupId}
- ${project.artifactId}
- ${project.version}
- jar
- true
-
-
- ../lib
-
-
-
-
org.jacoco
jacoco-maven-plugin
diff --git a/python-plugin/pom.xml b/python-plugin/pom.xml
index b499d62e..16c66677 100644
--- a/python-plugin/pom.xml
+++ b/python-plugin/pom.xml
@@ -73,67 +73,6 @@
${java.version}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- copy-bundle
- package
-
- copy
-
-
-
-
- ${project.groupId}
- ${project.artifactId}
- ${project.version}
- jar
- true
-
-
- ../lib
-
-
-
-
-