]> git.argeo.org Git - gpl/argeo-slc.git/blob - dist/pom.xml
Improve RPM
[gpl/argeo-slc.git] / dist / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>org.argeo.slc</groupId>
6 <artifactId>argeo-slc</artifactId>
7 <version>0.13.1-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <groupId>org.argeo.slc</groupId>
11 <artifactId>dist</artifactId>
12 <packaging>pom</packaging>
13 <name>SLC Distribution</name>
14 <modules>
15 <module>slc</module>
16 <module>slc-maven</module>
17 </modules>
18 <profiles>
19 <profile>
20 <id>rpmbuild</id>
21 <build>
22 <plugins>
23 <plugin>
24 <artifactId>maven-antrun-plugin</artifactId>
25 <executions>
26 <execution>
27 <phase>install</phase>
28 <goals>
29 <goal>run</goal>
30 </goals>
31 <configuration>
32 <target>
33 <copy todir="${rpm.stagingRepository}" verbose="true">
34 <fileset dir="${project.build.directory}/rpm"
35 includes="*/RPMS/**/*.rpm" />
36 <flattenmapper />
37 </copy>
38 </target>
39 </configuration>
40 </execution>
41 </executions>
42 </plugin>
43 </plugins>
44 </build>
45 </profile>
46 </profiles>
47 </project>