diff --git a/assembly/api/descriptors/kapua-api-jetty.xml b/assembly/api/descriptors/kapua-api-jetty.xml
index 34b9d0dcd95..f41841e4a7e 100644
--- a/assembly/api/descriptors/kapua-api-jetty.xml
+++ b/assembly/api/descriptors/kapua-api-jetty.xml
@@ -34,7 +34,6 @@
${pom.groupId}:kapua-rest-api-web:war
- ${pom.groupId}:kapua-foreignkeys
diff --git a/assembly/api/pom.xml b/assembly/api/pom.xml
index 532ef84acde..81fe4dde796 100644
--- a/assembly/api/pom.xml
+++ b/assembly/api/pom.xml
@@ -140,10 +140,6 @@
kapua-transport-mqtt
runtime
-
- org.eclipse.kapua
- kapua-foreignkeys
-
com.google.protobuf
diff --git a/assembly/console/descriptors/kapua-console-jetty.xml b/assembly/console/descriptors/kapua-console-jetty.xml
index cb52e73eb4b..0b9b42f9775 100644
--- a/assembly/console/descriptors/kapua-console-jetty.xml
+++ b/assembly/console/descriptors/kapua-console-jetty.xml
@@ -42,7 +42,6 @@
${pom.groupId}:kapua-console-web:war
- ${pom.groupId}:kapua-foreignkeys
diff --git a/assembly/console/pom.xml b/assembly/console/pom.xml
index 81a99c21ab6..1cc048769fe 100644
--- a/assembly/console/pom.xml
+++ b/assembly/console/pom.xml
@@ -133,10 +133,6 @@
kapua-transport-mqtt
runtime
-
- org.eclipse.kapua
- kapua-foreignkeys
-
com.google.protobuf
diff --git a/assembly/job-engine/descriptors/kapua-job-engine-jetty.xml b/assembly/job-engine/descriptors/kapua-job-engine-jetty.xml
index 5b374e555be..7e2100c30d0 100644
--- a/assembly/job-engine/descriptors/kapua-job-engine-jetty.xml
+++ b/assembly/job-engine/descriptors/kapua-job-engine-jetty.xml
@@ -34,7 +34,6 @@
${pom.groupId}:kapua-job-engine-app-web:war
- ${pom.groupId}:kapua-foreignkeys
diff --git a/assembly/job-engine/pom.xml b/assembly/job-engine/pom.xml
index dc8dbe6fdc8..300fda4e6bd 100644
--- a/assembly/job-engine/pom.xml
+++ b/assembly/job-engine/pom.xml
@@ -31,10 +31,6 @@
kapua-assembly-java-base
pom
-
- org.eclipse.kapua
- kapua-foreignkeys
-
org.eclipse.kapua
kapua-job-engine-app-web
diff --git a/job-engine/app/web/pom.xml b/job-engine/app/web/pom.xml
index 58d94b4c70f..5b15aa9deea 100644
--- a/job-engine/app/web/pom.xml
+++ b/job-engine/app/web/pom.xml
@@ -222,6 +222,10 @@
org.eclipse.kapua
kapua-endpoint-internal
+
+ org.eclipse.kapua
+ kapua-foreignkeys
+
org.apache.shiro
shiro-web
diff --git a/rest-api/web/pom.xml b/rest-api/web/pom.xml
index 609ffdb51c4..5328144b9c4 100644
--- a/rest-api/web/pom.xml
+++ b/rest-api/web/pom.xml
@@ -164,6 +164,10 @@
org.eclipse.kapua
kapua-user-internal
+
+ org.eclipse.kapua
+ kapua-foreignkeys
+