produce a debian/ubuntu package during build

This commit is contained in:
Athou
2014-10-06 09:53:58 +02:00
parent 3c7747ab97
commit ff044e2592
2 changed files with 24 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ app:
database:
driverClass: org.h2.Driver
url: jdbc:h2:./target/example
url: jdbc:h2:/home/commafeed/db
user: sa
password: sa
properties:

23
pom.xml
View File

@@ -136,6 +136,29 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.jamierf.dropwizard</groupId>
<artifactId>dropwizard-debpkg-maven-plugin</artifactId>
<version>0.7</version>
<configuration>
<configTemplate>${basedir}/config.yml.example</configTemplate>
<jvm>
<packageName>openjdk-7-jdk</packageName>
<server>true</server>
</jvm>
<unix>
<user>commafeed</user>
</unix>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>dwpackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>