diff --git a/.github/workflows/maven-central-deploy.yml b/.github/workflows/maven-central-deploy.yml
index 965db1473942f..38e55e5e06687 100644
--- a/.github/workflows/maven-central-deploy.yml
+++ b/.github/workflows/maven-central-deploy.yml
@@ -60,7 +60,7 @@ jobs:
- name: Java Environment
run: env | grep '^JAVA'
- name: Publish package
- run: ./mvnw --batch-mode deploy --file pom.xml -DskipTests=true -Pmaven.central.release
+ run: ./mvnw --batch-mode deploy --file pom.xml -P '!it-module,!agent-testweb-module' -DskipTests=true -Pmaven.central.release
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
diff --git a/agent-module/plugins-it/activemq-it/activemq-5-15-it/pom.xml b/agent-module/plugins-it/activemq-it/activemq-5-15-it/pom.xml
index e00a7127c3fa9..1cd72fc496aaf 100644
--- a/agent-module/plugins-it/activemq-it/activemq-5-15-it/pom.xml
+++ b/agent-module/plugins-it/activemq-it/activemq-5-15-it/pom.xml
@@ -26,7 +26,7 @@
pinpoint-activemq-5-15-plugin-it
- pom
+ jar
1.8
diff --git a/agent-module/plugins-it/activemq-it/activemq-5-17-it/pom.xml b/agent-module/plugins-it/activemq-it/activemq-5-17-it/pom.xml
index f26eb07073d7b..64e17c010c7e9 100644
--- a/agent-module/plugins-it/activemq-it/activemq-5-17-it/pom.xml
+++ b/agent-module/plugins-it/activemq-it/activemq-5-17-it/pom.xml
@@ -26,7 +26,7 @@
pinpoint-activemq-5-17-plugin-it
- pom
+ jar
11