+++ /dev/null
-<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>dist</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>slc</artifactId>
- <packaging>pom</packaging>
- <name>SLC Legacy Distribution</name>
- <properties>
- <argeo.rpm.stagingRepository>/srv/rpmfactory/legacy/argeo-osgi-2/argeo</argeo.rpm.stagingRepository>
- </properties>
- <profiles>
- <profile>
- <id>dist</id>
- <build>
- <plugins>
- <!-- <plugin> -->
- <!-- <groupId>org.apache.maven.plugins</groupId> -->
- <!-- <artifactId>maven-dependency-plugin</artifactId> -->
- <!-- <executions> -->
- <!-- <execution> -->
- <!-- <id>copy-dependencies-dist</id> -->
- <!-- <phase>package</phase> -->
- <!-- <goals> -->
- <!-- <goal>copy-dependencies</goal> -->
- <!-- </goals> -->
- <!-- <configuration> -->
- <!-- <includeTypes>jar</includeTypes> -->
- <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
- <!-- <outputDirectory>${project.build.directory}/modulest</outputDirectory> -->
- <!-- </configuration> -->
- <!-- </execution> -->
- <!-- </executions> -->
- <!-- </plugin> -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <finalName>argeo-slc-${project.version}</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- <descriptors>
- <descriptor>src/assembly/dist.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>assembly-base</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <!-- Backend -->
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.dep.backend</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- <type>pom</type>
- </dependency>
-
- <!-- SLC Libs -->
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.lib.jcr</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.lib.repo</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- </dependency>
-
- <!-- Launcher -->
- <dependency>
- <groupId>org.argeo.slc</groupId>
- <artifactId>org.argeo.slc.launcher</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- <!-- <type>tar.gz</type> -->
- <!-- <classifier>base</classifier> -->
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>rpmbuild</id>
- <build>
- <plugins>
-<!-- <plugin> -->
-<!-- <groupId>org.apache.maven.plugins</groupId> -->
-<!-- <artifactId>maven-dependency-plugin</artifactId> -->
-<!-- <executions> -->
-<!-- <execution> -->
-<!-- <id>copy-dependencies-rpm</id> -->
-<!-- <phase>package</phase> -->
-<!-- <goals> -->
-<!-- <goal>copy</goal> -->
-<!-- </goals> -->
-<!-- <configuration> -->
-<!-- <includeTypes>jar</includeTypes> -->
-<!-- <stripVersion>true</stripVersion> -->
-<!-- <outputDirectory>${project.build.directory}/boot</outputDirectory> -->
-<!-- <artifactItems> -->
-<!-- <artifactItem> -->
-<!-- <groupId>org.argeo.slc</groupId> -->
-<!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
-<!-- <version>${project.version}</version> -->
-<!-- </artifactItem> -->
-<!-- </artifactItems> -->
-<!-- </configuration> -->
-<!-- </execution> -->
-<!-- </executions> -->
-<!-- </plugin> -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>rpm</id>
- <phase>package</phase>
- <goals>
- <goal>rpm</goal>
- </goals>
- <configuration>
- <name>slc-legacy</name>
- <mappings>
- <mapping>
- <directory>/etc/argeo/conf.d</directory>
- <username>root</username>
- <groupname>argeo</groupname>
- <filemode>640</filemode>
- <configuration>noreplace</configuration>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>rpm/etc/argeo/conf.d</location>
- <includes>
- <include>*.ini</include>
- <include>*.txt</include>
- </includes>
- </source>
- </sources>
- </mapping>
- </mappings>
- <requires>
- <require>argeo-node</require>
- <require>slc-platform</require>
- </requires>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
\ No newline at end of file