]> git.argeo.org Git - lgpl/argeo-commons.git/blob - eclipse/dep/org.argeo.eclipse.dep.rap/pom.xml
Commons Eclipse, OSGi, Server migrated
[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 <version>1.0.0.argeo002</version>
74 </dependency>
75 <!-- Needed by the bundle above -->
76 <dependency>
77 <groupId>org.argeo.tp</groupId>
78 <artifactId>org.apache.commons.io</artifactId>
79 </dependency>
80
81 <!-- RAP Specific Dependencies -->
82 <dependency>
83 <groupId>org.argeo.tp</groupId>
84 <artifactId>javax.servlet</artifactId>
85 </dependency>
86
87 </dependencies>
88 <profiles>
89 <profile>
90 <id>check-osgi</id>
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.argeo.maven.plugins</groupId>
95 <artifactId>maven-argeo-osgi-plugin</artifactId>
96 <executions>
97 <execution>
98 <id>check-osgi</id>
99 <phase>test</phase>
100 <goals>
101 <goal>equinox</goal>
102 </goals>
103 <configuration>
104 <onlyCheck>true</onlyCheck>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
109 </plugins>
110 </build>
111 </profile>
112 <profile>
113 <id>rpmbuild-tp</id>
114 <build>
115 <plugins>
116 <plugin>
117 <groupId>org.codehaus.mojo</groupId>
118 <artifactId>rpm-maven-plugin</artifactId>
119 <executions>
120 <execution>
121 <id>rpm-rap</id>
122 <phase>package</phase>
123 <goals>
124 <goal>rpm</goal>
125 </goals>
126 <configuration>
127 <name>eclipse-rap</name>
128 <projversion>${version.rap}</projversion>
129 <mappings>
130 <mapping>
131 <directory>/usr/share/eclipse-rap</directory>
132 <username>root</username>
133 <groupname>root</groupname>
134 <filemode>644</filemode>
135 <directoryIncluded>false</directoryIncluded>
136 <dependency />
137 </mapping>
138 </mappings>
139 </configuration>
140 </execution>
141 </executions>
142 </plugin>
143 <plugin>
144 <artifactId>maven-antrun-plugin</artifactId>
145 <executions>
146 <execution>
147 <phase>install</phase>
148 <goals>
149 <goal>run</goal>
150 </goals>
151 <configuration>
152 <target>
153 <copy todir="${rpm.stagingRepository}" verbose="true">
154 <fileset dir="${project.build.directory}/rpm"
155 includes="*/RPMS/**/*.rpm" />
156 <flattenmapper />
157 </copy>
158 </target>
159 </configuration>
160 </execution>
161 </executions>
162 </plugin>
163 </plugins>
164 </build>
165 </profile>
166 </profiles>
167 </project>