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>1.1.17</version>
8 <artifactId>slc
</artifactId>
9 <packaging>pom
</packaging>
10 <name>SLC Distribution
</name>
17 <!-- <groupId>org.apache.maven.plugins</groupId> -->
18 <!-- <artifactId>maven-dependency-plugin</artifactId> -->
21 <!-- <id>copy-dependencies-dist</id> -->
22 <!-- <phase>package</phase> -->
24 <!-- <goal>copy-dependencies</goal> -->
26 <!-- <configuration> -->
27 <!-- <includeTypes>jar</includeTypes> -->
28 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
29 <!-- <outputDirectory>${project.build.directory}/modulest</outputDirectory> -->
30 <!-- </configuration> -->
32 <!-- </executions> -->
35 <groupId>org.apache.maven.plugins
</groupId>
36 <artifactId>maven-assembly-plugin
</artifactId>
38 <finalName>argeo-slc-${project.version}
</finalName>
39 <appendAssemblyId>false
</appendAssemblyId>
41 <descriptor>src/assembly/dist.xml
</descriptor>
46 <id>assembly-base
</id>
47 <phase>package
</phase>
59 <groupId>org.argeo.slc
</groupId>
60 <artifactId>org.argeo.slc.dep.backend
</artifactId>
61 <version>1.1.17</version>
67 <groupId>org.argeo.slc
</groupId>
68 <artifactId>org.argeo.slc.lib.jcr
</artifactId>
69 <version>1.1.17</version>
72 <groupId>org.argeo.slc
</groupId>
73 <artifactId>org.argeo.slc.lib.repo
</artifactId>
74 <version>1.1.17</version>
79 <groupId>org.argeo.slc
</groupId>
80 <artifactId>org.argeo.slc.launcher
</artifactId>
81 <version>1.1.17</version>
82 <!-- <type>tar.gz</type> -->
83 <!-- <classifier>base</classifier> -->
92 <groupId>org.apache.maven.plugins
</groupId>
93 <artifactId>maven-dependency-plugin
</artifactId>
96 <id>copy-dependencies-rpm
</id>
97 <phase>package
</phase>
102 <includeTypes>jar
</includeTypes>
103 <stripVersion>true
</stripVersion>
104 <outputDirectory>${project.build.directory}/boot
</outputDirectory>
107 <groupId>org.argeo.slc
</groupId>
108 <artifactId>org.argeo.slc.launcher
</artifactId>
109 <version>${project.version}
</version>
117 <groupId>org.codehaus.mojo
</groupId>
118 <artifactId>rpm-maven-plugin
</artifactId>
122 <phase>package
</phase>
130 <directory>/usr/bin
</directory>
131 <username>root
</username>
132 <groupname>root
</groupname>
133 <filemode>755</filemode>
134 <directoryIncluded>false
</directoryIncluded>
137 <location>src/main/rpm/usr/bin
</location>
142 <directory>/etc/init.d
</directory>
143 <username>root
</username>
144 <groupname>root
</groupname>
145 <filemode>755</filemode>
146 <directoryIncluded>false
</directoryIncluded>
149 <location>src/main/rpm/etc/init.d
</location>
154 <directory>/etc/slc
</directory>
155 <username>root
</username>
156 <groupname>slc
</groupname>
157 <filemode>640</filemode>
158 <configuration>noreplace
</configuration>
159 <directoryIncluded>false
</directoryIncluded>
162 <location>src/main/rpm/etc/slc
</location>
167 <directory>/etc/slc-cl
</directory>
168 <username>root
</username>
169 <groupname>root
</groupname>
170 <filemode>644</filemode>
171 <directoryIncluded>false
</directoryIncluded>
174 <location>src/main/rpm/etc/slc-cl
</location>
179 <directory>/usr/share/osgi/boot
</directory>
180 <username>root
</username>
181 <groupname>root
</groupname>
182 <filemode>644</filemode>
183 <directoryIncluded>false
</directoryIncluded>
186 <location>${project.build.directory}/boot
</location>
188 <include>org.argeo.slc.launcher.jar
</include>
193 <!-- Maven (even if not installed) -->
195 <directory>/var/lib/slc/.m2
</directory>
196 <username>slc
</username>
197 <groupname>slc
</groupname>
198 <filemode>600</filemode>
199 <directoryIncluded>false
</directoryIncluded>
202 <location>src/main/rpm/var/lib/slc/.m2
</location>
207 <preinstallScriptlet>
208 <scriptFile>src/main/scripts/preinstall-${rpm.release}
</scriptFile>
209 </preinstallScriptlet>
210 <postinstallScriptlet>
211 <scriptFile>src/main/scripts/postinstall
</scriptFile>
212 </postinstallScriptlet>
214 <scriptFile>src/main/scripts/preremove-${rpm.release}
</scriptFile>
215 </preremoveScriptlet>
217 <require>slc-libs
</require>
218 <require>osgi-boot
</require>
219 <!-- do not require java so that it can be installed on Ubuntu -->
220 <!-- <require>java-1.6.0-openjdk</require> -->