]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - dep/org.argeo.slc.dep.backend/pom.xml
[maven-release-plugin] prepare release argeo-slc-1.1.3
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.backend / pom.xml
index 2593a73202f19b15510c0bdbe63e940207b3601c..fc41c7a4277789673deb64564181ea9249033742 100644 (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>
                <artifactId>dep</artifactId>
-               <version>0.13.1-SNAPSHOT</version>
+               <version>1.1.3</version>
                <relativePath>..</relativePath>
        </parent>
-
-       <groupId>org.argeo.slc.dep</groupId>
-       <artifactId>org.argeo.slc.backend</artifactId>
-       <name>SLC BACKEND Dependencies</name>
-<!--   <build>-->
-<!--           <plugins>-->
-<!--                   <plugin>-->
-<!--                           <groupId>org.argeo.maven.plugins</groupId>-->
-<!--                           <artifactId>maven-argeo-osgi-plugin</artifactId>-->
-<!--                   </plugin>-->
-<!--           </plugins>-->
-<!--   </build>-->
+       <artifactId>org.argeo.slc.dep.backend</artifactId>
+       <name>SLC Backend Dependencies</name>
+       <description>Shared by RAP and pure server</description>
+       <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>
-               <!-- HACK because of dependencies pb with Maven: version 2.4.0 is required 
-                       by Spring-LDAP while Apache Directory takes 2.1.0 -->
+               <!-- SLC Agent -->
                <dependency>
-                       <groupId>org.apache.commons</groupId>
-                       <artifactId>com.springsource.org.apache.commons.lang</artifactId>
-                       <version>2.4.0</version>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.core</artifactId>
+                       <version>1.1.3</version>
                </dependency>
-
                <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.agent</artifactId>
-                       <version>${project.version}</version>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.support.simple</artifactId>
+                       <version>1.1.3</version>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.server</artifactId>
-                       <version>${project.version}</version>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.support.ant</artifactId>
+                       <version>1.1.3</version>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.detached</artifactId>
-                       <version>${project.version}</version>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.support.jcr</artifactId>
+                       <version>1.1.3</version>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.gis</artifactId>
-                       <version>${project.version}</version>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.support.equinox</artifactId>
+                       <version>1.1.3</version>
                </dependency>
 
-               <!-- SLC non deps -->
+               <!-- SLC Agent Modules -->
                <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.unit</artifactId>
-                       <version>${project.version}</version>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.agent</artifactId>
+                       <version>1.1.3</version>
                </dependency>
-
-               <!-- TO BE DELETED <dependency> <groupId>org.argeo.slc.dep</groupId> <artifactId>org.argeo.slc.dep.eclipse</artifactId> 
-                       <version>${project.version}</version> </dependency> -->
                <dependency>
-                       <groupId>org.argeo.slc.server</groupId>
-                       <artifactId>org.argeo.slc.ria</artifactId>
-                       <version>${project.version}</version>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.agent.jcr</artifactId>
+                       <version>1.1.3</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.node.jackrabbit</artifactId>
+                       <version>1.1.3</version>
                </dependency>
 
-               <!-- Modules (see profiles below) -->
+               <!-- SLC Repo -->
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.repo</artifactId>
+                       <version>1.1.3</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.server.repo</artifactId>
+                       <version>1.1.3</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.server.repo.webapp</artifactId>
+                       <version>1.1.3</version>
+               </dependency>
 
                <!-- Launcher -->
                <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
+                       <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.launcher</artifactId>
-                       <version>${project.version}</version>
+                       <version>1.1.3</version>
                        <type>tar.gz</type>
                        <classifier>base</classifier>
                </dependency>
 
-               <!-- Felix -->
+               <!-- Node -->
                <dependency>
-                       <groupId>org.apache.felix</groupId>
-                       <artifactId>org.osgi.service.obr</artifactId>
+                       <groupId>org.argeo.commons.security</groupId>
+                       <artifactId>org.argeo.security.dep.node</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
                </dependency>
-               <dependency>
-                       <groupId>org.apache.felix</groupId>
-                       <artifactId>org.apache.felix.bundlerepository</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>${project.version}</version>
-                                       <type>pom</type>
-                               </dependency>
-                               <dependency>
-                                       <groupId>org.argeo.slc.modules</groupId>
-                                       <artifactId>org.argeo.slc.modules.server.bundles</artifactId>
-                                       <version>${project.version}</version>
-                                       <type>pom</type>
-                               </dependency>
-                               <dependency>
-                                       <groupId>org.argeo.slc.eclipse</groupId>
-                                       <artifactId>org.argeo.slc.eclipse.plugins.modules.bundles</artifactId>
-                                       <version>${project.version}</version>
-                                       <type>pom</type>
-                               </dependency>
-                       </dependencies>
+                       <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>sdkWithoutModules</id>
+                       <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</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>release</id>
-                       <properties>
-                               <argeo.p2.repository>/srv/projects/slc/www/sdk</argeo.p2.repository>
-                       </properties>
-                       <dependencies>
-                               <dependency>
-                                       <groupId>org.argeo.slc.modules</groupId>
-                                       <artifactId>org.argeo.slc.modules.agent.bundles</artifactId>
-                                       <version>${project.version}</version>
-                                       <type>pom</type>
-                               </dependency>
-                               <dependency>
-                                       <groupId>org.argeo.slc.modules</groupId>
-                                       <artifactId>org.argeo.slc.modules.server.bundles</artifactId>
-                                       <version>${project.version}</version>
-                                       <type>pom</type>
-                               </dependency>
-                               <dependency>
-                                       <groupId>org.argeo.slc.eclipse</groupId>
-                                       <artifactId>org.argeo.slc.eclipse.plugins.modules.bundles</artifactId>
-                                       <version>${project.version}</version>
-                                       <type>pom</type>
-                               </dependency>
-                       </dependencies>
+                       <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.argeo.tp:org.aspectj.runtime</include>
+                                                                                                       <include>org.argeo.tp:org.aspectj.weaver</include>
+                                                                                                       <!-- Simple -->
+                                                                                                       <include>org.argeo.tp:com.jcraft.jsch</include>
+                                                                                                       <include>org.argeo.tp:org.quartz</include>
+                                                                                                       <include>org.argeo.tp:org.springframework.context.support</include>
+                                                                                                       <include>org.argeo.tp:javax.mail</include>
+                                                                                                       <include>org.argeo.tp:org.tmatesoft.svn</include>
+                                                                                                       <include>org.argeo.tp:org.redline_rpm</include>
+                                                                                                       <!-- Ant -->
+                                                                                                       <include>org.argeo.tp:org.apache.tools.ant</include>
+                                                                                                       <include>org.argeo.tp:org.apache.tools.ant.launch</include>
+                                                                                                       <include>org.argeo.tp:org.apache.oro</include>
+                                                                                                       <include>org.argeo.tp:org.apache.bsf</include>
+                                                                                                       <!-- Maven -->
+                                                                                                       <include>org.argeo.tp:org.sonatype.aether</include>
+                                                                                                       <!-- Misc -->
+                                                                                                       <include>org.argeo.tp:jxl</include>
+                                                                                                       <include>org.argeo.tp:biz.aQute.bndlib</include>
+                                                                                               </includes>
+                                                                                       </dependency>
+                                                                               </mapping>
+                                                                       </mappings>
+                                                                       <requires>
+                                                                               <require>argeo-node-tp</require>
+                                                                       </requires>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
                </profile>
        </profiles>
 </project>
\ No newline at end of file