[maven-release-plugin] prepare release argeo-commons-2.3.0
[lgpl/argeo-commons.git] / dep / org.argeo.dep.cms.client / pom.xml
index 88260c19e5f530b84a9999549024a95e803549fc..35bfd18469e475381c8951cccf4ea0499ae44d5d 100644 (file)
@@ -1,10 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<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.commons</groupId>
-               <version>2.1.31-SNAPSHOT</version>
+               <version>2.3.0</version>
                <artifactId>dep</artifactId>
                <relativePath>..</relativePath>
        </parent>
                <!-- Argeo Commons -->
                <dependency>
                        <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.security.core</artifactId>
-                       <version>2.1.31-SNAPSHOT</version>
+                       <artifactId>org.argeo.enterprise</artifactId>
+                       <version>2.3.0</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.server.jcr</artifactId>
-                       <version>2.1.31-SNAPSHOT</version>
+                       <artifactId>org.argeo.jcr</artifactId>
+                       <version>2.3.0</version>
                </dependency>
-               <!-- <dependency> -->
-               <!-- <groupId>org.argeo.commons</groupId> -->
-               <!-- <artifactId>org.argeo.security.jackrabbit</artifactId> -->
-               <!-- <version>2.1.31-SNAPSHOT</version> -->
-               <!-- </dependency> -->
                <dependency>
                        <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.osgi.boot</artifactId>
-                       <version>2.1.31-SNAPSHOT</version>
-                       <scope>test</scope>
+                       <artifactId>org.argeo.core</artifactId>
+                       <version>2.3.0</version>
                </dependency>
 
                <!-- Third Parties -->
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.javax</groupId>
-                       <artifactId>javax.transaction</artifactId>
+                       <artifactId>javax.el-api</artifactId>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.tp.apache</groupId>
-                       <artifactId>org.apache.log4j</artifactId>
+                       <groupId>org.argeo.tp.javax</groupId>
+                       <artifactId>javax.interceptor-api</artifactId>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.tp.misc</groupId>
-                       <artifactId>com.jcraft.jsch</artifactId>
+                       <groupId>org.argeo.tp.javax</groupId>
+                       <artifactId>javax.enterprise.cdi-api</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.tp.javax</groupId>
+                       <artifactId>javax.transaction-api</artifactId>
+               </dependency>
+               
+               <dependency>
+                       <groupId>org.argeo.tp.apache</groupId>
+                       <artifactId>org.apache.log4j</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.misc</groupId>
                        <groupId>org.argeo.tp.misc</groupId>
                        <artifactId>org.slf4j.commons.logging</artifactId>
                </dependency>
+
+               <!-- OSGi annotations -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.tp.sdk</groupId> -->
+<!--                   <artifactId>osgi.annotation</artifactId> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.tp.sdk</groupId> -->
+<!--                   <artifactId>org.osgi.service.metatype.annotations</artifactId> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.tp.sdk</groupId> -->
+<!--                   <artifactId>org.osgi.service.component.annotations</artifactId> -->
+<!--           </dependency> -->
+
+
                <dependency>
                        <groupId>org.argeo.tp.bouncycastle</groupId>
-                       <artifactId>bcprov</artifactId>
+                       <artifactId>bcpkix</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.bouncycastle</groupId>
-                       <artifactId>bcpkix</artifactId>
+                       <artifactId>bcpg</artifactId>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.argeo.tp.apache</groupId>
+                       <artifactId>org.apache.httpcomponents.httpcore</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.tp.apache</groupId>
+                       <artifactId>org.apache.httpcomponents.httpclient</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.apache.commons</groupId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.apache.commons</groupId>
-                       <artifactId>org.apache.commons.httpclient</artifactId>
+                       <artifactId>org.apache.commons.cli</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.apache.commons</groupId>
-                       <artifactId>org.apache.commons.vfs</artifactId>
+                       <artifactId>org.apache.commons.httpclient</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.apache.commons</groupId>
                        <groupId>org.argeo.tp.apache.commons</groupId>
                        <artifactId>org.apache.commons.collections</artifactId>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.apache.commons</groupId>
-                       <artifactId>org.apache.commons.dbcp</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.apache.commons</groupId>
-                       <artifactId>org.apache.commons.pool</artifactId>
-               </dependency>
                <dependency>
                        <groupId>org.argeo.tp.apache.commons</groupId>
                        <artifactId>org.apache.commons.compress</artifactId>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.javax</groupId>
