]> git.argeo.org Git - lgpl/argeo-commons.git/blob - dep/org.argeo.eclipse.dep.rap/pom.xml
check-osgi working
[lgpl/argeo-commons.git] / 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"
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.commons</groupId>
7 <artifactId>dep</artifactId>
8 <version>2.1.12-SNAPSHOT</version>
9 <relativePath>..</relativePath>
10 </parent>
11 <artifactId>org.argeo.eclipse.dep.rap</artifactId>
12 <name>Eclipse RAP Dependencies</name>
13 <packaging>pom</packaging>
14 <dependencies>
15 <dependency>
16 <groupId>org.argeo.tp.rap.addons</groupId>
17 <artifactId>binaries</artifactId>
18 <version>${version.rap.addons}</version>
19 <type>pom</type>
20 <exclusions>
21 <exclusion>
22 <!-- TODO remove OSGi runtime from addons -->
23 <groupId>org.argeo.tp.rap.addons</groupId>
24 <artifactId>org.eclipse.osgi</artifactId>
25 </exclusion>
26 </exclusions>
27 </dependency>
28
29 <dependency>
30 <groupId>org.argeo.tp.rap.platform</groupId>
31 <artifactId>binaries</artifactId>
32 <version>${version.rap}</version>
33 <type>pom</type>
34 <exclusions>
35 <!-- Not used -->
36 <exclusion>
37 <groupId>org.argeo.tp.rap.platform</groupId>
38 <artifactId>org.eclipse.rap.ui.cheatsheets</artifactId>
39 </exclusion>
40
41 <!-- Equinox base -->
42 <exclusion>
43 <groupId>org.argeo.tp.rap.platform</groupId>
44 <artifactId>org.eclipse.osgi</artifactId>
45 </exclusion>
46 <exclusion>
47 <groupId>org.argeo.tp.rap.platform</groupId>
48 <artifactId>org.eclipse.osgi.services</artifactId>
49 </exclusion>
50
51 <!-- Jetty -->
52 <exclusion>
53 <groupId>org.argeo.tp.rap.platform</groupId>
54 <artifactId>org.eclipse.jetty.continuation</artifactId>
55 </exclusion>
56 <exclusion>
57 <groupId>org.argeo.tp.rap.platform</groupId>
58 <artifactId>org.eclipse.jetty.http</artifactId>
59 </exclusion>
60 <exclusion>
61 <groupId>org.argeo.tp.rap.platform</groupId>
62 <artifactId>org.eclipse.jetty.io</artifactId>
63 </exclusion>
64 <exclusion>
65 <groupId>org.argeo.tp.rap.platform</groupId>
66 <artifactId>org.eclipse.jetty.security</artifactId>
67 </exclusion>
68 <exclusion>
69 <groupId>org.argeo.tp.rap.platform</groupId>
70 <artifactId>org.eclipse.jetty.server</artifactId>
71 </exclusion>
72 <exclusion>
73 <groupId>org.argeo.tp.rap.platform</groupId>
74 <artifactId>org.eclipse.jetty.servlet</artifactId>
75 </exclusion>
76 <exclusion>
77 <groupId>org.argeo.tp.rap.platform</groupId>
78 <artifactId>org.eclipse.jetty.util</artifactId>
79 </exclusion>
80
81 <!-- Example, demos -->
82 <exclusion>
83 <groupId>org.argeo.tp.rap.platform</groupId>
84 <artifactId>org.eclipse.rap.demo</artifactId>
85 </exclusion>
86 <exclusion>
87 <groupId>org.argeo.tp.rap.platform</groupId>
88 <artifactId>org.eclipse.rap.demo.databinding</artifactId>
89 </exclusion>
90 <exclusion>
91 <groupId>org.argeo.tp.rap.platform</groupId>
92 <artifactId>org.eclipse.rap.design.example</artifactId>
93 </exclusion>
94 <exclusion>
95 <groupId>org.argeo.tp.rap.platform</groupId>
96 <artifactId>org.eclipse.rap.demo.controls</artifactId>
97 </exclusion>
98 <exclusion>
99 <groupId>org.argeo.tp.rap.platform</groupId>
100 <artifactId>org.eclipse.rap.examples</artifactId>
101 </exclusion>
102 <exclusion>
103 <groupId>org.argeo.tp.rap.platform</groupId>
104 <artifactId>org.eclipse.rap.examples.pages</artifactId>
105 </exclusion>
106
107 <!-- Troublesome bundles -->
108 <exclusion>
109 <groupId>org.argeo.tp.rap.platform</groupId>
110 <artifactId>org.junit</artifactId>
111 </exclusion>
112 <exclusion>
113 <groupId>org.argeo.tp.rap.platform</groupId>
114 <artifactId>org.eclipse.rap.junit</artifactId>
115 </exclusion>
116 <exclusion>
117 <groupId>org.argeo.tp.rap.platform</groupId>
118 <artifactId>org.eclipse.rap.junit.runtime</artifactId>
119 </exclusion>
120 <exclusion>
121 <groupId>org.argeo.tp.rap.platform</groupId>
122 <artifactId>org.eclipse.jdt.junit.runtime</artifactId>
123 </exclusion>
124 <exclusion>
125 <groupId>org.argeo.tp.rap.platform</groupId>
126 <artifactId>org.eclipse.jdt.junit.runtime</artifactId>
127 </exclusion>
128 <exclusion>
129 <groupId>org.argeo.tp.rap.platform</groupId>
130 <artifactId>org.hamcrest.core</artifactId>
131 </exclusion>
132 <exclusion>
133 <groupId>org.argeo.tp.rap.platform</groupId>
134 <artifactId>org.eclipse.rap.rwt.testfixture</artifactId>
135 </exclusion>
136
137 <!-- Felix Gogo shell -->
138 <exclusion>
139 <groupId>org.argeo.tp.rap.platform</groupId>
140 <artifactId>org.apache.felix.gogo.runtime</artifactId>
141 </exclusion>
142 <exclusion>
143 <groupId>org.argeo.tp.rap.platform</groupId>
144 <artifactId>org.apache.felix.gogo.shell</artifactId>
145 </exclusion>
146 <exclusion>
147 <groupId>org.argeo.tp.rap.platform</groupId>
148 <artifactId>org.apache.felix.gogo.command</artifactId>
149 </exclusion>
150 <exclusion>
151 <groupId>org.argeo.tp.rap.platform</groupId>
152 <artifactId>org.eclipse.equinox.console</artifactId>
153 </exclusion>
154 </exclusions>
155 </dependency>
156
157 <!-- Needed by upload -->
158 <!-- <dependency> -->
159 <!-- <groupId>org.argeo.tp</groupId> -->
160 <!-- <artifactId>org.apache.commons.io</artifactId> -->
161 <!-- </dependency> -->
162 <!-- <dependency> -->
163 <!-- <groupId>org.argeo.tp</groupId> -->
164 <!-- <artifactId>org.apache.commons.fileupload</artifactId> -->
165 <!-- </dependency> -->
166
167 <!-- RAP Specific Dependencies -->
168 <!-- <dependency> -->
169 <!-- <groupId>org.argeo.tp</groupId> -->
170 <!-- <artifactId>javax.servlet</artifactId> -->
171 <!-- </dependency> -->
172
173 <!-- Security -->
174 <!-- <dependency> -->
175 <!-- <groupId>org.argeo.tp.rap</groupId> -->
176 <!-- <artifactId>org.eclipse.equinox.security</artifactId> -->
177 <!-- </dependency> -->
178
179 </dependencies>
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"
247 includes="*/RPMS/**/*.rpm" />
248 <flattenmapper />
249 </copy>
250 </target>
251 </configuration>
252 </execution>
253 </executions>
254 </plugin>
255 </plugins>
256 </build>
257 </profile>
258 </profiles>
259 </project>