From fe3f2b73c61452091d498b5f2adcd5265f445aba Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 26 Aug 2013 15:23:40 -0700 Subject: [PATCH] Modify noauth to support same .tar.gz distribution as other extensions. --- .../doc/example-guacamole.properties | 4 -- .../noauth-config.xml} | 0 extensions/guacamole-auth-noauth/pom.xml | 26 ++++++++++ .../src/main/assembly/dist.xml | 48 +++++++++++++++++++ 4 files changed, 74 insertions(+), 4 deletions(-) delete mode 100644 extensions/guacamole-auth-noauth/doc/example-guacamole.properties rename extensions/guacamole-auth-noauth/doc/{example-configuration-file.xml => example/noauth-config.xml} (100%) create mode 100644 extensions/guacamole-auth-noauth/src/main/assembly/dist.xml diff --git a/extensions/guacamole-auth-noauth/doc/example-guacamole.properties b/extensions/guacamole-auth-noauth/doc/example-guacamole.properties deleted file mode 100644 index fc77dbcbf..000000000 --- a/extensions/guacamole-auth-noauth/doc/example-guacamole.properties +++ /dev/null @@ -1,4 +0,0 @@ -# Add these two lines to your guacamole.properties file - -auth-provider: net.sourceforge.guacamole.net.auth.noauth.NoAuthenticationProvider -noauth-config: /etc/guacamole/noauth-config.xml diff --git a/extensions/guacamole-auth-noauth/doc/example-configuration-file.xml b/extensions/guacamole-auth-noauth/doc/example/noauth-config.xml similarity index 100% rename from extensions/guacamole-auth-noauth/doc/example-configuration-file.xml rename to extensions/guacamole-auth-noauth/doc/example/noauth-config.xml diff --git a/extensions/guacamole-auth-noauth/pom.xml b/extensions/guacamole-auth-noauth/pom.xml index 49327d4e1..9547e8b05 100644 --- a/extensions/guacamole-auth-noauth/pom.xml +++ b/extensions/guacamole-auth-noauth/pom.xml @@ -15,6 +15,7 @@ + org.apache.maven.plugins @@ -24,10 +25,34 @@ 1.6 + + + + maven-assembly-plugin + 2.2-beta-5 + + ${project.artifactId}-${project.version} + false + + src/main/assembly/dist.xml + + + + + make-dist-archive + package + + single + + + + + + org.slf4j @@ -54,6 +79,7 @@ guacamole-ext 0.8.1 + diff --git a/extensions/guacamole-auth-noauth/src/main/assembly/dist.xml b/extensions/guacamole-auth-noauth/src/main/assembly/dist.xml new file mode 100644 index 000000000..6d90e1c3a --- /dev/null +++ b/extensions/guacamole-auth-noauth/src/main/assembly/dist.xml @@ -0,0 +1,48 @@ + + + dist + ${project.artifactId}-${project.version} + + + + tar.gz + + + + + + + + / + doc + + + + + + + + + /lib + runtime + false + true + true + + + + + net.sourceforge.guacamole:guacamole-common + + + net.sourceforge.guacamole:guacamole-ext + + + + + +