-                       <artifactId>javax.servlet</artifactId>
-               </dependency>
+
+               <!-- Equinox -->
                <dependency>
                        <groupId>org.argeo.tp.equinox</groupId>
                        <artifactId>org.eclipse.osgi.util</artifactId>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.equinox</groupId>
-                       <artifactId>org.eclipse.osgi</artifactId>
-               </dependency>
                <dependency>
                        <groupId>org.argeo.tp.equinox</groupId>
                        <artifactId>org.eclipse.equinox.util</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.equinox</groupId>
-                       <artifactId>org.eclipse.equinox.console</artifactId>
+                       <artifactId>org.eclipse.equinox.event</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.equinox</groupId>
-                       <artifactId>org.eclipse.equinox.event</artifactId>
+                       <artifactId>org.eclipse.equinox.app</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.equinox</groupId>
-                       <artifactId>org.eclipse.equinox.app</artifactId>
+                       <artifactId>org.eclipse.equinox.ds</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.tp.equinox</groupId>
+                       <artifactId>org.eclipse.equinox.metatype</artifactId>
+               </dependency>
+
+               <!-- Console -->
+               <dependency>
+                       <groupId>org.argeo.tp.apache.felix</groupId>
+                       <artifactId>org.apache.felix.scr</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.argeo.tp.apache.felix</groupId>
                        <groupId>org.argeo.tp.apache.felix</groupId>
                        <artifactId>org.apache.felix.gogo.shell</artifactId>
                </dependency>
+               <dependency>
+                       <groupId>org.argeo.tp.equinox</groupId>
+                       <artifactId>org.eclipse.equinox.console</artifactId>
+               </dependency>
+
+               <!-- Jackrabbit client -->
                <dependency>
                        <groupId>org.argeo.tp.apache.jackrabbit</groupId>
                        <artifactId>org.apache.jackrabbit.api</artifactId>
                        <artifactId>org.apache.jackrabbit.jcr2spi</artifactId>
                </dependency>
 
+               <!-- Test only -->
+               <dependency>
+                       <groupId>org.argeo.commons</groupId>
+                       <artifactId>org.argeo.osgi.boot</artifactId>
+                       <version>2.3.0</version>
+                       <scope>test</scope>
+               </dependency>
        </dependencies>
+
+       <profiles>
+               <profile>
+                       <id>rpmbuild</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <artifactId>maven-assembly-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <id>prepare-source</id>
+                                                               <phase>package</phase>
+                                                               <goals>
+                                                                       <goal>single</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       <descriptorRefs>
+                                                                               <descriptorRef>a2-source</descriptorRef>
+                                                                       </descriptorRefs>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                                       <plugin>
+                                               <groupId>org.codehaus.mojo</groupId>
+                                               <artifactId>rpm-maven-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <id>rpm-argeo</id>
+                                                               <phase>package</phase>
+                                                               <goals>
+                                                                       <goal>rpm</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       <name>argeo-cms-client</name>
+                                                                       <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}/${project.artifactId}-${project.version}-a2-source</location>
+                                                                                                       <includes>
+                                                                                                               <include>**/*.jar</include>
+                                                                                                       </includes>
+                                                                                               </source>
+                                                                                       </sources>
+                                                                               </mapping>
+                                                                       </mappings>
+                                                                       <requires>
+                                                                               <require>argeo-cms-client-tp</require>
+                                                                               <require>argeo-osgi-boot</require>
+                                                                       </requires>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+               <profile>
+                       <id>rpmbuild-tp</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <artifactId>maven-assembly-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <id>prepare-source-tp</id>
+                                                               <phase>package</phase>
+                                                               <goals>
+                                                                       <goal>single</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       <descriptorRefs>
+                                                                               <descriptorRef>a2-source-tp</descriptorRef>
+                                                                       </descriptorRefs>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                                       <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>argeo-cms-client-tp</name>
+                                                                       <projversion>${version.argeo-tp}</projversion>
+                                                                       <release>${maven.build.timestamp}</release>
+                                                                       <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}/${project.artifactId}-${project.version}-a2-source-tp</location>
+                                                                                                       <includes>
+                                                                                                               <include>**/*.jar</include>
+                                                                                                       </includes>
+                                                                                               </source>
+                                                                                       </sources>
+                                                                               </mapping>
+                                                                       </mappings>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
 </project>
\ No newline at end of file