Permalink
Switch branches/tags
Nothing to show
Find file
42fedab May 20, 2010
63 lines (61 sloc) 1.69 KB
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ro.lmn.maven.recipe</groupId>
<artifactId>rpm-package</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Maven Recipe: RPM Package</name>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<version>2.0.1</version>
<executions>
<execution>
<goals>
<goal>rpm</goal>
</goals>
</execution>
</executions>
<configuration>
<copyright>2010, NoBody</copyright>
<group>Development</group>
<description>Maven Recipe: RPM Package.</description>
<mappings>
<mapping>
<directory>${app.home}/lib/</directory>
<dependency/>
<artifact/>
</mapping>
<mapping>
<directory>${app.home}/conf</directory>
<configuration>true</configuration>
<sources>
<source>
<location>${project.build.outputDirectory}/app.properties</location>
<destination>app.sample.properties</destination>
</source>
</sources>
</mapping>
<mapping>
<directory>${app.home}/logs</directory>
</mapping>
</mappings>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<app.home>/opt/app/</app.home>
</properties>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.2.GA</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
</project>