]> git.argeo.org Git - lgpl/argeo-commons.git/blob - eclipse/dep/org.argeo.eclipse.dep.rap/pom.xml
[maven-release-plugin] copy for tag argeo-commons-1.1.1
[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" 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.1</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <artifactId>org.argeo.eclipse.dep.rap</artifactId>
11 <name>Commons Eclipse RAP Dependencies</name>
12 <build>
13 <plugins>
14 <plugin>
15 <groupId>org.argeo.maven.plugins</groupId>
16 <artifactId>maven-argeo-osgi-plugin</artifactId>
17 </plugin>
18 </plugins>
19 </build>
20 <dependencies>
21 <dependency>
22 <groupId>org.argeo.tp</groupId>
23 <artifactId>org.eclipse.osgi</artifactId>
24 </dependency>
25
26 <dependency>
27 <groupId>org.argeo.tp.rap.platform</groupId>
28 <artifactId>binaries</artifactId>
29 <version>${version.argeo-distribution}</version>
30 <type>pom</type>
31 <exclusions>
32 <exclusion>
33 <groupId>org.argeo.tp.rap.platform</groupId>
34 <artifactId>javax.servlet</artifactId>
35 </exclusion>
36
37 <!-- Jetty -->
38 <exclusion>
39 <groupId>org.argeo.tp.rap.platform</groupId>
40 <artifactId>org.eclipse.equinox.http.jetty</artifactId>
41 </exclusion>
42 <exclusion>
43 <groupId>org.argeo.tp.rap.platform</groupId>
44 <artifactId>org.mortbay.jetty.server</artifactId>
45 </exclusion>
46 <exclusion>
47 <groupId>org.argeo.tp.rap.platform</groupId>
48 <artifactId>org.mortbay.jetty.util</artifactId>
49 </exclusion>
50
51 <!-- Demo -->
52 <exclusion>
53 <groupId>org.argeo.tp.rap.platform</groupId>
54 <artifactId>org.eclipse.rap.demo</artifactId>
55 </exclusion>
56 <exclusion>
57 <groupId>org.argeo.tp.rap.platform</groupId>
58 <artifactId>org.eclipse.rap.demo.databinding</artifactId>
59 </exclusion>
60 <exclusion>
61 <groupId>org.argeo.tp.rap.platform</groupId>
62 <artifactId>org.eclipse.rap.design.example</artifactId>
63 </exclusion>
64 </exclusions>
65 </dependency>
66
67 <!-- Dependency to enable file upload. Should be included directly in coming
68 rap distribution -->
69 <dependency>
70 <groupId>org.argeo.tp.rap</groupId>
71 <artifactId>org.eclipse.rwt.widgets.upload</artifactId>
72 </dependency>
73 <!-- Needed by the bundle above -->
74 <dependency>
75 <groupId>org.argeo.tp</groupId>
76 <artifactId>org.apache.commons.io</artifactId>
77 </dependency>
78
79 <!-- RAP Specific Dependencies -->
80 <dependency>
81 <groupId>org.argeo.tp</groupId>
82 <artifactId>javax.servlet</artifactId>
83 </dependency>
84
85 <!-- Security -->
86 <dependency>
87 <groupId>org.argeo.tp.rap</groupId>
88 <artifactId>org.eclipse.equinox.security</artifactId>
89 </dependency>
90
91 </dependencies>
92 <dependencyManagement>
93 <dependencies>
94 <dependency>
95 <groupId>org.argeo.tp.rap</groupId>
96 <artifactId>binaries</artifactId>
97 <version>${version.argeo-distribution}</version>
98 <type>pom</type>
99 <scope>import</scope>
100 </dependency>
101 <dependency>
102 <groupId>org.argeo.tp.rap.platform</groupId>
103 <artifactId>binaries</artifactId>
104 <version>${version.argeo-distribution}</version>
105 <type>pom</type>
106 <scope>import</scope>
107 </dependency>
108 </dependencies>
109 </dependencyManagement>
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" includes="*/RPMS/**/*.rpm" />
177 <flattenmapper />
178 </copy>
179 </target>
180 </configuration>
181 </execution>
182 </executions>
183 </plugin>
184 </plugins>
185 </build>
186 </profile>
187 </profiles>
188 </project>