GUAC-587: Migrate noauth and LDAP to self-contained .jar files.

This commit is contained in:
Michael Jumper
2015-05-11 15:52:36 -07:00
parent acc8d996fc
commit 3411c1b45a
4 changed files with 73 additions and 57 deletions

View File

@@ -32,6 +32,26 @@
</configuration>
</plugin>
<!-- Copy dependencies prior to packaging -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeScope>runtime</includeScope>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- Assembly plugin - for easy distribution -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
@@ -64,6 +84,7 @@
<groupId>org.glyptodon.guacamole</groupId>
<artifactId>guacamole-common</artifactId>
<version>0.9.6</version>
<scope>provided</scope>
</dependency>
<!-- Guacamole Extension API -->
@@ -71,6 +92,7 @@
<groupId>org.glyptodon.guacamole</groupId>
<artifactId>guacamole-ext</artifactId>
<version>0.9.6</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@@ -11,7 +11,7 @@
<format>tar.gz</format>
</formats>
<!-- Include docs and schema -->
<!-- Include docs and extension .jar -->
<fileSets>
<!-- Include docs -->
@@ -19,29 +19,15 @@
<directory>doc</directory>
</fileSet>
<!-- Include extension .jar -->
<fileSet>
<directory>target</directory>
<outputDirectory></outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
<!-- Include self and all dependencies except guacamole-common
and guacamole-ext -->
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<scope>runtime</scope>
<unpack>false</unpack>
<useProjectArtifact>true</useProjectArtifact>
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<!-- Do not include guacamole-common -->
<exclude>org.glyptodon.guacamole:guacamole-common</exclude>
<!-- Do not include guacamole-ext -->
<exclude>org.glyptodon.guacamole:guacamole-ext</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>