diff --git a/jetty-distribution/pom.xml b/jetty-distribution/pom.xml
index 5a0b9dc0d9e..3f4eafb3147 100644
--- a/jetty-distribution/pom.xml
+++ b/jetty-distribution/pom.xml
@@ -445,6 +445,19 @@
${assembly-directory}/lib/jsp
+
+ copy-jaspi-deps
+ generate-resources
+
+ copy-dependencies
+
+
+ org.eclipse.jetty.orbit
+ javax.security.auth.message
+ jar
+ ${assembly-directory}/lib/jaspi
+
+
unpack-config-deps
generate-resources
@@ -714,5 +727,10 @@
${project.version}
war
+
+ org.eclipse.jetty
+ jetty-jaspi
+ ${project.version}
+
diff --git a/jetty-jaspi/pom.xml b/jetty-jaspi/pom.xml
index 71be42c1fb4..fe0282f3c4e 100644
--- a/jetty-jaspi/pom.xml
+++ b/jetty-jaspi/pom.xml
@@ -14,6 +14,23 @@
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ package
+
+ single
+
+
+
+ config
+
+
+
+
+
org.apache.felix
maven-bundle-plugin
diff --git a/jetty-jaspi/src/main/config/modules/jaspi.mod b/jetty-jaspi/src/main/config/modules/jaspi.mod
new file mode 100644
index 00000000000..5b10b49a71f
--- /dev/null
+++ b/jetty-jaspi/src/main/config/modules/jaspi.mod
@@ -0,0 +1,9 @@
+#
+# Jetty JASPI Module
+#
+[depend]
+security
+
+[lib]
+lib/jetty-jaspi-${jetty.version}.jar
+lib/jaspi/*.jar