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.slc
</groupId>
5 <artifactId>dist
</artifactId>
6 <version>2.1.9</version>
7 <relativePath>..
</relativePath>
9 <artifactId>slc
</artifactId>
10 <packaging>pom
</packaging>
11 <name>SLC Distribution
</name>
18 <!-- <groupId>org.apache.maven.plugins</groupId> -->
19 <!-- <artifactId>maven-dependency-plugin</artifactId> -->
22 <!-- <id>copy-dependencies-dist</id> -->
23 <!-- <phase>package</phase> -->
25 <!-- <goal>copy-dependencies</goal> -->
27 <!-- <configuration> -->
28 <!-- <includeTypes>jar</includeTypes> -->
29 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
30 <!-- <outputDirectory>${project.build.directory}/modulest</outputDirectory> -->
31 <!-- </configuration> -->
33 <!-- </executions> -->
36 <groupId>org.apache.maven.plugins
</groupId>
37 <artifactId>maven-assembly-plugin
</artifactId>
39 <finalName>argeo-slc-${project.version}
</finalName>
40 <appendAssemblyId>false
</appendAssemblyId>
42 <descriptor>src/assembly/dist.xml
</descriptor>
47 <id>assembly-base
</id>
48 <phase>package
</phase>
60 <groupId>org.argeo.slc
</groupId>
61 <artifactId>org.argeo.slc.dep.backend
</artifactId>
62 <version>2.1.9</version>
68 <groupId>org.argeo.slc
</groupId>
69 <artifactId>org.argeo.slc.lib.jcr
</artifactId>
70 <version>2.1.9</version>
73 <groupId>org.argeo.slc
</groupId>
74 <artifactId>org.argeo.slc.lib.repo
</artifactId>
75 <version>2.1.9</version>
80 <groupId>org.argeo.slc
</groupId>
81 <artifactId>org.argeo.slc.launcher
</artifactId>
82 <version>2.1.9</version>
83 <!-- <type>tar.gz</type> -->
84 <!-- <classifier>base</classifier> -->
93 <groupId>org.apache.maven.plugins
</groupId>
94 <artifactId>maven-dependency-plugin
</artifactId>
97 <id>copy-dependencies-rpm
</id>
98 <phase>package
</phase>
103 <includeTypes>jar
</includeTypes>
104 <stripVersion>true
</stripVersion>
105 <outputDirectory>${project.build.directory}/boot
</outputDirectory>
108 <groupId>org.argeo.slc
</groupId>
109 <artifactId>org.argeo.slc.launcher
</artifactId>
110 <version>${project.version}
</version>
118 <groupId>org.codehaus.mojo
</groupId>
119 <artifactId>rpm-maven-plugin
</artifactId>
123 <phase>package
</phase>
131 <directory>/usr/bin
</directory>
132 <username>root
</username>
133 <groupname>root
</groupname>
134 <filemode>755</filemode>
135 <directoryIncluded>false
</directoryIncluded>
138 <location>rpm/usr/bin
</location>
143 <!-- <directory>/usr/sbin</directory> -->
144 <!-- <username>root</username> -->
145 <!-- <groupname>root</groupname> -->
146 <!-- <filemode>755</filemode> -->
147 <!-- <directoryIncluded>false</directoryIncluded> -->
150 <!-- <location>rpm/usr/sbin</location> -->
155 <!-- <directory>/usr/lib/systemd/system</directory> -->
156 <!-- <username>root</username> -->
157 <!-- <groupname>root</groupname> -->
158 <!-- <filemode>644</filemode> -->
159 <!-- <directoryIncluded>false</directoryIncluded> -->
162 <!-- <location>rpm/usr/lib/systemd/system</location> -->
167 <directory>/etc/init.d
</directory>
168 <username>root
</username>
169 <groupname>root
</groupname>
170 <filemode>755</filemode>
171 <directoryIncluded>false
</directoryIncluded>
174 <location>rpm/etc/init.d
</location>
179 <directory>/etc/slc
</directory>
180 <username>root
</username>
181 <groupname>slc
</groupname>
182 <filemode>640</filemode>
183 <configuration>noreplace
</configuration>
184 <directoryIncluded>false
</directoryIncluded>
187 <location>rpm/etc/slc
</location>
192 <directory>/etc/slc-cl
</directory>
193 <username>root
</username>
194 <groupname>root
</groupname>
195 <filemode>644</filemode>
196 <directoryIncluded>false
</directoryIncluded>
199 <location>rpm/etc/slc-cl
</location>
204 <directory>/usr/share/osgi/boot
</directory>
205 <username>root
</username>
206 <groupname>root
</groupname>
207 <filemode>644</filemode>
208 <directoryIncluded>false
</directoryIncluded>
211 <location>${project.build.directory}/boot
</location>
213 <include>org.argeo.slc.launcher.jar
</include>
218 <!-- Maven (even if not installed) -->
220 <!-- <directory>/var/lib/slc/.m2</directory> -->
221 <!-- <username>slc</username> -->
222 <!-- <groupname>slc</groupname> -->
223 <!-- <filemode>600</filemode> -->
224 <!-- <directoryIncluded>false</directoryIncluded> -->
227 <!-- <location>rpm/var/lib/slc/.m2</location> -->
232 <preinstallScriptlet>
233 <scriptFile>rpm/scripts/preinstall
</scriptFile>
234 </preinstallScriptlet>
235 <postinstallScriptlet>
236 <scriptFile>rpm/scripts/postinstall
</scriptFile>
237 </postinstallScriptlet>
239 <scriptFile>rpm/scripts/preremove
</scriptFile>
240 </preremoveScriptlet>
242 <require>slc-platform
</require>
243 <require>osgi-boot
</require>
244 <!-- do not require java so that it can be installed on Ubuntu -->