RPM packaging
[gpl/argeo-suite.git] / dep / org.argeo.suite.dep.e4.rap / 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.dep.e4.rap</artifactId>
12 <name>Suite E4 Platform RAP</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.cms</artifactId>
19 <version>0.1.13-SNAPSHOT</version>
20 </dependency>
21 <dependency>
22 <groupId>org.argeo.suite</groupId>
23 <artifactId>org.argeo.suite.e4</artifactId>
24 <version>0.1.13-SNAPSHOT</version>
25 </dependency>
26 <dependency>
27 <groupId>org.argeo.suite</groupId>
28 <artifactId>org.argeo.suite.e4.rap</artifactId>
29 <version>0.1.13-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.dep.e4.rap</artifactId>
41 <version>${version.argeo-connect}</version>
42 <type>pom</type>
43 </dependency>
44
45 <!-- Argeo TP Extras -->
46 <dependency>
47 <groupId>org.argeo.tp.payment</groupId>
48 <artifactId>com.stripe</artifactId>
49 </dependency>
50
51 </dependencies>
52 <profiles>
53 <profile>
54 <id>rpmbuild</id>
55 <build>
56 <plugins>
57 <plugin>
58 <artifactId>maven-assembly-plugin</artifactId>
59 <executions>
60 <execution>
61 <id>prepare-source</id>
62 <phase>package</phase>
63 <goals>
64 <goal>single</goal>
65 </goals>
66 <configuration>
67 <descriptorRefs>
68 <descriptorRef>a2-source</descriptorRef>
69 </descriptorRefs>
70 </configuration>
71 </execution>
72 </executions>
73 </plugin>
74 <!-- <plugin> -->
75 <!-- <groupId>org.apache.maven.plugins</groupId> -->
76 <!-- <artifactId>maven-dependency-plugin</artifactId> -->
77 <!-- <executions> -->
78 <!-- <execution> -->
79 <!-- <id>copy-argeo</id> -->
80 <!-- <phase>package</phase> -->
81 <!-- <goals> -->
82 <!-- <goal>copy-dependencies</goal> -->
83 <!-- </goals> -->
84 <!-- <configuration> -->
85 <!-- <includeTypes>jar</includeTypes> -->
86 <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
87 <!-- <includeGroupIds>org.argeo.suite</includeGroupIds> -->
88 <!-- <includeTypes>jar</includeTypes> -->
89 <!-- <includeScope>runtime</includeScope> -->
90 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
91 <!-- </configuration> -->
92 <!-- </execution> -->
93 <!-- </executions> -->
94 <!-- </plugin> -->
95 <plugin>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>rpm-maven-plugin</artifactId>
98 <executions>
99 <execution>
100 <id>rpm-argeo</id>
101 <phase>package</phase>
102 <goals>
103 <goal>rpm</goal>
104 </goals>
105 <configuration>
106 <name>argeo-suite-e4-rap</name>
107 <mappings>
108 <mapping>
109 <directory>/usr/share/osgi</directory>
110 <username>root</username>
111 <groupname>root</groupname>
112 <filemode>644</filemode>
113 <directoryIncluded>true</directoryIncluded>
114 <sources>
115 <source>
116 <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source</location>
117 <includes>
118 <include>**/*.jar</include>
119 </includes>
120 </source>
121 </sources>
122 </mapping>
123 </mappings>
124 <requires>
125 <require>argeo-connect-e4-rap</require>
126 </requires>
127 </configuration>
128 </execution>
129 </executions>
130 </plugin>
131 </plugins>
132 </build>
133 </profile>
134 </profiles>
135 </project>