Prepare reintroduction of Argeo Suite RCP.
[gpl/argeo-suite.git] / dep / org.argeo.suite.dep.e4.rcp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5         <modelVersion>4.0.0</modelVersion>
6         <parent>
7                 <groupId>org.argeo.suite</groupId>
8                 <artifactId>dep</artifactId>
9                 <version>2.3.2-SNAPSHOT</version>
10                 <relativePath>..</relativePath>
11         </parent>
12         <artifactId>org.argeo.suite.dep.e4.rcp</artifactId>
13         <name>Suite E4 Platform RCP</name>
14         <packaging>jar</packaging>
15         <dependencies>
16                 <!-- Base Argeo platform distribution -->
17                 <dependency>
18                         <groupId>org.argeo.commons.rcp</groupId>
19                         <artifactId>org.argeo.dep.cms.e4.rcp</artifactId>
20                         <version>${version.argeo-rcp}</version>
21                         <type>pom</type>
22                 </dependency>
23
24                 <!-- Jackson JSON processor -->
25                 <dependency>
26                         <groupId>org.argeo.tp.jackson</groupId>
27                         <artifactId>com.fasterxml.jackson.core.jackson-core</artifactId>
28                 </dependency>
29                 <dependency>
30                         <groupId>org.argeo.tp.jackson</groupId>
31                         <artifactId>com.fasterxml.jackson.core.jackson-databind</artifactId>
32                 </dependency>
33                 <dependency>
34                         <groupId>org.argeo.tp.jackson</groupId>
35                         <artifactId>com.fasterxml.jackson.core.jackson-annotations</artifactId>
36                 </dependency>
37
38                 <!-- POI requirements -->
39                 <dependency>
40                         <groupId>org.argeo.tp.apache.commons</groupId>
41                         <artifactId>org.apache.commons.math3</artifactId>
42                 </dependency>
43                 <dependency>
44                         <groupId>org.argeo.tp.apache.commons</groupId>
45                         <artifactId>org.apache.commons.collections4</artifactId>
46                 </dependency>
47                 <dependency>
48                         <groupId>org.argeo.tp.apache</groupId>
49                         <artifactId>org.apache.xml.security</artifactId>
50                 </dependency>
51                 <dependency>
52                         <groupId>org.argeo.tp.apache</groupId>
53                         <artifactId>org.apache.xmlbeans</artifactId>
54                 </dependency>
55                 <dependency>
56                         <groupId>org.argeo.tp.apache</groupId>
57                         <artifactId>org.apache.xalan</artifactId>
58                 </dependency>
59                 <dependency>
60                         <groupId>org.argeo.tp.apache</groupId>
61                         <artifactId>org.apache.xalan.serializer</artifactId>
62                 </dependency>
63                 <dependency>
64                         <groupId>org.argeo.tp.apache</groupId>
65                         <artifactId>org.apache.xml.resolver</artifactId>
66                 </dependency>
67                 <dependency>
68                         <groupId>org.argeo.tp.apache</groupId>
69                         <artifactId>org.apache.xerces</artifactId>
70                 </dependency>
71
72                 <!-- Argeo TP Extras -->
73 <!--            <dependency> -->
74 <!--                    <groupId>org.argeo.tp.payment</groupId> -->
75 <!--                    <artifactId>com.stripe</artifactId> -->
76 <!--            </dependency> -->
77
78         </dependencies>
79         <profiles>
80                 <profile>
81                         <id>rpmbuild</id>
82                         <build>
83                                 <plugins>
84                                         <plugin>
85                                                 <artifactId>maven-assembly-plugin</artifactId>
86                                                 <executions>
87                                                         <execution>
88                                                                 <id>prepare-source</id>
89                                                                 <phase>package</phase>
90                                                                 <goals>
91                                                                         <goal>single</goal>
92                                                                 </goals>
93                                                                 <configuration>
94                                                                         <descriptorRefs>
95                                                                                 <descriptorRef>a2-source</descriptorRef>
96                                                                         </descriptorRefs>
97                                                                 </configuration>
98                                                         </execution>
99                                                 </executions>
100                                         </plugin>
101                                         <!-- <plugin> -->
102                                         <!-- <groupId>org.apache.maven.plugins</groupId> -->
103                                         <!-- <artifactId>maven-dependency-plugin</artifactId> -->
104                                         <!-- <executions> -->
105                                         <!-- <execution> -->
106                                         <!-- <id>copy-argeo</id> -->
107                                         <!-- <phase>package</phase> -->
108                                         <!-- <goals> -->
109                                         <!-- <goal>copy-dependencies</goal> -->
110                                         <!-- </goals> -->
111                                         <!-- <configuration> -->
112                                         <!-- <includeTypes>jar</includeTypes> -->
113                                         <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
114                                         <!-- <includeGroupIds>org.argeo.suite</includeGroupIds> -->
115                                         <!-- <includeTypes>jar</includeTypes> -->
116                                         <!-- <includeScope>runtime</includeScope> -->
117                                         <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
118                                         <!-- </configuration> -->
119                                         <!-- </execution> -->
120                                         <!-- </executions> -->
121                                         <!-- </plugin> -->
122                                         <plugin>
123                                                 <groupId>org.codehaus.mojo</groupId>
124                                                 <artifactId>rpm-maven-plugin</artifactId>
125                                                 <executions>
126                                                         <execution>
127                                                                 <id>rpm-argeo</id>
128                                                                 <phase>package</phase>
129                                                                 <goals>
130                                                                         <goal>rpm</goal>
131                                                                 </goals>
132                                                                 <configuration>
133                                                                         <name>argeo-suite-e4-rcp</name>
134                                                                         <mappings>
135                                                                                 <mapping>
136                                                                                         <directory>/usr/share/osgi</directory>
137                                                                                         <username>root</username>
138                                                                                         <groupname>root</groupname>
139                                                                                         <filemode>644</filemode>
140                                                                                         <directoryIncluded>true</directoryIncluded>
141                                                                                         <sources>
142                                                                                                 <source>
143                                                                                                         <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source</location>
144                                                                                                         <includes>
145                                                                                                                 <include>**/*.jar</include>
146                                                                                                         </includes>
147                                                                                                 </source>
148                                                                                         </sources>
149                                                                                 </mapping>
150                                                                         </mappings>
151                                                                         <requires>
152                                                                                 <require>argeo-cms-e4-rcp</require>
153                                                                                 <require>argeo-connect-tp</require>
154                                                                         </requires>
155                                                                 </configuration>
156                                                         </execution>
157                                                 </executions>
158                                         </plugin>
159                                 </plugins>
160                         </build>
161                 </profile>
162         </profiles>
163 </project>