]> git.argeo.org Git - lgpl/argeo-commons.git/blob - dist/argeo-node/pom.xml
f49c0fb297cbbbb904f2e6754324749924efa810
[lgpl/argeo-commons.git] / dist / argeo-node / pom.xml
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>
3 <parent>
4 <groupId>org.argeo.commons</groupId>
5 <version>2.1.103</version>
6 <artifactId>dist</artifactId>
7 <relativePath>..</relativePath>
8 </parent>
9 <artifactId>argeo-node</artifactId>
10 <packaging>pom</packaging>
11 <name>Argeo Node</name>
12 <profiles>
13 <profile>
14 <id>dist</id>
15 <dependencies>
16 <dependency>
17 <groupId>org.argeo.commons</groupId>
18 <artifactId>org.argeo.dep.cms.client</artifactId>
19 <version>2.1.103</version>
20 </dependency>
21 <dependency>
22 <groupId>org.argeo.commons</groupId>
23 <artifactId>org.argeo.dep.cms.node</artifactId>
24 <version>2.1.103</version>
25 </dependency>
26 <dependency>
27 <groupId>org.argeo.commons</groupId>
28 <artifactId>org.argeo.dep.cms.e4.rap</artifactId>
29 <version>2.1.103</version>
30 </dependency>
31 <dependency>
32 <groupId>org.argeo.commons</groupId>
33 <artifactId>org.argeo.dep.cms.sdk</artifactId>
34 <version>2.1.103</version>
35 </dependency>
36 <dependency>
37 <groupId>org.argeo.commons</groupId>
38 <artifactId>osgi-boot</artifactId>
39 <type>zip</type>
40 <version>2.1.103</version>
41 </dependency>
42 </dependencies>
43 <build>
44 <plugins>
45 <plugin>
46 <groupId>org.apache.maven.plugins</groupId>
47 <artifactId>maven-assembly-plugin</artifactId>
48 <configuration>
49 <finalName>argeo-node-${project.version}</finalName>
50 <appendAssemblyId>false</appendAssemblyId>
51 <descriptors>
52 <descriptor>assembly/cms-e4-rap.xml</descriptor>
53 </descriptors>
54 </configuration>
55 <executions>
56 <execution>
57 <id>assembly-base</id>
58 <phase>package</phase>
59 <goals>
60 <goal>single</goal>
61 </goals>
62 </execution>
63 </executions>
64 </plugin>
65 </plugins>
66 </build>
67 </profile>
68 <profile>
69 <id>rpmbuild</id>
70 <build>
71 <plugins>
72 <plugin>
73 <groupId>org.codehaus.mojo</groupId>
74 <artifactId>rpm-maven-plugin</artifactId>
75 <executions>
76 <execution>
77 <id>rpm-node</id>
78 <phase>package</phase>
79 <goals>
80 <goal>rpm</goal>
81 </goals>
82 <configuration>
83 <name>argeo-node</name>
84 <mappings>
85 <mapping>
86 <directory>/etc/argeo</directory>
87 <username>root</username>
88 <groupname>root</groupname>
89 <filemode>640</filemode>
90 <configuration>noreplace</configuration>
91 <directoryIncluded>false</directoryIncluded>
92 <sources>
93 <source>
94 <location>base/etc/argeo</location>
95 </source>
96 </sources>
97 </mapping>
98 <mapping>
99 <directory>/etc/argeo.d</directory>
100 <username>root</username>
101 <groupname>root</groupname>
102 <filemode>644</filemode>
103 <configuration>noreplace</configuration>
104 <directoryIncluded>false</directoryIncluded>
105 <sources>
106 <source>
107 <location>base/etc/argeo.d</location>
108 </source>
109 </sources>
110 </mapping>
111 <mapping>
112 <directory>/etc/argeo/conf.d</directory>
113 <username>root</username>
114 <groupname>root</groupname>
115 <filemode>640</filemode>
116 <configuration>noreplace</configuration>
117 <directoryIncluded>false</directoryIncluded>
118 <sources>
119 <source>
120 <location>base/etc/argeo/conf.d</location>
121 <includes>
122 <include>*.ini</include>
123 <include>*.txt</include>
124 </includes>
125 </source>
126 </sources>
127 </mapping>
128 <mapping>
129 <directory>/usr/share/argeo</directory>
130 <username>root</username>
131 <groupname>root</groupname>
132 <filemode>644</filemode>
133 <directoryIncluded>false</directoryIncluded>
134 <sources>
135 <source>
136 <location>base/share/argeo</location>
137 <includes>
138 <include>**</include>
139 </includes>
140 </source>
141 </sources>
142 </mapping>
143 <mapping>
144 <directory>/usr/lib/systemd/system</directory>
145 <username>root</username>
146 <groupname>root</groupname>
147 <filemode>644</filemode>
148 <directoryIncluded>false</directoryIncluded>
149 <sources>
150 <source>
151 <location>rpm/usr/lib/systemd/system</location>
152 <includes>
153 <include>*.service</include>
154 </includes>
155 </source>
156 </sources>
157 </mapping>
158 <mapping>
159 <directory>/usr/lib/systemd/user</directory>
160 <username>root</username>
161 <groupname>root</groupname>
162 <filemode>644</filemode>
163 <directoryIncluded>false</directoryIncluded>
164 <sources>
165 <source>
166 <location>rpm/usr/lib/systemd/user</location>
167 <includes>
168 <include>*.service</include>
169 </includes>
170 </source>
171 </sources>
172 </mapping>
173 <mapping>
174 <directory>/usr/sbin</directory>
175 <username>root</username>
176 <groupname>root</groupname>
177 <filemode>755</filemode>
178 <directoryIncluded>false</directoryIncluded>
179 <sources>
180 <source>
181 <location>rpm/usr/sbin</location>
182 <includes>
183 <include>argeoctl</include>
184 </includes>
185 </source>
186 </sources>
187 </mapping>
188 </mappings>
189 <requires>
190 <require>argeo-cms-node</require>
191 <require>argeo-osgi-boot</require>
192 <!-- do not explicitely require java -->
193 </requires>
194 </configuration>
195 </execution>
196 </executions>
197 </plugin>
198 </plugins>
199 </build>
200 </profile>
201 </profiles>
202 </project>