Skip to content

Commit

Permalink
Force backupper-gui to include its deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Illia Ovchynnikov authored and Illia Ovchynnikov committed Oct 12, 2016
1 parent a54b7b1 commit 3e440cf
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
16 changes: 15 additions & 1 deletion backupper-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,21 @@
<dependency>
<groupId>pl.gda.pg.eti.autyzm</groupId>
<artifactId>backupper-core</artifactId>
<version>0.1</version>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>pl.gda.pg.eti.autyzm.App</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<dep.jdbc.sqllite.ver>3.8.11.2</dep.jdbc.sqllite.ver>
<dep.test.junit.ver>4.11</dep.test.junit.ver>
<dep.jadb.ver>master-v1.0-gf362563-41</dep.jadb.ver>
<dep.plg.maven-assembly.ver>2.6</dep.plg.maven-assembly.ver>
</properties>

<repositories>
Expand Down Expand Up @@ -60,4 +61,29 @@
<module>backupper-core</module>
<module>backupper-gui</module>
</modules>

<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${dep.plg.maven-assembly.ver}</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

0 comments on commit 3e440cf

Please sign in to comment.