Skip to content

Commit

Permalink
Merge pull request #35 from autyzm-pg/feature/jar-with-deps
Browse files Browse the repository at this point in the history
Force backupper-gui to include its deps #26
  • Loading branch information
mikolevy authored Oct 12, 2016
2 parents a54b7b1 + 3e440cf commit 814b18e
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 814b18e

Please sign in to comment.