<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.core</artifactId>
- <version>${version.slc}</version>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.support.simple</artifactId>
- <version>${version.slc}</version>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.support.ant</artifactId>
- <version>${version.slc}</version>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.support.jcr</artifactId>
- <version>${version.slc}</version>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.support.activemq</artifactId>
- <version>${version.slc}</version>
+ <version>0.13.1-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.slc.runtime</groupId>
+ <artifactId>org.argeo.slc.server</artifactId>
+ <version>0.13.1-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.slc.runtime</groupId>
+ <artifactId>org.argeo.slc.support.equinox</artifactId>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<!-- SLC Agent Modules -->
<version>${version.slc}</version>
</dependency>
- <!-- Node -->
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dep.node</artifactId>
- <version>${version.argeo-commons}</version>
- <type>pom</type>
- </dependency>
-
- <!-- SLC -->
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.server</artifactId>
- <version>0.13.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.support.equinox</artifactId>
- <version>0.13.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.support.jcr</artifactId>
- <version>0.13.1-SNAPSHOT</version>
- </dependency>
-
<!-- SLC Repo -->
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<version>${version.slc}</version>
</dependency>
- <!-- Modules (see profiles below) -->
-
<!-- Launcher -->
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<classifier>base</classifier>
</dependency>
- <!-- Felix -->
- <!-- <dependency> -->
- <!-- <groupId>org.apache.felix</groupId> -->
- <!-- <artifactId>org.osgi.service.obr</artifactId> -->
- <!-- </dependency> -->
- <!-- <dependency> -->
- <!-- <groupId>org.apache.felix</groupId> -->
- <!-- <artifactId>org.apache.felix.bundlerepository</artifactId> -->
- <!-- </dependency> -->
-
+ <!-- Node -->
+ <dependency>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.dep.node</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ </dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>rpmbuild</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <includeGroupIds>org.argeo.slc.modules,org.argeo.slc.runtime</includeGroupIds>
+ <outputDirectory>${project.build.directory}/slc</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-slc</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>slc-libs</name>
+ <copyright>2011 Argeo</copyright>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <sources>
+ <source>
+ <location>${project.build.directory}/slc</location>
+ </source>
+ </sources>
+ </mapping>
+ </mappings>
+ <requires>
+ <require>slc-tp</require>
+ <require>argeo-node</require>
+ </requires>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>rpmbuild-tp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-tp</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>slc-tp</name>
+ <projversion>${version.argeo-distribution}</projversion>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <dependency>
+ <includes>
+ <!-- Core -->
+ <include>org.aspectj:com.springsource.org.aspectj.runtime</include>
+ <include>org.aspectj:com.springsource.org.aspectj.weaver</include>
+ <!-- Simple -->
+ <include>com.jcraft.jsch:com.springsource.com.jcraft.jsch</include>
+ <include>com.opensymphony.quartz:com.springsource.org.quartz</include>
+ <include>org.springframework:org.springframework.context.support</include>
+ <include>javax.mail:com.springsource.javax.mail</include>
+ <include>com.svnkit:com.springsource.org.tmatesoft.svn</include>
+ <include>javax.mail:com.springsource.javax.mail</include>
+ <include>org.argeo.dep.osgi:org.redline_rpm</include>
+ <!-- Ant -->
+ <include>org.apache.ant:com.springsource.org.apache.tools.ant</include>
+ <include>org.apache.ant:com.springsource.org.apache.tools.ant.launch</include>
+ <include>org.apache.oro:com.springsource.org.apache.oro</include>
+ <include>org.apache.bsf:com.springsource.org.apache.bsf</include>
+ <!-- Maven -->
+ <include>org.argeo.dep.osgi:org.argeo.dep.osgi.aether</include>
+ <!-- Misc -->
+ <include>net.sourceforge.jexcelapi:com.springsource.jxl</include>
+ </includes>
+ </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>
\ No newline at end of file
-<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">
+<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.slc</groupId>
<dependencies>
<dependency>
<groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.rcp</artifactId>
- <version>${version.slc}</version>
+ <artifactId>org.argeo.slc.client.ui</artifactId>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.ui</artifactId>
- <version>${version.slc}</version>
+ <artifactId>org.argeo.slc.client.ui.dist</artifactId>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>rpmbuild</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <excludeTransitive>true</excludeTransitive>
+ <outputDirectory>${project.build.directory}/slc-eclipse</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-slc-eclipse</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>slc-eclipse</name>
+ <copyright>2011 Argeo</copyright>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi/eclipse</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <sources>
+ <source>
+ <location>${project.build.directory}/slc-eclipse</location>
+ </source>
+ </sources>
+ </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>
\ No newline at end of file
</plugins>
</build>
<dependencies>
- <!-- Perspectives -->
<dependency>
- <groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.ui</artifactId>
- <version>${version.slc}</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.ui.dist</artifactId>
- <version>${version.slc}</version>
- </dependency>
- <!-- Secure Application -->
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dep.node.rap</artifactId>
- <version>${version.argeo-commons}</version>
- <exclusions>
-<!-- <exclusion> -->
-<!-- <groupId>org.argeo.commons.security</groupId> -->
-<!-- <artifactId>org.argeo.security.ui.admin</artifactId> -->
-<!-- </exclusion> -->
-
- <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>
+ <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.rap</artifactId>
- <version>${version.slc}</version>
+ <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>${version.slc}</version>
- </dependency>
-
- <!-- TEST and target platform generation -->
- <!-- Default Tomcat conf (for development) -->
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.server.tomcat</artifactId>
- <version>${version.argeo-commons}</version>
- <scope>test</scope>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
- <!-- Apache Directory -->
+ <!-- Secure Application -->
<dependency>
<groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dep.ads</artifactId>
- <type>pom</type>
+ <artifactId>org.argeo.security.dep.node.rap</artifactId>
<version>${version.argeo-commons}</version>
- <scope>test</scope>
+ <!-- <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 -->
<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
<dependencies>
<!-- Perspectives -->
<dependency>
- <groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.ui</artifactId>
+ <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>0.13.1-SNAPSHOT</version>
- </dependency>
- <!-- Secure Application -->
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dep.node.rcp</artifactId>
- <version>${version.argeo-commons}</version>
- <exclusions>
- <exclusion>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.ui.admin</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
<dependency>
<groupId>org.argeo.slc.eclipse</groupId>
<artifactId>org.argeo.slc.client.rcp</artifactId>
<version>0.13.1-SNAPSHOT</version>
</dependency>
+
<!-- Back-end Dependencies -->
<dependency>
<groupId>org.argeo.slc.dep</groupId>
<version>0.13.1-SNAPSHOT</version>
</dependency>
+ <!-- Secure Application -->
+ <dependency>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.dep.node.rcp</artifactId>
+ <version>${version.argeo-commons}</version>
+ </dependency>
+
<!-- For target platform generation -->
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<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-rcp</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>slc-rcp</name>
+ <copyright>2011 Argeo</copyright>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi/rcp</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <dependency>
+ <includes>
+ <include>org.argeo.slc.eclipse:org.argeo.slc.client.rcp</include>
+ </includes>
+ </dependency>
+ </mapping>
+ </mappings>
+ <requires>
+ <require>slc-eclipse</require>
+ <require>slc-libs</require>
+ <require>argeo-node-rcp</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
<module>org.argeo.slc.dep.server</module>
<module>org.argeo.slc.dep.detached</module>
<module>org.argeo.slc.dep.backend</module>
+ <module>org.argeo.slc.dep.eclipse</module>
<module>org.argeo.slc.dep.sdk.rcp</module>
<module>org.argeo.slc.dep.sdk.rap</module>
</modules>
<groupId>org.argeo.slc.dist</groupId>
<artifactId>slc</artifactId>
<packaging>pom</packaging>
- <name>SLC Node (zip, rpm)</name>
+ <name>SLC Node (RPM)</name>
<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <includeTypes>jar</includeTypes>
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<groupId>org.argeo.commons.osgi</groupId>
<artifactId>org.argeo.osgi.boot</artifactId>
</exclusion>
+ <!-- Node -->
+ <exclusion>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.dep.node.rap</artifactId>
+ </exclusion>
</exclusions>
</dependency>
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.server.tomcat</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dep.ads</artifactId>
- <type>pom</type>
- <version>${version.argeo-commons}</version>
- </dependency>
</dependencies>
<profiles>
<profile>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
- <version>2.1-alpha-1</version>
- <extensions>true</extensions>
- <configuration>
- <version>${project.version}</version>
- <release>r${buildNumber}.argeo</release>
- <copyright>2011 Argeo</copyright>
- <distribution>argeo</distribution>
- <packager>mbaudier@argeo.org</packager>
- <group>Applications/System</group>
- <prefix>/usr</prefix>
- </configuration>
<executions>
<execution>
- <id>rpm-sdk</id>
+ <id>rpm-slc</id>
<phase>package</phase>
<goals>
<goal>rpm</goal>
</goals>
<configuration>
+ <name>slc</name>
+ <copyright>2011 Argeo</copyright>
<mappings>
<mapping>
<directory>/usr/bin</directory>
<sources>
<source>
<location>src/main/rpm/usr/bin</location>
- <includes>
- <include>*</include>
- </includes>
</source>
</sources>
</mapping>
<sources>
<source>
<location>src/main/rpm/etc/init.d</location>
- <includes>
- <include>*</include>
- </includes>
</source>
</sources>
</mapping>
<mapping>
- <directory>/etc/${project.artifactId}</directory>
+ <directory>/etc/slc</directory>
<username>root</username>
- <groupname>${project.artifactId}</groupname>
+ <groupname>slc</groupname>
<filemode>640</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
- <location>src/main/rpm/etc/${project.artifactId}</location>
- <includes>
- <include>*</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/usr/share/${project.artifactId}/lib</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>target/lib</location>
- <includes>
- <include>*.jar</include>
- </includes>
+ <location>src/main/rpm/etc/slc</location>
</source>
</sources>
</mapping>
<scriptFile>src/main/scripts/preremove</scriptFile>
</preremoveScriptlet>
<requires>
+ <require>slc-libs</require>
<require>osgi-boot</require>
+ <require>java-1.6.0-openjdk</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>
# RAP SPECIFIC
eclipse.ignoreApp=true
osgi.noShutdown=true
+
+# DO NOT CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
+osgi.bundles=org.argeo.osgi.boot.jar@start
+argeo.osgi.bundles=\
+/etc/slc/modules;in=*,\
+/usr/share/slc/lib;in=*.jar,\
+/usr/share/osgi;in=*.jar,\
+/usr/share/eclipse-rap;in=*.jar,\
+/usr/share/osgi/eclipse;in=*.jar,\
+/usr/share/osgi/rap;in=*.jar,\
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Export-Package>
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.specs</artifactId>
- <version>${version.slc}</version>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<dependency>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Export-Package>
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.core</artifactId>
- <version>${version.slc}</version>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<!-- Spring -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Fragment-Host>org.argeo.slc.core</Fragment-Host>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Export-Package>
</instructions>
</configuration>
</plugin>
-
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.core</artifactId>
- <version>${version.slc}</version>
+ <version>0.13.1-SNAPSHOT</version>
</dependency>
<!-- SSH -->
getSshTarget().getHost(), getSshTarget().getPort());
session.setUserInfo(getSshTarget().getUserInfo());
+ session.setServerAliveInterval(1000);
session.connect();
if (log.isDebugEnabled())
log.debug("Connected to " + getSshTarget() + " via SSH");
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
</plugin>
<plugin>
<groupId>org.argeo.slc.maven</groupId>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Import-Package>