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