]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
00522d96f75370672689b1adac0bd1538369c9f4
[lgpl/argeo-commons.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
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.commons.base</groupId>
6 <artifactId>dep</artifactId>
7 <version>2.1.8-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <artifactId>org.argeo.eclipse.dep.rap</artifactId>
11 <name>Commons Eclipse RAP Dependencies</name>
12 <properties>
13 <version.rap>2.2.0-R-20131204-0942</version.rap>
14 <version.rap.addons>0.2.0.20131212-1229</version.rap.addons>
15 </properties>
16 <build>
17 <plugins>
18 <plugin>
19 <groupId>org.argeo.maven.plugins</groupId>
20 <artifactId>maven-argeo-osgi-plugin</artifactId>
21 </plugin>
22 </plugins>
23 </build>
24 <dependencies>
25 <!-- <dependency> -->
26 <!-- <groupId>org.argeo.tp</groupId> -->
27 <!-- <artifactId>org.eclipse.osgi</artifactId> -->
28 <!-- </dependency> -->
29
30 <dependency>
31 <groupId>org.argeo.tp.rap.addons</groupId>
32 <artifactId>binaries</artifactId>
33 <version>${version.rap.addons}</version>
34 <type>pom</type>
35 </dependency>
36
37 <dependency>
38 <groupId>org.argeo.tp.rap.platform</groupId>
39 <artifactId>binaries</artifactId>
40 <version>${version.rap}</version>
41 <type>pom</type>
42 <exclusions>
43 <!-- <exclusion> -->
44 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
45 <!-- <artifactId>javax.servlet</artifactId> -->
46 <!-- </exclusion> -->
47
48 <!-- Jetty -->
49 <!-- <exclusion> -->
50 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
51 <!-- <artifactId>org.eclipse.equinox.http.jetty</artifactId> -->
52 <!-- </exclusion> -->
53 <!-- <exclusion> -->
54 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
55 <!-- <artifactId>org.mortbay.jetty.server</artifactId> -->
56 <!-- </exclusion> -->
57 <!-- <exclusion> -->
58 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
59 <!-- <artifactId>org.mortbay.jetty.util</artifactId> -->
60 <!-- </exclusion> -->
61
62 <!-- <exclusion> -->
63 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
64 <!-- <artifactId>org.eclipse.jetty.security</artifactId> -->
65 <!-- </exclusion> -->
66 <!-- <exclusion> -->
67 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
68 <!-- <artifactId>org.eclipse.jetty.http</artifactId> -->
69 <!-- </exclusion> -->
70 <!-- <exclusion> -->
71 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
72 <!-- <artifactId>org.eclipse.jetty.server</artifactId> -->
73 <!-- </exclusion> -->
74 <!-- <exclusion> -->
75 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
76 <!-- <artifactId>org.eclipse.jetty.continuation</artifactId> -->
77 <!-- </exclusion> -->
78 <!-- <exclusion> -->
79 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
80 <!-- <artifactId>org.eclipse.jetty.util</artifactId> -->
81 <!-- </exclusion> -->
82 <!-- <exclusion> -->
83 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
84 <!-- <artifactId>org.eclipse.jetty.io</artifactId> -->
85 <!-- </exclusion> -->
86 <!-- <exclusion> -->
87 <!-- <groupId>org.argeo.tp.rap.platform</groupId> -->
88 <!-- <artifactId>org.eclipse.jetty.servlet</artifactId> -->
89 <!-- </exclusion> -->
90
91 <!-- Demo -->
92 <exclusion>
93 <groupId>org.argeo.tp.rap.platform</groupId>
94 <artifactId>org.eclipse.rap.demo</artifactId>
95 </exclusion>
96 <exclusion>
97 <groupId>org.argeo.tp.rap.platform</groupId>
98 <artifactId>org.eclipse.rap.demo.databinding</artifactId>
99 </exclusion>
100 <exclusion>
101 <groupId>org.argeo.tp.rap.platform</groupId>
102 <artifactId>org.eclipse.rap.design.example</artifactId>
103 </exclusion>
104
105 <!-- Troublesome bundles -->
106 <exclusion>
107 <groupId>org.argeo.tp.rap.platform</groupId>
108 <artifactId>org.eclipse.jdt.junit.runtime</artifactId>
109 </exclusion>
110 <exclusion>
111 <groupId>org.argeo.tp.rap.platform</groupId>
112 <artifactId>org.eclipse.rap.junit.runtime</artifactId>
113 </exclusion>
114 <exclusion>
115 <groupId>org.argeo.tp.rap.platform</groupId>
116 <artifactId>org.eclipse.rap.rwt.testfixture</artifactId>
117 </exclusion>
118 </exclusions>
119 </dependency>
120
121 <!-- Dependency to enable file upload. Should be included directly in coming
122 rap distribution -->
123 <!-- <dependency> -->
124 <!-- <groupId>org.argeo.tp.rap</groupId> -->
125 <!-- <artifactId>org.eclipse.rwt.widgets.upload</artifactId> -->
126 <!-- </dependency> -->
127 <!-- Needed by the bundle above -->
128 <dependency>
129 <groupId>org.argeo.tp</groupId>
130 <artifactId>org.apache.commons.io</artifactId>
131 </dependency>
132 <dependency>
133 <groupId>org.argeo.tp</groupId>
134 <artifactId>org.apache.commons.fileupload</artifactId>
135 </dependency>
136
137 <!-- RAP Specific Dependencies -->
138 <dependency>
139 <groupId>org.argeo.tp</groupId>
140 <artifactId>javax.servlet</artifactId>
141 </dependency>
142
143 <!-- Security -->
144 <dependency>
145 <groupId>org.argeo.tp.rap</groupId>
146 <artifactId>org.eclipse.equinox.security</artifactId>
147 </dependency>
148
149 <dependency>
150 <groupId>org.argeo.commons.base</groupId>
151 <artifactId>org.argeo.osgi.boot</artifactId>
152 <version>2.1.8-SNAPSHOT</version>
153 </dependency>
154 </dependencies>
155 <dependencyManagement>
156 <dependencies>
157 <dependency>
158 <groupId>org.argeo.tp.rap</groupId>
159 <artifactId>binaries</artifactId>
160 <version>${version.argeo-distribution}</version>
161 <type>pom</type>
162 <scope>import</scope>
163 </dependency>
164 <dependency>
165 <groupId>org.argeo.tp.rap.addons</groupId>
166 <artifactId>binaries</artifactId>
167 <version>${version.rap.addons}</version>
168 <type>pom</type>
169 <scope>import</scope>
170 </dependency>
171 <dependency>
172 <groupId>org.argeo.tp.rap.platform</groupId>
173 <artifactId>binaries</artifactId>
174 <version>${version.rap}</version>
175 <type>pom</type>
176 <scope>import</scope>
177 </dependency>
178 </dependencies>
179 </dependencyManagement>
180 <profiles>
181 <profile>
182 <id>check-osgi</id>
183 <build>
184 <plugins>
185 <plugin>
186 <groupId>org.argeo.maven.plugins</groupId>
187 <artifactId>maven-argeo-osgi-plugin</artifactId>
188 <executions>
189 <execution>
190 <id>check-osgi</id>
191 <phase>test</phase>
192 <goals>
193 <goal>equinox</goal>
194 </goals>
195 <configuration>
196 <onlyCheck>true</onlyCheck>
197 </configuration>
198 </execution>
199 </executions>
200 </plugin>
201 </plugins>
202 </build>
203 </profile>
204 <profile>
205 <id>rpmbuild-tp</id>
206 <build>
207 <plugins>
208 <plugin>
209 <groupId>org.codehaus.mojo</groupId>
210 <artifactId>rpm-maven-plugin</artifactId>
211 <executions>
212 <execution>
213 <id>rpm-rap</id>
214 <phase>package</phase>
215 <goals>
216 <goal>rpm</goal>
217 </goals>
218 <configuration>
219 <name>eclipse-rap</name>
220 <projversion>${version.rap}</projversion>
221 <mappings>
222 <mapping>
223 <directory>/usr/share/eclipse-rap</directory>
224 <username>root</username>
225 <groupname>root</groupname>
226 <filemode>644</filemode>
227 <directoryIncluded>false</directoryIncluded>
228 <dependency />
229 </mapping>
230 </mappings>
231 </configuration>
232 </execution>
233 </executions>
234 </plugin>
235 <plugin>
236 <artifactId>maven-antrun-plugin</artifactId>
237 <executions>
238 <execution>
239 <phase>install</phase>
240 <goals>
241 <goal>run</goal>
242 </goals>
243 <configuration>
244 <target>
245 <copy todir="${rpm.stagingRepository}" verbose="true">
246 <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
247 <flattenmapper />
248 </copy>
249 </target>
250 </configuration>
251 </execution>
252 </executions>
253 </plugin>
254 </plugins>
255 </build>
256 </profile>
257 </profiles>
258 </project>