</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>
</dependency>
<!-- RAP Specific Dependencies -->
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.ui</artifactId>
- </dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>com.springsource.javax.servlet</artifactId>
</dependency>
<!-- RAP -->
- <!-- Order is important -->
+ <!-- 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>
<groupId>org.eclipse.rap</groupId>
<artifactId>org.eclipse.rap.ui.workbench</artifactId>
</dependency>
- <dependency>
- <groupId>org.eclipse.rap</groupId>
- <artifactId>org.eclipse.rap.ui</artifactId>
- </dependency>
<!-- Jetty (TO BE REMOVED and replaced by Tomcat
<dependency>
<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>