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