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