1 <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">
2 <modelVersion>4.0.0</modelVersion>
4 <groupId>org.argeo.commons
</groupId>
5 <version>2.1.70-SNAPSHOT
</version>
6 <artifactId>dist
</artifactId>
7 <relativePath>..
</relativePath>
9 <artifactId>argeo-node
</artifactId>
10 <packaging>pom
</packaging>
11 <name>Argeo Node
</name>
18 <groupId>org.codehaus.mojo
</groupId>
19 <artifactId>rpm-maven-plugin
</artifactId>
23 <phase>package
</phase>
28 <name>argeo-node
</name>
31 <directory>/etc/node
</directory>
32 <username>root
</username>
33 <groupname>node
</groupname>
34 <filemode>640</filemode>
35 <configuration>noreplace
</configuration>
36 <directoryIncluded>false
</directoryIncluded>
39 <location>rpm/etc/node
</location>
44 <directory>/usr/lib/systemd/system
</directory>
45 <username>root
</username>
46 <groupname>root
</groupname>
47 <filemode>644</filemode>
48 <directoryIncluded>false
</directoryIncluded>
51 <location>rpm/usr/lib/systemd/system
</location>
53 <include>*.service
</include>
59 <directory>/usr/sbin
</directory>
60 <username>root
</username>
61 <groupname>root
</groupname>
62 <filemode>755</filemode>
63 <directoryIncluded>false
</directoryIncluded>
66 <location>rpm/usr/sbin
</location>
68 <include>nodectl
</include>
75 <scriptFile>rpm/scripts/preinstall
</scriptFile>
76 </preinstallScriptlet>
78 <!-- <require>argeo-cms-platform</require> -->
79 <require>osgi-boot
</require>
80 <!-- do not explicitely require java -->