diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml
index 7e811c0..a4a2773 100644
--- a/.forgejo/workflows/publish.yml
+++ b/.forgejo/workflows/publish.yml
@@ -25,7 +25,7 @@ jobs:
- name: copy jars
run: |-
mkdir -p release/jars
- cp -v bundle/target/*.jar release/jars
+ cp -v bundle/target/keycloak-regex-mapper-*/com.github.lucafilipozzi-keycloak-regex-mapper-*.jar release/jars
- name: upload to release
uses: actions/forgejo-release@v2.6.0
with:
diff --git a/bundle/pom.xml b/bundle/pom.xml
index a1b86dd..d8a3127 100644
--- a/bundle/pom.xml
+++ b/bundle/pom.xml
@@ -11,7 +11,7 @@
keycloak-regex-mapper-bundle
- jar
+ ear
bundle
@@ -27,7 +27,7 @@
org.apache.maven.plugins
- maven-jar-plugin
+ maven-ear-plugin
${project.parent.artifactId}
${project.parent.description}