-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpom.xml
63 lines (61 loc) · 1.69 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<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>