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 b769123557e..3775e59c416 100644
--- a/assembly/api/pom.xml
+++ b/assembly/api/pom.xml
@@ -139,10 +139,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 636db141f3b..cf35d6966c5 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/job-engine/app/web/pom.xml b/job-engine/app/web/pom.xml
index d613e215c1b..6a7069ecab5 100644
--- a/job-engine/app/web/pom.xml
+++ b/job-engine/app/web/pom.xml
@@ -194,6 +194,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 2124e3e800e..0a163c272f4 100644
--- a/rest-api/web/pom.xml
+++ b/rest-api/web/pom.xml
@@ -141,6 +141,10 @@
org.eclipse.kapua
kapua-user-internal
+
+ org.eclipse.kapua
+ kapua-foreignkeys
+
org.glassfish.hk2