diff --git a/descriptors/Activate-template.json b/descriptors/Activate-template.json
new file mode 100644
index 000000000..3b08dd7a3
--- /dev/null
+++ b/descriptors/Activate-template.json
@@ -0,0 +1,3 @@
+{
+ "id": "${artifactId}-${version}"
+}
diff --git a/okapi-registration/managed-deployment/register.sh b/okapi-registration/managed-deployment/register.sh
index 2cf39ff99..111799426 100755
--- a/okapi-registration/managed-deployment/register.sh
+++ b/okapi-registration/managed-deployment/register.sh
@@ -17,9 +17,7 @@ curl -w '\n' -D - -s \
-d @./target/ModuleDescriptor.json \
"${okapi_proxy_address}/_/proxy/modules"
-activate_json=$(cat ./registration/activate.json)
-
curl -w '\n' -X POST -D - \
-H "Content-type: application/json" \
- -d "${activate_json}" \
+ -d @./target/Activate.json \
"${okapi_proxy_address}/_/proxy/tenants/${tenant_id}/modules"
diff --git a/pom.xml b/pom.xml
index c536d8cae..bfc865ae3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,7 +193,7 @@
${basedir}/descriptors
- *Descriptor*-template.json
+ *-template.json
true
@@ -227,6 +227,10 @@
${project.build.directory}/DeploymentDescriptor-environment-template.json
${project.build.directory}/DeploymentDescriptor-environment.json
+
+ ${project.build.directory}/Activate-template.json
+ ${project.build.directory}/Activate.json
+
diff --git a/registration/activate.json b/registration/activate.json
deleted file mode 100644
index a0cc74838..000000000
--- a/registration/activate.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "id": "mod-circulation-storage-4.0.0-SNAPSHOT"
-}