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