mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-1170: Use maven-dependency-plugin instead of maven-assembly-plugin, when build artifact should really only be one .jar file.
This commit is contained in:
@@ -38,25 +38,22 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Assembly plugin - for easy distribution -->
|
||||
<!-- Copy dependencies prior to packaging -->
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.5.3</version>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.10</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>jar-with-dependencies</id>
|
||||
<phase>package</phase>
|
||||
<id>unpack-dependencies</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
<goal>unpack-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<finalName>extension/${project.artifactId}-${project.version}</finalName>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
@@ -38,25 +38,22 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Assembly plugin - for easy distribution -->
|
||||
<!-- Copy dependencies prior to packaging -->
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.5.3</version>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.10</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>jar-with-dependencies</id>
|
||||
<phase>package</phase>
|
||||
<id>unpack-dependencies</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
<goal>unpack-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<finalName>extension/${project.artifactId}-${project.version}</finalName>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
<directory>modules/guacamole-auth-jdbc-mysql/schema</directory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>modules/guacamole-auth-jdbc-mysql/target/extension</directory>
|
||||
<directory>modules/guacamole-auth-jdbc-mysql/target</directory>
|
||||
<outputDirectory>mysql</outputDirectory>
|
||||
<includes>
|
||||
<include>*.jar</include>
|
||||
@@ -33,7 +33,7 @@
|
||||
<directory>modules/guacamole-auth-jdbc-postgresql/schema</directory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>modules/guacamole-auth-jdbc-postgresql/target/extension</directory>
|
||||
<directory>modules/guacamole-auth-jdbc-postgresql/target</directory>
|
||||
<outputDirectory>postgresql</outputDirectory>
|
||||
<includes>
|
||||
<include>*.jar</include>
|
||||
|
Reference in New Issue
Block a user