]> git.argeo.org Git - lgpl/argeo-commons.git/blob - pom.xml
bedaa364b45a85467bef1f90bdfae435fcfa6e52
[lgpl/argeo-commons.git] / 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.89-SNAPSHOT</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.89-SNAPSHOT</version>
20 </dependency>
21 <dependency>
22 <groupId>org.argeo.commons</groupId>
23 <artifactId>org.argeo.dep.cms.node</artifactId>
24 <version>2.1.89-SNAPSHOT</version>
25 </dependency>
26 <dependency>
27 <groupId>org.argeo.commons</groupId>
28 <artifactId>org.argeo.dep.cms.e4.rap</artifactId>
29 <version>2.1.89-SNAPSHOT</version>
30 </dependency>
31 <dependency>
32 <groupId>org.argeo.commons</groupId>
33 <artifactId>org.argeo.dep.cms.sdk</artifactId>
34 <version>2.1.89-SNAPSHOT</version>
35 </dependency>
36 <dependency>
37 <groupId>org.argeo.commons</groupId>
38 <artifactId>osgi-boot</artifactId>
39 <type>zip</type>
40 <version>2.1.89-SNAPSHOT</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>wheel</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/conf.d</directory>
100 <username>root</username>
101 <groupname>wheel</groupname>
102 <filemode>640</filemode>
103 <configuration>noreplace</configuration>
104 <directoryIncluded>false</directoryIncluded>
105 <sources>
106 <source>
107 <location>base/etc/argeo/conf.d</location>
108 <includes>
109 <include>*.ini</include>
110 <include>*.txt</include>
111 </includes>
112 </source>
113 </sources>
114 </mapping>
115 <mapping>
116 <directory>/usr/share/argeo</directory>
117 <username>root</username>
118 <groupname>root</groupname>
119 <filemode>644</filemode>
120 <directoryIncluded>false</directoryIncluded>
121 <sources>
122 <source>
123 <location>base/share/argeo</location>
124 <includes>
125 <include>**</include>
126 </includes>
127 </source>
128 </sources>
129 </mapping>
130 <mapping>
131 <directory>/usr/lib/systemd/system</directory>
132 <username>root</username>
133 <groupname>root</groupname>
134 <filemode>644</filemode>
135 <directoryIncluded>false</directoryIncluded>
136 <sources>
137 <source>
138 <location>rpm/usr/lib/systemd/system</location>
139 <includes>
140 <include>*.service</include>
141 </includes>
142 </source>
143 </sources>
144 </mapping>
145 <mapping>
146 <directory>/usr/lib/systemd/user</directory>
147 <username>root</username>
148 <groupname>root</groupname>
149 <filemode>644</filemode>
150 <directoryIncluded>false</directoryIncluded>
151 <sources>
152 <source>
153 <location>rpm/usr/lib/systemd/user</location>
154 <includes>
155 <include>*.service</include>
156 </includes>
157 </source>
158 </sources>
159 </mapping>
160 <mapping>
161 <directory>/usr/sbin</directory>
162 <username>root</username>
163 <groupname>root</groupname>
164 <filemode>755</filemode>
165 <directoryIncluded>false</directoryIncluded>
166 <sources>
167 <source>
168 <location>rpm/usr/sbin</location>
169 <includes>
170 <include>argeoctl</include>
171 </includes>
172 </source>
173 </sources>
174 </mapping>
175 </mappings>
176 <requires>
177 <require>argeo-cms-node</require>
178 <require>osgi-boot</require>
179 <!-- do not explicitely require java -->
180 </requires>
181 </configuration>
182 </execution>
183 </executions>
184 </plugin>
185 </plugins>
186 </build>
187 </profile>
188 </profiles>
189 </project>