RPM packaging
[gpl/argeo-suite.git] / dist / argeo-office / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.argeo.suite</groupId>
7 <artifactId>dist</artifactId>
8 <version>0.1.13-SNAPSHOT</version>
9 <relativePath>..</relativePath>
10 </parent>
11 <artifactId>argeo-office</artifactId>
12 <packaging>pom</packaging>
13 <name>Argeo Office</name>
14 <profiles>
15 <profile>
16 <id>dist</id>
17 <dependencies>
18 <dependency>
19 <groupId>org.argeo.suite</groupId>
20 <artifactId>org.argeo.suite.dep.e4.rap</artifactId>
21 <version>0.1.13-SNAPSHOT</version>
22 </dependency>
23 <dependency>
24 <groupId>org.argeo.commons</groupId>
25 <artifactId>osgi-boot</artifactId>
26 <type>zip</type>
27 <version>${version.argeo-commons}</version>
28 </dependency>
29 <dependency>
30 <groupId>org.argeo.commons</groupId>
31 <artifactId>argeo-node</artifactId>
32 <type>zip</type>
33 <version>${version.argeo-commons}</version>
34 </dependency>
35 </dependencies>
36 <build>
37 <plugins>
38 <plugin>
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-assembly-plugin</artifactId>
41 <configuration>
42 <finalName>argeo-suite-${project.version}</finalName>
43 <appendAssemblyId>false</appendAssemblyId>
44 <descriptors>
45 <descriptor>assembly/argeo-office-e4-rap.xml</descriptor>
46 </descriptors>
47 </configuration>
48 <executions>
49 <execution>
50 <id>assembly-base</id>
51 <phase>package</phase>
52 <goals>
53 <goal>single</goal>
54 </goals>
55 </execution>
56 </executions>
57 </plugin>
58 </plugins>
59 </build>
60 </profile>
61 <profile>
62 <id>rpmbuild</id>
63 <build>
64 <plugins>
65 <plugin>
66 <groupId>org.codehaus.mojo</groupId>
67 <artifactId>rpm-maven-plugin</artifactId>
68 <executions>
69 <execution>
70 <id>rpm-node</id>
71 <phase>package</phase>
72 <goals>
73 <goal>rpm</goal>
74 </goals>
75 <configuration>
76 <name>argeo-office</name>
77 <mappings>
78 <mapping>
79 <directory>/etc/argeo/conf.d</directory>
80 <username>root</username>
81 <groupname>argeo</groupname>
82 <filemode>640</filemode>
83 <configuration>noreplace</configuration>
84 <directoryIncluded>false</directoryIncluded>
85 <sources>
86 <source>
87 <location>base/etc/argeo/conf.d</location>
88 <includes>
89 <include>*.ini</include>
90 <include>*.txt</include>
91 </includes>
92 </source>
93 </sources>
94 </mapping>
95 </mappings>
96 <requires>
97 <require>argeo-node</require>
98 <require>argeo-suite-e4-rap</require>
99 </requires>
100 </configuration>
101 </execution>
102 </executions>
103 </plugin>
104 </plugins>
105 </build>
106 </profile>
107 </profiles>
108 </project>