[maven-release-plugin] prepare for next development iteration
[gpl/argeo-suite.git] / dist / argeo-office / pom.xml
1 <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">
2 <modelVersion>4.0.0</modelVersion>
3 <parent>
4 <groupId>org.argeo.suite</groupId>
5 <artifactId>dist</artifactId>
6 <version>2.1.15-SNAPSHOT</version>
7 <relativePath>..</relativePath>
8 </parent>
9 <artifactId>argeo-office</artifactId>
10 <packaging>pom</packaging>
11 <name>Argeo Office</name>
12 <dependencies>
13 <dependency>
14 <groupId>org.argeo.suite</groupId>
15 <artifactId>org.argeo.suite.standard</artifactId>
16 <version>2.1.15-SNAPSHOT</version>
17 </dependency>
18 <dependency>
19 <groupId>org.argeo.suite</groupId>
20 <artifactId>org.argeo.suite.tracker</artifactId>
21 <version>2.1.15-SNAPSHOT</version>
22 </dependency>
23 </dependencies>
24 <profiles>
25 <profile>
26 <id>dist</id>
27 <dependencies>
28 <dependency>
29 <groupId>org.argeo.suite</groupId>
30 <artifactId>org.argeo.suite.dep.e4.rap</artifactId>
31 <version>2.1.15-SNAPSHOT</version>
32 </dependency>
33 <dependency>
34 <groupId>org.argeo.commons</groupId>
35 <artifactId>osgi-boot</artifactId>
36 <type>zip</type>
37 <version>${version.argeo-commons}</version>
38 </dependency>
39 <dependency>
40 <groupId>org.argeo.commons</groupId>
41 <artifactId>argeo-node</artifactId>
42 <type>zip</type>
43 <version>${version.argeo-commons}</version>
44 </dependency>
45 </dependencies>
46 <build>
47 <plugins>
48 <plugin>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-assembly-plugin</artifactId>
51 <configuration>
52 <finalName>argeo-suite-${project.version}</finalName>
53 <appendAssemblyId>false</appendAssemblyId>
54 <descriptors>
55 <descriptor>assembly/argeo-office-e4-rap.xml</descriptor>
56 </descriptors>
57 </configuration>
58 <executions>
59 <execution>
60 <id>assembly-base</id>
61 <phase>package</phase>
62 <goals>
63 <goal>single</goal>
64 </goals>
65 </execution>
66 </executions>
67 </plugin>
68 </plugins>
69 </build>
70 </profile>
71 <profile>
72 <id>rpmbuild</id>
73 <build>
74 <plugins>
75 <plugin>
76 <artifactId>maven-assembly-plugin</artifactId>
77 <executions>
78 <execution>
79 <id>prepare-source</id>
80 <phase>package</phase>
81 <goals>
82 <goal>single</goal>
83 </goals>
84 <configuration>
85 <descriptorRefs>
86 <descriptorRef>a2-source</descriptorRef>
87 </descriptorRefs>
88 </configuration>
89 </execution>
90 </executions>
91 </plugin>
92 <plugin>
93 <groupId>org.codehaus.mojo</groupId>
94 <artifactId>rpm-maven-plugin</artifactId>
95 <executions>
96 <execution>
97 <id>rpm-node</id>
98 <phase>package</phase>
99 <goals>
100 <goal>rpm</goal>
101 </goals>
102 <configuration>
103 <name>argeo-office</name>
104 <mappings>
105 <mapping>
106 <directory>/etc/argeo/conf.d</directory>
107 <username>root</username>
108 <groupname>argeo</groupname>
109 <filemode>640</filemode>
110 <configuration>noreplace</configuration>
111 <directoryIncluded>false</directoryIncluded>
112 <sources>
113 <source>
114 <location>base/etc/argeo/conf.d</location>
115 <includes>
116 <include>*.ini</include>
117 <include>*.txt</include>
118 </includes>
119 </source>
120 </sources>
121 </mapping>
122 <mapping>
123 <directory>/usr/share/osgi</directory>
124 <username>root</username>
125 <groupname>root</groupname>
126 <filemode>644</filemode>
127 <directoryIncluded>true</directoryIncluded>
128 <sources>
129 <source>
130 <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source</location>
131 <includes>
132 <include>**/*.jar</include>
133 </includes>
134 </source>
135 </sources>
136 </mapping>
137 </mappings>
138 <requires>
139 <require>argeo-node</require>
140 <require>argeo-suite-e4-rap</require>
141 </requires>
142 </configuration>
143 </execution>
144 </executions>
145 </plugin>
146 </plugins>
147 </build>
148 </profile>
149 </profiles>
150 </project>