diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 000000000..cea180242
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,9 @@
+
+.git
+**/.gitignore
+
+**/*~
+**/target/
+**/nb-configuration.xml
+guacamole/customs.json
+
diff --git a/guacamole-docker/Dockerfile b/Dockerfile
similarity index 100%
rename from guacamole-docker/Dockerfile
rename to Dockerfile
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-dist/pom.xml b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-dist/pom.xml
new file mode 100644
index 000000000..32c7dfe48
--- /dev/null
+++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-dist/pom.xml
@@ -0,0 +1,68 @@
+
+
+ 4.0.0
+ org.apache.guacamole
+ guacamole-auth-jdbc-dist
+ jar
+ guacamole-auth-jdbc-dist
+ http://guac-dev.org/
+
+
+ UTF-8
+
+
+
+ org.apache.guacamole
+ guacamole-auth-jdbc
+ 0.9.10-incubating
+ ../../
+
+
+
+
+
+
+
+ maven-assembly-plugin
+ 2.5.3
+
+ ${project.parent.artifactId}-${project.parent.version}
+ false
+
+ project-assembly.xml
+
+
+
+
+ make-dist-archive
+ package
+
+ single
+
+
+
+
+
+
+
+
+
+
+
+
+ org.apache.guacamole
+ guacamole-auth-jdbc-mysql
+ 0.9.10-incubating
+
+
+
+
+ org.apache.guacamole
+ guacamole-auth-jdbc-postgresql
+ 0.9.10-incubating
+
+
+
+
+
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-dist/project-assembly.xml b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-dist/project-assembly.xml
new file mode 100644
index 000000000..f69df7f59
--- /dev/null
+++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-dist/project-assembly.xml
@@ -0,0 +1,52 @@
+
+
+ dist
+ ${project.parent.artifactId}-${project.parent.version}
+
+
+
+ tar.gz
+
+
+
+
+
+
+
+ mysql
+
+ org.apache.guacamole:guacamole-auth-jdbc-mysql
+
+
+
+
+
+ postgresql
+
+ org.apache.guacamole:guacamole-auth-jdbc-postgresql
+
+
+
+
+
+
+
+
+
+
+ mysql/schema
+ ../guacamole-auth-jdbc-mysql/schema
+
+
+
+
+ postgresql/schema
+ ../guacamole-auth-jdbc-postgresql/schema
+
+
+
+
+
diff --git a/extensions/guacamole-auth-jdbc/pom.xml b/extensions/guacamole-auth-jdbc/pom.xml
index f2c1b09cb..37b5e3d21 100644
--- a/extensions/guacamole-auth-jdbc/pom.xml
+++ b/extensions/guacamole-auth-jdbc/pom.xml
@@ -17,6 +17,9 @@
+
+ modules/guacamole-auth-jdbc-dist
+
modules/guacamole-auth-jdbc-base
@@ -26,35 +29,6 @@
-
-
-
-
-
- maven-assembly-plugin
- 2.5.3
- false
-
-
- make-dist-archive
- package
-
- single
-
-
- ${project.artifactId}-${project.version}
- false
-
- src/main/assembly/dist.xml
-
-
-
-
-
-
-
-
-
diff --git a/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml b/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml
deleted file mode 100644
index 4e72cec1e..000000000
--- a/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
- dist
- ${project.artifactId}-${project.version}
-
-
-
- tar.gz
-
-
-
-
-
-
-
- mysql/schema
- modules/guacamole-auth-jdbc-mysql/schema
-
-
- modules/guacamole-auth-jdbc-mysql/target
- mysql
-
- *.jar
-
-
-
-
-
- postgresql/schema
- modules/guacamole-auth-jdbc-postgresql/schema
-
-
- modules/guacamole-auth-jdbc-postgresql/target
- postgresql
-
- *.jar
-
-
-
-
-
-
diff --git a/guacamole-docker/.dockerignore b/guacamole-docker/.dockerignore
deleted file mode 100644
index 5792b764a..000000000
--- a/guacamole-docker/.dockerignore
+++ /dev/null
@@ -1,3 +0,0 @@
-*~
-.git
-.gitignore
diff --git a/guacamole-docker/.gitignore b/guacamole-docker/.gitignore
deleted file mode 100644
index b25c15b81..000000000
--- a/guacamole-docker/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*~
diff --git a/guacamole-docker/bin/build-guacamole.sh b/guacamole-docker/bin/build-guacamole.sh
index 0f531e2e1..4df6289f0 100755
--- a/guacamole-docker/bin/build-guacamole.sh
+++ b/guacamole-docker/bin/build-guacamole.sh
@@ -66,7 +66,7 @@ cp guacamole/target/*.war "$DESTINATION/guacamole.war"
# Copy JDBC auth extensions and SQL scripts
#
-tar -xzf extensions/guacamole-auth-jdbc/target/*.tar.gz \
+tar -xzf extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-dist/target/*.tar.gz \
-C "$DESTINATION" \
--wildcards \
--no-anchored \