<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.commons</groupId>
- <version>2.1.73-SNAPSHOT</version>
+ <version>2.1.79-SNAPSHOT</version>
<artifactId>dist</artifactId>
<relativePath>..</relativePath>
</parent>
<packaging>pom</packaging>
<name>Argeo Node</name>
<profiles>
+ <profile>
+ <id>dist</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.argeo.commons</groupId>
+ <artifactId>org.argeo.dep.cms.e4.rap</artifactId>
+ <version>2.1.79-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.commons</groupId>
+ <artifactId>osgi-boot</artifactId>
+ <type>zip</type>
+ <version>2.1.79-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <finalName>argeo-node-${project.version}</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>
<name>argeo-node</name>
<mappings>
<mapping>
- <directory>/etc/node</directory>
+ <directory>/etc/argeo</directory>
<username>root</username>
- <groupname>node</groupname>
+ <groupname>argeo</groupname>
<filemode>640</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
- <location>rpm/etc/node</location>
+ <location>base/etc/argeo</location>
</source>
</sources>
</mapping>
<mapping>
- <directory>/etc/node/conf.d</directory>
+ <directory>/etc/argeo/conf.d</directory>
<username>root</username>
- <groupname>node</groupname>
+ <groupname>argeo</groupname>
<filemode>640</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
- <location>rpm/etc/node/conf.d</location>
+ <location>base/etc/argeo/conf.d</location>
<includes>
<include>*.ini</include>
<include>*.txt</include>
</sources>
</mapping>
<mapping>
- <directory>/usr/lib/systemd/system</directory>
+ <directory>/usr/share/argeo</directory>
<username>root</username>
<groupname>root</groupname>
<filemode>644</filemode>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
- <location>rpm/usr/lib/systemd/system</location>
+ <location>base/share/argeo</location>
<includes>
- <include>*.service</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/usr/share/node</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>rpm/usr/share/node</location>
- <includes>
- <include>config.ini</include>
- <include>all.policy</include>
+ <include>**</include>
</includes>
</source>
</sources>
</mapping>
<mapping>
- <directory>/usr/share/node/jjs</directory>
+ <directory>/usr/lib/systemd/system</directory>
<username>root</username>
<groupname>root</groupname>
<filemode>644</filemode>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
- <location>rpm/usr/share/node/jjs</location>
+ <location>rpm/usr/lib/systemd/system</location>
<includes>
- <include>*.js</include>
+ <include>*.service</include>
</includes>
</source>
</sources>
<source>
<location>rpm/usr/sbin</location>
<includes>
- <include>nodectl</include>
+ <include>argeoctl</include>
</includes>
</source>
</sources>