]> git.argeo.org Git - lgpl/argeo-commons.git/blob - dist/argeo-node/pom.xml
Improve demo initialisation.
[lgpl/argeo-commons.git] / dist / argeo-node / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.argeo.commons</groupId>
7 <version>2.1.84-SNAPSHOT</version>
8 <artifactId>dist</artifactId>
9 <relativePath>..</relativePath>
10 </parent>
11 <artifactId>argeo-node</artifactId>
12 <packaging>pom</packaging>
13 <name>Argeo Node</name>
14 <profiles>
15 <profile>
16 <id>dist</id>
17 <dependencies>
18 <dependency>
19 <groupId>org.argeo.commons</groupId>
20 <artifactId>org.argeo.dep.cms.e4.rap</artifactId>
21 <version>2.1.84-SNAPSHOT</version>
22 </dependency>
23 <dependency>
24 <groupId>org.argeo.commons</groupId>
25 <artifactId>osgi-boot</artifactId>
26 <type>zip</type>
27 <version>2.1.84-SNAPSHOT</version>
28 </dependency>
29 </dependencies>
30 <build>
31 <plugins>
32 <plugin>
33 <groupId>org.apache.maven.plugins</groupId>
34 <artifactId>maven-assembly-plugin</artifactId>
35 <configuration>
36 <finalName>argeo-node-${project.version}</finalName>
37 <appendAssemblyId>false</appendAssemblyId>
38 <descriptors>
39 <descriptor>assembly/cms-e4-rap.xml</descriptor>
40 </descriptors>
41 </configuration>
42 <executions>
43 <execution>
44 <id>assembly-base</id>
45 <phase>package</phase>
46 <goals>
47 <goal>single</goal>
48 </goals>
49 </execution>
50 </executions>
51 </plugin>
52 </plugins>
53 </build>
54 </profile>
55 <profile>
56 <id>rpmbuild</id>
57 <build>
58 <plugins>
59 <plugin>
60 <groupId>org.codehaus.mojo</groupId>
61 <artifactId>rpm-maven-plugin</artifactId>
62 <executions>
63 <execution>
64 <id>rpm-node</id>
65 <phase>package</phase>
66 <goals>
67 <goal>rpm</goal>
68 </goals>
69 <configuration>
70 <name>argeo-node</name>
71 <mappings>
72 <mapping>
73 <directory>/etc/argeo</directory>
74 <username>root</username>
75 <groupname>wheel</groupname>
76 <filemode>640</filemode>
77 <configuration>noreplace</configuration>
78 <directoryIncluded>false</directoryIncluded>
79 <sources>
80 <source>
81 <location>base/etc/argeo</location>
82 </source>
83 </sources>
84 </mapping>
85 <mapping>
86 <directory>/etc/argeo/conf.d</directory>
87 <username>root</username>
88 <groupname>wheel</groupname>
89 <filemode>640</filemode>
90 <configuration>noreplace</configuration>
91 <directoryIncluded>false</directoryIncluded>
92 <sources>
93 <source>
94 <location>base/etc/argeo/conf.d</location>
95 <includes>
96 <include>*.ini</include>
97 <include>*.txt</include>
98 </includes>
99 </source>
100 </sources>
101 </mapping>
102 <mapping>
103 <directory>/usr/share/argeo</directory>
104 <username>root</username>
105 <groupname>root</groupname>
106 <filemode>644</filemode>
107 <directoryIncluded>false</directoryIncluded>
108 <sources>
109 <source>
110 <location>base/share/argeo</location>
111 <includes>
112 <include>**</include>
113 </includes>
114 </source>
115 </sources>
116 </mapping>
117 <mapping>
118 <directory>/usr/lib/systemd/system</directory>
119 <username>root</username>
120 <groupname>root</groupname>
121 <filemode>644</filemode>
122 <directoryIncluded>false</directoryIncluded>
123 <sources>
124 <source>
125 <location>rpm/usr/lib/systemd/system</location>
126 <includes>
127 <include>*.service</include>
128 </includes>
129 </source>
130 </sources>
131 </mapping>
132 <mapping>
133 <directory>/usr/sbin</directory>
134 <username>root</username>
135 <groupname>root</groupname>
136 <filemode>755</filemode>
137 <directoryIncluded>false</directoryIncluded>
138 <sources>
139 <source>
140 <location>rpm/usr/sbin</location>
141 <includes>
142 <include>argeoctl</include>
143 </includes>
144 </source>
145 </sources>
146 </mapping>
147 </mappings>
148 <!-- <preinstallScriptlet> -->
149 <!-- <scriptFile>rpm/scripts/preinstall</scriptFile> -->
150 <!-- </preinstallScriptlet> -->
151 <requires>
152 <require>argeo-cms-node</require>
153 <require>osgi-boot</require>
154 <!-- do not explicitely require java -->
155 </requires>
156 </configuration>
157 </execution>
158 </executions>
159 </plugin>
160 </plugins>
161 </build>
162 </profile>
163 </profiles>
164 </project>