213bcc9e96c52367b110b298fb5678620b7cd2ac
[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.theme.argeo2</artifactId>
28 <version>0.1.12-SNAPSHOT</version>
29 </dependency>
30 <dependency>
31 <groupId>org.argeo.suite</groupId>
32 <artifactId>org.argeo.suite.web</artifactId>
33 <version>0.1.12-SNAPSHOT</version>
34 </dependency>
35
36 <!-- Base CMS distribution -->
37 <dependency>
38 <groupId>org.argeo.connect</groupId>
39 <artifactId>org.argeo.connect.platform</artifactId>
40 <version>${version.argeo-connect}</version>
41 </dependency>
42 </dependencies>
43 <profiles>
44 <profile>
45 <id>rpmbuild</id>
46 <build>
47 <plugins>
48 <plugin>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-dependency-plugin</artifactId>
51 <executions>
52 <execution>
53 <id>copy-argeo</id>
54 <phase>package</phase>
55 <goals>
56 <goal>copy-dependencies</goal>
57 </goals>
58 <configuration>
59 <includeTypes>jar</includeTypes>
60 <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory>
61 <includeGroupIds>org.argeo.suite</includeGroupIds>
62 <includeTypes>jar</includeTypes>
63 <includeScope>runtime</includeScope>
64 <useRepositoryLayout>true</useRepositoryLayout>
65 </configuration>
66 </execution>
67 </executions>
68 </plugin>
69 <plugin>
70 <groupId>org.codehaus.mojo</groupId>
71 <artifactId>rpm-maven-plugin</artifactId>
72 <executions>
73 <execution>
74 <id>rpm-argeo</id>
75 <phase>package</phase>
76 <goals>
77 <goal>rpm</goal>
78 </goals>
79 <configuration>
80 <name>argeo-suite</name>
81 <mappings>
82 <mapping>
83 <directory>/usr/share/osgi</directory>
84 <username>root</username>
85 <groupname>root</groupname>
86 <filemode>644</filemode>
87 <directoryIncluded>true</directoryIncluded>
88 <sources>
89 <source>
90 <location>${project.build.directory}/lib-argeo</location>
91 <includes>
92 <include>**/*.jar</include>
93 </includes>
94 </source>
95 </sources>
96 </mapping>
97 </mappings>
98 <requires>
99 <require>argeo-connect</require>
100 </requires>
101 </configuration>
102 </execution>
103 </executions>
104 </plugin>
105 </plugins>
106 </build>
107 </profile>
108 </profiles>
109 </project>