+++ /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.commons</groupId>
- <version>2.3-SNAPSHOT</version>
- <artifactId>dist</artifactId>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>argeo-node</artifactId>
- <packaging>pom</packaging>
- <name>Argeo Node</name>
- <profiles>
- <profile>
- <id>dist</id>
- <dependencies>
- <dependency>
- <groupId>org.argeo.commons</groupId>
- <artifactId>org.argeo.dep.cms.client</artifactId>
- <version>2.3-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons</groupId>
- <artifactId>org.argeo.dep.cms.node</artifactId>
- <version>2.3-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons</groupId>
- <artifactId>org.argeo.dep.cms.e4.rap</artifactId>
- <version>2.3-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons</groupId>
- <artifactId>osgi-boot</artifactId>
- <type>zip</type>
- <version>2.3-SNAPSHOT</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <finalName>argeo-node-${version.released}</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- <descriptors>
- <descriptor>assembly/cms-e4-rap.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>assembly-base</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>rpmbuild</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>rpm-node</id>
- <phase>package</phase>
- <goals>
- <goal>rpm</goal>
- </goals>
- <configuration>
- <name>argeo-node${argeo.rpm.suffix}</name>
- <mappings>
- <mapping>
- <directory>/etc/argeo</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>640</filemode>
- <configuration>noreplace</configuration>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>base/etc/argeo</location>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/etc/argeo.d</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <configuration>noreplace</configuration>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>base/etc/argeo.d</location>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/etc/argeo/conf.d</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>640</filemode>
- <configuration>noreplace</configuration>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>base/etc/argeo/conf.d</location>
- <includes>
- <include>*.ini</include>
- <include>*.txt</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/usr/share/argeo</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>base/share/argeo</location>
- <includes>
- <include>**</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/usr/lib/systemd/system</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>rpm/usr/lib/systemd/system</location>
- <includes>
- <include>*.service</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/usr/lib/systemd/user</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>rpm/usr/lib/systemd/user</location>
- <includes>
- <include>*.service</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/usr/sbin</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>755</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>rpm/usr/sbin</location>
- <includes>
- <include>argeoctl</include>
- </includes>
- </source>
- </sources>
- </mapping>
- </mappings>
- <requires>
- <require>argeo-cms-node${argeo.rpm.suffix}</require>
- <require>argeo-init${argeo.rpm.suffix}</require>
- <!-- do not explicitely require java -->
- </requires>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>