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.commons
</groupId>
5 <version>2.1.17-SNAPSHOT
</version>
6 <artifactId>dist
</artifactId>
7 <relativePath>..
</relativePath>
9 <artifactId>osgi-boot
</artifactId>
10 <packaging>pom
</packaging>
11 <name>Commons Deployable OSGi Boot
</name>
13 <version.equinox
>3.10.1.v20140909-
1633</version.equinox
>
21 <groupId>org.apache.maven.plugins
</groupId>
22 <artifactId>maven-dependency-plugin
</artifactId>
25 <id>copy-dependencies
</id>
26 <phase>package
</phase>
31 <includeTypes>jar
</includeTypes>
32 <stripVersion>true
</stripVersion>
33 <outputDirectory>${project.build.directory}/lib
</outputDirectory>
36 <groupId>org.argeo.commons
</groupId>
37 <artifactId>org.argeo.osgi.boot
</artifactId>
38 <version>${version.argeo-commons}
</version>
42 <groupId>org.argeo.tp.equinox
</groupId>
43 <artifactId>org.eclipse.osgi
</artifactId>
44 <version>${version.equinox}
</version>
53 <groupId>org.codehaus.mojo
</groupId>
54 <artifactId>rpm-maven-plugin
</artifactId>
57 <id>rpm-osgi-boot
</id>
58 <phase>package
</phase>
63 <name>osgi-boot
</name>
66 <directory>/etc/osgiboot
</directory>
67 <username>root
</username>
68 <groupname>root
</groupname>
69 <filemode>644</filemode>
70 <configuration>noreplace
</configuration>
71 <directoryIncluded>false
</directoryIncluded>
74 <location>src/main/rpm/etc/osgiboot
</location>
76 <include>*-settings.sh
</include>
82 <directory>/etc/osgiboot
</directory>
83 <username>root
</username>
84 <groupname>root
</groupname>
85 <filemode>644</filemode>
86 <directoryIncluded>false
</directoryIncluded>
89 <location>src/main/rpm/etc/osgiboot
</location>
91 <include>*-functions.sh
</include>
97 <directory>/usr/sbin
</directory>
98 <username>root
</username>
99 <groupname>root
</groupname>
100 <filemode>755</filemode>
103 <location>src/main/rpm/usr/sbin
</location>
108 <directory>/usr/share/osgi/boot
</directory>
109 <username>root
</username>
110 <groupname>root
</groupname>
111 <filemode>644</filemode>
112 <directoryIncluded>false
</directoryIncluded>
115 <location>${project.build.directory}/lib
</location>
117 <include>org.argeo.osgi.boot.jar
</include>
124 <require>osgi-boot-equinox
</require>
131 <artifactId>maven-antrun-plugin
</artifactId>
134 <phase>install
</phase>
140 <copy todir=
"${rpm.stagingRepository}" verbose=
"true">
141 <fileset dir=
"${project.build.directory}/rpm" includes=
"*/RPMS/**/*.rpm" />
157 <groupId>org.codehaus.mojo
</groupId>
158 <artifactId>rpm-maven-plugin
</artifactId>
161 <id>rpm-osgi-boot-equinox
</id>
162 <phase>package
</phase>
167 <name>osgi-boot-equinox
</name>
168 <projversion>${version.argeo-distribution}
</projversion>
171 <directory>/usr/share/osgi/boot
</directory>
172 <username>root
</username>
173 <groupname>root
</groupname>
174 <filemode>644</filemode>
175 <directoryIncluded>false
</directoryIncluded>
178 <location>${project.build.directory}/lib
</location>
180 <include>org.eclipse.osgi.jar
</include>