Improve RPM packaging
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 9 Dec 2011 15:24:06 +0000 (15:24 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 9 Dec 2011 15:24:06 +0000 (15:24 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@4929 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

dep/org.argeo.slc.dep.agent/p2.inf [deleted file]
dep/org.argeo.slc.dep.agent/pom.xml [deleted file]
dep/org.argeo.slc.dep.backend/pom.xml
dep/org.argeo.slc.dep.detached/pom.xml
dep/org.argeo.slc.dep.eclipse/pom.xml
dep/org.argeo.slc.dep.sdk.rap/pom.xml
dep/org.argeo.slc.dep.sdk.rcp/pom.xml
dep/org.argeo.slc.dep.server/p2.inf [deleted file]
dep/org.argeo.slc.dep.server/pom.xml [deleted file]
dep/pom.xml
eclipse/plugins/org.argeo.slc.client.ui.dist/pom.xml

diff --git a/dep/org.argeo.slc.dep.agent/p2.inf b/dep/org.argeo.slc.dep.agent/p2.inf
deleted file mode 100644 (file)
index 0423aa5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-properties.1.name=org.eclipse.equinox.p2.type.category
-properties.1.value=true
\ No newline at end of file
diff --git a/dep/org.argeo.slc.dep.agent/pom.xml b/dep/org.argeo.slc.dep.agent/pom.xml
deleted file mode 100644 (file)
index 1046a9c..0000000
+++ /dev/null
@@ -1,185 +0,0 @@
-<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>
-               <artifactId>dep</artifactId>
-               <version>0.13.1-SNAPSHOT</version>
-               <relativePath>..</relativePath>
-       </parent>
-       <groupId>org.argeo.slc.dep</groupId>
-       <artifactId>org.argeo.slc.dep.agent</artifactId>
-       <packaging>jar</packaging>
-       <name>SLC Agent Dependencies</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>maven-argeo-osgi-plugin</artifactId>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <!-- Commons -->
-               <dependency>
-                       <groupId>org.argeo.commons.osgi</groupId>
-                       <artifactId>org.argeo.osgi.boot</artifactId>
-                       <version>${version.argeo-commons}</version>
-               </dependency>
-               <!-- <dependency> -->
-               <!-- <groupId>org.argeo.commons.server</groupId> -->
-               <!-- <artifactId>org.argeo.server.modeshape</artifactId> -->
-               <!-- <version>${version.argeo-commons}</version> -->
-               <!-- </dependency> -->
-
-               <!-- SLC -->
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.core</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.simple</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.equinox</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.activemq</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.ant</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.jcr</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.launcher</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <!-- <dependency> -->
-               <!-- <groupId>org.argeo.slc.runtime</groupId> -->
-               <!-- <artifactId>org.argeo.slc.support.maven</artifactId> -->
-               <!-- <version>${version.slc}</version> -->
-               <!-- </dependency> -->
-
-               <!-- Active MQ -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.activemq</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.activemq</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-               </dependency>
-
-               <!-- Javax (JDK 1.5) -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.javax</artifactId>
-                       <version>0.3.3-SNAPSHOT</version>
-                       <type>pom</type>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.xmlcommons</groupId>
-                       <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.xalan</groupId>
-                       <artifactId>com.springsource.org.apache.xalan</artifactId>
-               </dependency>
-
-               <!-- Various third parties -->
-               <dependency>
-                       <groupId>org.springframework</groupId>
-                       <artifactId>org.springframework.jdbc</artifactId>
-               </dependency>
-               
-               <dependency>
-                       <groupId>org.apache.bsf</groupId>
-                       <artifactId>com.springsource.org.apache.bsf</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.beanshell</groupId>
-                       <artifactId>com.springsource.bsh</artifactId>
-               </dependency>
-
-               <!-- DB Drivers -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.jdbc</artifactId>
-                       <version>${version.argeo-commons}</version>
-               </dependency>
-               <dependency>
-                       <groupId>com.h2database</groupId>
-                       <artifactId>com.springsource.org.h2</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>net.sourceforge.jtds</groupId>
-                       <artifactId>com.springsource.net.sourceforge.jtds</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>com.mysql.jdbc</groupId>
-                       <artifactId>com.springsource.com.mysql.jdbc</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.postgresql</groupId>
-                       <artifactId>com.springsource.org.postgresql.jdbc3</artifactId>
-               </dependency>
-               <!-- Required by the Oracle JDBC driver -->
-               <!-- <dependency> -->
-               <!-- <groupId>javax.resource</groupId> -->
-               <!-- <artifactId>com.springsource.javax.resource</artifactId> -->
-               <!-- </dependency> -->
-
-               <!-- Jacob (will be removed soon) -->
-               <!-- <dependency> <groupId>org.argeo.dep.jacob</groupId> <artifactId>org.argeo.dep.jacob.win32.x86</artifactId> 
-                       </dependency> -->
-               <!-- Languages <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>com.springsource.org.codehaus.groovy</artifactId> 
-                       </dependency> -->
-               <!-- ASM -->
-               <!-- <dependency> -->
-               <!-- <groupId>org.objectweb.asm</groupId> -->
-               <!-- <artifactId>com.springsource.org.objectweb.asm</artifactId> -->
-               <!-- </dependency> -->
-               <!-- <dependency> -->
-               <!-- <groupId>org.objectweb.asm</groupId> -->
-               <!-- <artifactId>com.springsource.org.objectweb.asm.attrs</artifactId> -->
-               <!-- </dependency> -->
-
-       </dependencies>
-       <profiles>
-               <profile>
-                       <id>sdkWithModules</id>
-                       <activation>
-                               <activeByDefault>true</activeByDefault>
-                       </activation>
-                       <dependencies>
-                               <dependency>
-                                       <groupId>org.argeo.slc.modules</groupId>
-                                       <artifactId>org.argeo.slc.modules.agent.bundles</artifactId>
-                                       <version>${version.slc}</version>
-                                       <type>pom</type>
-                               </dependency>
-                       </dependencies>
-               </profile>
-               <profile>
-                       <id>sdkWithoutModules</id>
-               </profile>
-       </profiles>
-</project>
\ No newline at end of file
index 64490a13dcac990cbaf634bac4a4397ddf2fdf6a..fcc1a504abdb5668e94067ec3099fc327f1fc5bc 100644 (file)
                        <plugin>
                                <groupId>org.argeo.maven.plugins</groupId>
                                <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>generate-descriptors</id>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                                       <execution>
+                                               <id>check-osgi</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>equinox</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <onlyCheck>true</onlyCheck>
+                                                       <argsToAppend>
+                                                               <arg>-clean</arg>
+                                                       </argsToAppend>
+                                               </configuration>
+                                       </execution>
+                               </executions>
                        </plugin>
                </plugins>
        </build>
index 84602bc3f228846b66c0616f84336022b0ef96ae..a4b858a82f8e7b1b6741d8be349f7838205299a0 100644 (file)
@@ -12,7 +12,6 @@
        <packaging>jar</packaging>
        <name>SLC Detached Dependencies</name>
        <dependencies>
-
                <dependency>
                        <groupId>org.argeo.slc.runtime</groupId>
                        <artifactId>org.argeo.slc.detached</artifactId>
index d576c8dcf1086b0cba42a6f6d02c322088e263e2..a37af19630a626a9b009d576b9dd07831207bd6f 100644 (file)
@@ -9,8 +9,24 @@
        </parent>
        <groupId>org.argeo.slc.dep</groupId>
        <artifactId>org.argeo.slc.dep.eclipse</artifactId>
-       <packaging>jar</packaging>
        <name>SLC Eclipse Dependencies</name>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>generate-descriptors</id>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
        <dependencies>
                <dependency>
                        <groupId>org.argeo.slc.eclipse</groupId>
                        <artifactId>org.argeo.slc.client.ui.dist</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>
        </dependencies>
        <profiles>
                <profile>
                                                                                        </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>
+                                                                       <requires>
+                                                                               <require>slc-libs</require>
+                                                                       </requires>
                                                                </configuration>
                                                        </execution>
                                                </executions>
index 563ad457a7705bef732d0e5024b27bed0afc5494..71bc738576de7742fc6d7a3fe9bf0a24cb9ee70b 100644 (file)
                        <plugin>
                                <groupId>org.argeo.maven.plugins</groupId>
                                <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>resolve-pde-sources</id>
+                                               <goals>
+                                                       <goal>pde-sources</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                               <configuration>
+                                                       <copyArtifacts>false</copyArtifacts>
+                                               </configuration>
+                                       </execution>
+                                       <execution>
+                                               <id>generate-descriptors</id>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                                       <execution>
+                                               <id>check-osgi</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>equinox</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <onlyCheck>true</onlyCheck>
+                                                       <argsToAppend>
+                                                               <arg>-clean</arg>
+                                                       </argsToAppend>
+                                               </configuration>
+                                       </execution>
+                               </executions>
                        </plugin>
                </plugins>
        </build>
                        <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.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.runtime</groupId>
-                       <artifactId>org.argeo.slc.unit</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-                       <scope>test</scope>
                </dependency>
        </dependencies>
        <profiles>
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>slc-eclipse</require>
-                                                                               <require>slc-libs</require>
                                                                                <require>argeo-node-rap</require>
                                                                        </requires>
                                                                </configuration>
index e19e4bb8414f6a3b3c90e9275b7e33042b711c94..7d9f4b403f3c458eae9439c3861cfb000ac80118 100644 (file)
                        <plugin>
                                <groupId>org.argeo.maven.plugins</groupId>
                                <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>generate-descriptors</id>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                                       <execution>
+                                               <id>check-osgi</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>equinox</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <onlyCheck>true</onlyCheck>
+                                                       <argsToAppend>
+                                                               <arg>-clean</arg>
+                                                       </argsToAppend>
+                                               </configuration>
+                                       </execution>
+                               </executions>
                        </plugin>
                </plugins>
        </build>
                        <artifactId>org.argeo.slc.client.rcp</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>
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>slc-eclipse</require>
-                                                                               <require>slc-libs</require>
                                                                                <require>argeo-node-rcp</require>
                                                                        </requires>
                                                                </configuration>
diff --git a/dep/org.argeo.slc.dep.server/p2.inf b/dep/org.argeo.slc.dep.server/p2.inf
deleted file mode 100644 (file)
index 0423aa5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-properties.1.name=org.eclipse.equinox.p2.type.category
-properties.1.value=true
\ No newline at end of file
diff --git a/dep/org.argeo.slc.dep.server/pom.xml b/dep/org.argeo.slc.dep.server/pom.xml
deleted file mode 100644 (file)
index 9184414..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-<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>
-               <artifactId>dep</artifactId>
-               <version>0.13.1-SNAPSHOT</version>
-               <relativePath>..</relativePath>
-       </parent>
-       <groupId>org.argeo.slc.dep</groupId>
-       <artifactId>org.argeo.slc.dep.server</artifactId>
-       <packaging>jar</packaging>
-       <name>SLC Server Dependencies</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>maven-argeo-osgi-plugin</artifactId>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <!-- Other deps -->
-               <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.backend</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.hibernate</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.castor</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-               </dependency>
-
-               <!-- SLC non deps -->
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.unit</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-               </dependency>
-
-
-               <!-- Provided -->
-               <dependency>
-                       <groupId>org.apache.xmlcommons</groupId>
-                       <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>javax.xml.stream</groupId>
-                       <artifactId>com.springsource.javax.xml.stream</artifactId>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.argeo.slc.server</groupId>
-                       <artifactId>org.argeo.slc.ria</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-               </dependency>
-
-               <!-- Commons -->
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.dep.node</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-               </dependency>
-
-               <!-- Security -->
-               <dependency>
-                       <groupId>org.springframework.security</groupId>
-                       <artifactId>org.springframework.security.taglibs</artifactId>
-               </dependency>
-
-               <!-- OSGi integration -->
-               <dependency>
-                       <groupId>org.eclipse.osgi</groupId>
-                       <artifactId>org.eclipse.osgi</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.web.extender</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.extender</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.web</artifactId>
-               </dependency>
-
-               <!-- JEE -->
-               <dependency>
-                       <groupId>javax.persistence</groupId>
-                       <artifactId>com.springsource.javax.persistence</artifactId>
-               </dependency>
-
-               <!-- AOP -->
-               <dependency>
-                       <groupId>org.aopalliance</groupId>
-                       <artifactId>com.springsource.org.aopalliance</artifactId>
-               </dependency>
-
-               <!-- Tomcat -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.tomcat</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-               </dependency>
-
-               <!-- Javax (JDK 1.5) -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.javax</artifactId>
-                       <version>0.3.3-SNAPSHOT</version>
-                       <type>pom</type>
-               </dependency>
-
-               <!-- Jackrabbit -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.jackrabbit</artifactId>
-                       <version>${version.argeo-commons}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.json</artifactId>
-                       <version>${version.argeo-commons}</version>
-               </dependency>
-
-               <!-- Required in JDK 1.5 -->
-               <dependency>
-                       <groupId>com.sun.xml</groupId>
-                       <artifactId>com.springsource.com.sun.xml.messaging.saaj</artifactId>
-               </dependency>
-
-       </dependencies>
-       <profiles>
-               <profile>
-                       <id>sdkWithModules</id>
-                       <activation>
-                               <activeByDefault>true</activeByDefault>
-                       </activation>
-                       <dependencies>
-                               <dependency>
-                                       <groupId>org.argeo.slc.modules</groupId>
-                                       <artifactId>org.argeo.slc.modules.server.bundles</artifactId>
-                                       <version>${version.slc}</version>
-                                       <type>pom</type>
-                               </dependency>
-                       </dependencies>
-               </profile>
-               <profile>
-                       <id>sdkWithoutModules</id>
-               </profile>
-       </profiles>
-</project>
\ No newline at end of file
index 37bfebeecea18904b7cd12047c0c8fbbdf7a6784..d3295ea0ac950c52c8ac674cee6fd177f034b31b 100644 (file)
@@ -11,8 +11,6 @@
        <name>SLC Dependencies</name>
        <packaging>pom</packaging>
        <modules>
-               <module>org.argeo.slc.dep.agent</module>
-               <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>
                        </resource>
                </resources>
                <plugins>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>buildnumber-maven-plugin</artifactId>
-                               <configuration>
-                                       <useLastCommittedRevision>false</useLastCommittedRevision>
-                               </configuration>
-                       </plugin>
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
                        </plugin>
                </plugins>
-               <pluginManagement>
-                       <plugins>
-                               <plugin>
-                                       <groupId>org.argeo.maven.plugins</groupId>
-                                       <artifactId>maven-argeo-osgi-plugin</artifactId>
-                                       <executions>
-                                               <execution>
-                                                       <id>resolve-pde-sources</id>
-                                                       <goals>
-                                                               <goal>pde-sources</goal>
-                                                       </goals>
-                                                       <phase>generate-resources</phase>
-                                                       <configuration>
-                                                               <copyArtifacts>false</copyArtifacts>
-                                                       </configuration>
-                                               </execution>
-                                               <execution>
-                                                       <id>generate-descriptors</id>
-                                                       <goals>
-                                                               <goal>descriptors</goal>
-                                                       </goals>
-                                                       <phase>generate-resources</phase>
-                                               </execution>
-                                               <execution>
-                                                       <id>check-osgi</id>
-                                                       <phase>test</phase>
-                                                       <goals>
-                                                               <goal>equinox</goal>
-                                                       </goals>
-                                                       <configuration>
-                                                               <onlyCheck>true</onlyCheck>
-                                                               <argsToAppend>
-                                                                       <arg>-clean</arg>
-                                                               </argsToAppend>
-                                                       </configuration>
-                                               </execution>
-                                       </executions>
-                               </plugin>
-                       </plugins>
-               </pluginManagement>
        </build>
+       <dependencies>
+               <!-- For target platform generation -->
+               <dependency>
+                       <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>
+                                               <artifactId>maven-antrun-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <phase>install</phase>
+                                                               <goals>
+                                                                       <goal>run</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       <target>
+                                                                               <copy todir="${rpm.stagingRepository}" verbose="true"
+                                                                                       failonerror="false">
+                                                                                       <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
index 5070b0c54909fd56683f3a6956be8b936c73bd6d..6e0d789050c193d1e5837b2d48b1f12d6aa92b1c 100644 (file)
 
 
        <dependencies>
-               <!-- Eclipse and RCP only dependency, needed at compile time -->
-               <dependency>
-                       <groupId>org.argeo.commons.eclipse</groupId>
-                       <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>provided</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.eclipse</groupId>
-                       <artifactId>org.argeo.eclipse.ui.rcp</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>provided</scope>
-               </dependency>
-
-
                <!-- Commons UI -->
                <dependency>
                        <groupId>org.argeo.commons.eclipse</groupId>