]> git.argeo.org Git - lgpl/argeo-commons.git/blob - base/dep/org.argeo.eclipse.dep.rap/pom.xml
Make Tomcat much easier to configure.
[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>1.1.9-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 </exclusions>
68 </dependency>
69
70 <!-- Dependency to enable file upload. Should be included directly in coming
71 rap distribution -->
72 <dependency>
73 <groupId>org.argeo.tp.rap</groupId>
74 <artifactId>org.eclipse.rwt.widgets.upload</artifactId>
75 </dependency>
76 <!-- Needed by the bundle above -->
77 <dependency>
78 <groupId>org.argeo.tp</groupId>
79 <artifactId>org.apache.commons.io</artifactId>
80 </dependency>
81 <dependency>
82 <groupId>org.argeo.tp</groupId>
83 <artifactId>org.apache.commons.fileupload</artifactId>
84 </dependency>
85
86 <!-- RAP Specific Dependencies -->
87 <dependency>
88 <groupId>org.argeo.tp</groupId>
89 <artifactId>javax.servlet</artifactId>
90 </dependency>
91
92 <!-- Security -->
93 <dependency>
94 <groupId>org.argeo.tp.rap</groupId>
95 <artifactId>org.eclipse.equinox.security</artifactId>
96 </dependency>
97
98 </dependencies>
99 <dependencyManagement>
100 <dependencies>
101 <dependency>
102 <groupId>org.argeo.tp.rap</groupId>
103 <artifactId>binaries</artifactId>
104 <version>${version.argeo-distribution}</version>
105 <type>pom</type>
106 <scope>import</scope>
107 </dependency>
108 <dependency>
109 <groupId>org.argeo.tp.rap.platform</groupId>
110 <artifactId>binaries</artifactId>
111 <version>${version.argeo-distribution}</version>
112 <type>pom</type>
113 <scope>import</scope>
114 </dependency>
115 </dependencies>
116 </dependencyManagement>
117 <profiles>
118 <profile>
119 <id>check-osgi</id>
120 <build>
121 <plugins>
122 <plugin>
123 <groupId>org.argeo.maven.plugins</groupId>
124 <artifactId>maven-argeo-osgi-plugin</artifactId>
125 <executions>
126 <execution>
127 <id>check-osgi</id>
128 <phase>test</phase>
129 <goals>
130 <goal>equinox</goal>
131 </goals>
132 <configuration>
133 <onlyCheck>true</onlyCheck>
134 </configuration>
135 </execution>
136 </executions>
137 </plugin>
138 </plugins>
139 </build>
140 </profile>
141 <profile>
142 <id>rpmbuild-tp</id>
143 <build>
144 <plugins>
145 <plugin>
146 <groupId>org.codehaus.mojo</groupId>
147 <artifactId>rpm-maven-plugin</artifactId>
148 <executions>
149 <execution>
150 <id>rpm-rap</id>
151 <phase>package</phase>
152 <goals>
153 <goal>rpm</goal>
154 </goals>
155 <configuration>
156 <name>eclipse-rap</name>
157 <projversion>${version.rap}</projversion>
158 <mappings>
159 <mapping>
160 <directory>/usr/share/eclipse-rap</directory>
161 <username>root</username>
162 <groupname>root</groupname>
163 <filemode>644</filemode>
164 <directoryIncluded>false</directoryIncluded>
165 <dependency />
166 </mapping>
167 </mappings>
168 </configuration>
169 </execution>
170 </executions>
171 </plugin>
172 <plugin>
173 <artifactId>maven-antrun-plugin</artifactId>
174 <executions>
175 <execution>
176 <phase>install</phase>
177 <goals>
178 <goal>run</goal>
179 </goals>
180 <configuration>
181 <target>
182 <copy todir="${rpm.stagingRepository}" verbose="true">
183 <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
184 <flattenmapper />
185 </copy>
186 </target>
187 </configuration>
188 </execution>
189 </executions>
190 </plugin>
191 </plugins>
192 </build>
193 </profile>
194 </profiles>
195 </project>