-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>dep</artifactId>
- <version>0.3.4-SNAPSHOT</version>
+ <version>1.1.4-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>org.argeo.eclipse.dep.rap</artifactId>
</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>
+ <groupId>org.argeo.tp</groupId>
+ <artifactId>org.eclipse.osgi</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>binaries</artifactId>
+ <version>${version.argeo-distribution}</version>
+ <type>pom</type>
+ <exclusions>
+ <exclusion>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>javax.servlet</artifactId>
+ </exclusion>
+
+ <!-- Jetty -->
+ <exclusion>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>org.eclipse.equinox.http.jetty</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>org.mortbay.jetty.server</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>org.mortbay.jetty.util</artifactId>
+ </exclusion>
+
+ <!-- Demo -->
+ <exclusion>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>org.eclipse.rap.demo</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>org.eclipse.rap.demo.databinding</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>org.eclipse.rap.design.example</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- Dependency to enable file upload. Should be included directly in coming
rap distribution -->
<dependency>
- <groupId>org.argeo.dep.rap</groupId>
+ <groupId>org.argeo.tp.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>
+ <groupId>org.argeo.tp</groupId>
+ <artifactId>org.apache.commons.io</artifactId>
</dependency>
<dependency>
- <groupId>org.eclipse.equinox</groupId>
- <artifactId>org.eclipse.equinox.http.servlet</artifactId>
+ <groupId>org.argeo.tp</groupId>
+ <artifactId>org.apache.commons.fileupload</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>
+ <!-- RAP Specific Dependencies -->
<dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.ui.workbench</artifactId>
+ <groupId>org.argeo.tp</groupId>
+ <artifactId>javax.servlet</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 -->
+ <!-- Security -->
<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>
+ <groupId>org.argeo.tp.rap</groupId>
+ <artifactId>org.eclipse.equinox.security</artifactId>
</dependency>
+
</dependencies>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.argeo.tp.rap</groupId>
+ <artifactId>binaries</artifactId>
+ <version>${version.argeo-distribution}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.tp.rap.platform</groupId>
+ <artifactId>binaries</artifactId>
+ <version>${version.argeo-distribution}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
<profiles>
+ <profile>
+ <id>check-osgi</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.argeo.maven.plugins</groupId>
+ <artifactId>maven-argeo-osgi-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>check-osgi</id>
+ <phase>test</phase>
+ <goals>
+ <goal>equinox</goal>
+ </goals>
+ <configuration>
+ <onlyCheck>true</onlyCheck>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<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>
<groupname>root</groupname>
<filemode>644</filemode>
<directoryIncluded>false</directoryIncluded>
- <dependency/>
+ <dependency />
</mapping>
</mappings>
</configuration>
<configuration>
<target>
<copy todir="${rpm.stagingRepository}" verbose="true">
- <fileset dir="${project.build.directory}/rpm"
- includes="*/RPMS/**/*.rpm" />
+ <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
<flattenmapper />
</copy>
</target>
</build>
</profile>
</profiles>
-</project>
+</project>
\ No newline at end of file