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