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