Commit 162d0a70 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

Build deb

parent 47e22654
......@@ -207,4 +207,43 @@
<url>https://minfba.de.dariah.eu/artifactory/dariah-snapshot-proxy</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>dariah.deb</id>
<build>
<plugins>
<plugin>
<artifactId>jdeb</artifactId>
<groupId>org.vafer</groupId>
<version>1.6</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jdeb</goal>
</goals>
<configuration>
<snapshotExpand>true</snapshotExpand>
<dataSet>
<data>
<type>directory</type>
<src>${project.build.directory}/${project.build.finalName}</src>
<mapper>
<type>perm</type>
<prefix>/var/dfa/webapps/${project.artifactId}</prefix>
<user>root</user>
<group>tomcat7</group>
<filemode>755</filemode>
</mapper>
</data>
</dataSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment