932dd33d751b3617f32f62738b64fa323c320e6e
[gpl/argeo-suite.git] / dep / org.argeo.suite.platform / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>org.argeo.suite</groupId>
6 <artifactId>dep</artifactId>
7 <version>0.1.12-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <artifactId>org.argeo.suite.platform</artifactId>
11 <name>Argeo Suite Platform</name>
12 <packaging>jar</packaging>
13 <dependencies>
14 <!-- Default Assembly for supported minimal set of Argeo Suite Features -->
15 <dependency>
16 <groupId>org.argeo.suite</groupId>
17 <artifactId>org.argeo.suite.apps</artifactId>
18 <version>0.1.12-SNAPSHOT</version>
19 </dependency>
20 <dependency>
21 <groupId>org.argeo.suite</groupId>
22 <artifactId>org.argeo.suite.workbench.rap</artifactId>
23 <version>0.1.12-SNAPSHOT</version>
24 </dependency>
25 <dependency>
26 <groupId>org.argeo.suite</groupId>
27 <artifactId>org.argeo.suite.web</artifactId>
28 <version>0.1.12-SNAPSHOT</version>
29 </dependency>
30
31 <!-- Base CMS distribution -->
32 <dependency>
33 <groupId>org.argeo.connect</groupId>
34 <artifactId>org.argeo.connect.platform</artifactId>
35 <version>${version.argeo-connect}</version>
36 </dependency>
37 </dependencies>
38 <profiles>
39 <profile>
40 <id>rpmbuild</id>
41 <build>
42 <plugins>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-dependency-plugin</artifactId>
46 <executions>
47 <execution>
48 <id>copy-argeo</id>
49 <phase>package</phase>
50 <goals>
51 <goal>copy-dependencies</goal>
52 </goals>
53 <configuration>
54 <includeTypes>jar</includeTypes>
55 <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory>
56 <includeGroupIds>org.argeo.suite</includeGroupIds>
57 <includeTypes>jar</includeTypes>
58 <includeScope>runtime</includeScope>
59 <useRepositoryLayout>true</useRepositoryLayout>
60 </configuration>
61 </execution>
62 </executions>
63 </plugin>
64 <plugin>
65 <groupId>org.codehaus.mojo</groupId>
66 <artifactId>rpm-maven-plugin</artifactId>
67 <executions>
68 <execution>
69 <id>rpm-argeo</id>
70 <phase>package</phase>
71 <goals>
72 <goal>rpm</goal>
73 </goals>
74 <configuration>
75 <name>argeo-suite</name>
76 <mappings>
77 <mapping>
78 <directory>/usr/share/osgi</directory>
79 <username>root</username>
80 <groupname>root</groupname>
81 <filemode>644</filemode>
82 <directoryIncluded>true</directoryIncluded>
83 <sources>
84 <source>
85 <location>${project.build.directory}/lib-argeo</location>
86 <includes>
87 <include>**/*.jar</include>
88 </includes>
89 </source>
90 </sources>
91 </mapping>
92 </mappings>
93 <requires>
94 <require>argeo-connect</require>
95 </requires>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 </plugins>
101 </build>
102 </profile>
103 </profiles>
104 </project>