forked from Archives/Athou_commafeed
produce a debian/ubuntu package during build
This commit is contained in:
@@ -69,7 +69,7 @@ app:
|
|||||||
|
|
||||||
database:
|
database:
|
||||||
driverClass: org.h2.Driver
|
driverClass: org.h2.Driver
|
||||||
url: jdbc:h2:./target/example
|
url: jdbc:h2:/home/commafeed/db
|
||||||
user: sa
|
user: sa
|
||||||
password: sa
|
password: sa
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
23
pom.xml
23
pom.xml
@@ -136,6 +136,29 @@
|
|||||||
</archive>
|
</archive>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user