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