</plugins>
</build>
<dependencies>
- <!-- Perspectives -->
<dependency>
- <groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.ui</artifactId>
- <version>${version.slc}</version>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.eclipse</artifactId>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.ui.dist</artifactId>
- <version>${version.slc}</version>
+ <artifactId>org.argeo.slc.client.rap</artifactId>
+ <version>0.13.1-SNAPSHOT</version>
+ </dependency>
+
+ <!-- Back-end Dependencies -->
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.backend</artifactId>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
+
<!-- Secure Application -->
<dependency>
<groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.ui.rap</artifactId>
+ <artifactId>org.argeo.security.dep.node.rap</artifactId>
<version>${version.argeo-commons}</version>
+ <!-- <exclusions> -->
+ <!-- <exclusion> -->
+ <!-- <groupId>org.mortbay.jetty</groupId> -->
+ <!-- <artifactId>org.mortbay.jetty.server</artifactId> -->
+ <!-- </exclusion> -->
+ <!-- <exclusion> -->
+ <!-- <groupId>org.mortbay.jetty</groupId> -->
+ <!-- <artifactId>org.mortbay.jetty.server.util</artifactId> -->
+ <!-- </exclusion> -->
+ <!-- <exclusion> -->
+ <!-- <groupId>org.eclipse.equinox</groupId> -->
+ <!-- <artifactId>org.eclipse.equinox.http.jetty</artifactId> -->
+ <!-- </exclusion> -->
+
+ <!-- <exclusion> -->
+ <!-- <groupId>org.argeo.slc.runtime</groupId> -->
+ <!-- <artifactId>org.argeo.slc.support.castor</artifactId> -->
+ <!-- </exclusion> -->
+
+ <!-- </exclusions> -->
</dependency>
+
+ <!-- For target platform generation -->
<dependency>
- <groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.rap</artifactId>
- <version>${version.slc}</version>
- </dependency>
- <!-- Back-end Dependencies -->
- <dependency>
- <groupId>org.argeo.slc.dep</groupId>
- <artifactId>org.argeo.slc.dep.backend</artifactId>
- <version>${version.slc}</version>
+ <groupId>org.argeo.slc.runtime</groupId>
+ <artifactId>org.argeo.slc.unit</artifactId>
+ <version>0.13.1-SNAPSHOT</version>
+ <scope>test</scope>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>rpmbuild</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-slc-rap</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>slc-rap</name>
+ <copyright>2011 Argeo</copyright>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi/rap</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <dependency>
+ <includes>
+ <include>org.argeo.slc.eclipse:org.argeo.slc.client.rap</include>
+ </includes>
+ </dependency>
+ </mapping>
+ </mappings>
+ <requires>
+ <require>slc-eclipse</require>
+ <require>slc-libs</require>
+ <require>argeo-node-rap</require>
+ </requires>
+ </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>
\ No newline at end of file