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