+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<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">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.argeo.commons.eclipse</groupId>
- <artifactId>features</artifactId>
- <version>0.3.4-SNAPSHOT</version>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>org.argeo.eclipse.dep.rap</artifactId>
- <name>Commons Eclipse RAP Dependencies</name>
- <properties>
- <version.rap>1.3.2</version.rap>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.argeo.maven.plugins</groupId>
- <artifactId>maven-argeo-osgi-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <!-- common dependencies for both RCP and RAP -->
- <dependency>
- <groupId>org.argeo.commons.eclipse</groupId>
- <artifactId>org.argeo.eclipse.dep.common</artifactId>
- <version>0.3.4-SNAPSHOT</version>
- </dependency>
-
- <!-- Dependency to enable file upload. Should be included directly in coming
- rap distribution -->
- <dependency>
- <groupId>org.argeo.dep.rap</groupId>
- <artifactId>org.eclipse.rwt.widgets.upload</artifactId>
- </dependency>
- <!-- Needed by the bundle above -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>com.springsource.org.apache.commons.io</artifactId>
- </dependency>
-
- <!-- RAP Specific Dependencies -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>com.springsource.javax.servlet</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.equinox</groupId>
- <artifactId>org.eclipse.equinox.http.registry</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.equinox</groupId>
- <artifactId>org.eclipse.equinox.http.servlet</artifactId>
- </dependency>
-
- <!-- RAP -->
- <!-- order IS important -->
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.ui</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.rwt</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.rwt.q07</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.jface</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.jface.databinding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.ui.cheatsheets</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.ui.forms</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.ui.views</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.ui.workbench</artifactId>
- </dependency>
-
- <!-- Jetty (TO BE REMOVED and replaced by Tomcat
- <dependency>
- <groupId>org.eclipse.equinox</groupId>
- <artifactId>org.eclipse.equinox.http.jetty</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>org.mortbay.jetty.server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>org.mortbay.jetty.util</artifactId>
- </dependency>
- -->
-
- <!-- Eclipse -->
- <dependency>
- <groupId>org.eclipse.core</groupId>
- <artifactId>org.eclipse.core.databinding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.core</groupId>
- <artifactId>org.eclipse.core.databinding.beans</artifactId>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>rpmbuild-tp</id>
- <build>
- <plugins>
-<!-- <plugin> -->
-<!-- <groupId>org.apache.maven.plugins</groupId> -->
-<!-- <artifactId>maven-dependency-plugin</artifactId> -->
-<!-- <executions> -->
-<!-- <execution> -->
-<!-- <id>copy-rap</id> -->
-<!-- <phase>package</phase> -->
-<!-- <goals> -->
-<!-- <goal>copy-dependencies</goal> -->
-<!-- </goals> -->
-<!-- <configuration> -->
-<!-- <includeTypes>jar</includeTypes> -->
-<!-- <includeGroupIds>org.eclipse.core,org.eclipse.equinox,org.eclipse.rap,org.eclipse.help,org.argeo.dep.rap,org.eclipse.osgi,com.ibm.icu</includeGroupIds> -->
-<!-- <outputDirectory>${project.build.directory}/eclipse-rap</outputDirectory> -->
-<!-- </configuration> -->
-<!-- </execution> -->
-<!-- </executions> -->
-<!-- </plugin> -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>rpm-rap</id>
- <phase>package</phase>
- <goals>
- <goal>rpm</goal>
- </goals>
- <configuration>
- <name>eclipse-rap</name>
- <projversion>${version.rap}</projversion>
- <mappings>
- <mapping>
- <directory>/usr/share/eclipse-rap</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <dependency/>
- </mapping>
- </mappings>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>install</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <copy todir="${rpm.stagingRepository}" verbose="true">
- <fileset dir="${project.build.directory}/rpm"
- includes="*/RPMS/**/*.rpm" />
- <flattenmapper />
- </copy>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>