<parent>
<groupId>org.argeo.slc</groupId>
<artifactId>dep</artifactId>
- <version>1.1.17</version>
+ <version>2.1.17</version>
<relativePath>..</relativePath>
</parent>
<artifactId>org.argeo.slc.dep.minimal</artifactId>
- <name>SLC Minimal Dependencies</name>
- <description>The minimal set of dependencies required to run an SLC execution</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>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <name>SLC Agent</name>
<dependencies>
- <!-- Absolutely minimal SLC Agent -->
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.core</artifactId>
- <version>1.1.17</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.support.osgi</artifactId>
- <version>1.1.17</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.support.equinox</artifactId>
- <version>1.1.17</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.agent</artifactId>
- <version>1.1.17</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.base</groupId>
- <artifactId>org.argeo.osgi.boot</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.tp</groupId>
- <artifactId>org.springframework.osgi.extender</artifactId>
- </dependency>
+ <!-- Parent dependencies -->
<dependency>
- <groupId>org.argeo.commons.base</groupId>
- <artifactId>org.argeo.dep.log4j</artifactId>
+ <groupId>org.argeo.commons</groupId>
+ <artifactId>org.argeo.dep.cms.node</artifactId>
<version>${version.argeo-commons}</version>
<type>pom</type>
</dependency>
-
- <!-- CLI Agent -->
-<!-- <dependency> -->
-<!-- <groupId>org.argeo.slc</groupId> -->
-<!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
-<!-- <version>1.1.12-SNAPSHOT</version> -->
-<!-- </dependency> -->
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.agent.cli</artifactId>
- <version>1.1.17</version>
- </dependency>
-
- <!-- JCR Agent -->
+
+ <!-- Absolutely minimal SLC Agent -->
<dependency>
<groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.support.jcr</artifactId>
- <version>1.1.17</version>
+ <artifactId>org.argeo.slc.api</artifactId>
+ <version>2.1.17</version>
</dependency>
<dependency>
<groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.agent.jcr</artifactId>
- <version>1.1.17</version>
+ <artifactId>org.argeo.slc.runtime</artifactId>
+ <version>2.1.17</version>
</dependency>
<dependency>
<groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.node.jackrabbit</artifactId>
- <version>1.1.17</version>
- </dependency>
-
- <!-- Node subset -->
- <!-- Default JCR repositories configurations -->
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
-
- <!-- Argeo Security -->
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.core</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
-
- <!-- VFS -->
- <dependency>
- <groupId>org.argeo.tp</groupId>
- <artifactId>org.apache.commons.vfs</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.argeo.tp</groupId>
- <artifactId>org.apache.xmlcommons</artifactId>
- </exclusion>
- </exclusions>
+ <artifactId>org.argeo.slc.jcr</artifactId>
+ <version>2.1.17</version>
</dependency>
- <!-- Xerces and Xalan -->
- <dependency>
- <groupId>org.argeo.tp</groupId>
- <artifactId>org.apache.xmlcommons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.argeo.tp</groupId>
- <artifactId>org.apache.xalan</artifactId>
- </dependency>
-
- <!-- Javax -->
- <dependency>
- <groupId>org.argeo.tp</groupId>
- <artifactId>javax.annotation</artifactId>
- </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.security</groupId>
- <artifactId>org.argeo.security.jackrabbit</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
-
- <!-- Security (Jackrabbit) -->
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dao.jackrabbit</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
-
- <!-- Security (Standalone) -->
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dao.os</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
+ <!-- CLI Agent -->
+ <!-- <dependency> -->
+ <!-- <groupId>org.argeo.slc</groupId> -->
+ <!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
+ <!-- <version>1.1.12-SNAPSHOT</version> -->
+ <!-- </dependency> -->
+ <!-- <dependency> -->
+ <!-- <groupId>org.argeo.slc</groupId> -->
+ <!-- <artifactId>org.argeo.slc.agent.cli</artifactId> -->
+ <!-- <version>2.1.1-SNAPSHOT</version> -->
+ <!-- </dependency> -->
- <!-- DB drivers -->
- <dependency>
- <groupId>org.argeo.tp</groupId>
- <artifactId>org.h2</artifactId>
- </dependency>
</dependencies>
<profiles>
<profile>
- <id>check-osgi</id>
+ <id>rpmbuild</id>
<build>
<plugins>
<plugin>
- <groupId>org.argeo.maven.plugins</groupId>
- <artifactId>maven-argeo-osgi-plugin</artifactId>
+ <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>check-osgi</id>
- <phase>test</phase>
+ <id>rpm-argeo</id>
+ <phase>package</phase>
<goals>
- <goal>equinox</goal>
+ <goal>rpm</goal>
</goals>
<configuration>
- <onlyCheck>true</onlyCheck>
+ <name>slc-agent</name>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>true</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-node</require>
+ </requires>
</configuration>
</execution>
</executions>