1 <project xmlns=
"http://maven.apache.org/POM/4.0.0" xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
2 xsi:
schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.argeo.commons
</groupId>
6 <version>2.1.12-SNAPSHOT
</version>
7 <artifactId>dist
</artifactId>
8 <relativePath>..
</relativePath>
10 <artifactId>osgi-boot
</artifactId>
11 <packaging>pom
</packaging>
12 <name>Commons OSGi Boot Distribution
</name>
19 <groupId>org.apache.maven.plugins
</groupId>
20 <artifactId>maven-dependency-plugin
</artifactId>
23 <id>copy-dependencies
</id>
24 <phase>package
</phase>
26 <goal>copy-dependencies
</goal>
29 <includeTypes>jar
</includeTypes>
30 <stripVersion>true
</stripVersion>
31 <outputDirectory>${project.build.directory}/lib
</outputDirectory>
34 <groupId>org.argeo.commons
</groupId>
35 <artifactId>org.argeo.osgi.boot
</artifactId>
36 <version>2.1.12-SNAPSHOT
</version>
45 <groupId>org.codehaus.mojo
</groupId>
46 <artifactId>rpm-maven-plugin
</artifactId>
49 <id>rpm-osgi-boot
</id>
50 <phase>package
</phase>
55 <name>osgi-boot
</name>
58 <directory>/etc/osgiboot
</directory>
59 <username>root
</username>
60 <groupname>root
</groupname>
61 <filemode>644</filemode>
62 <configuration>noreplace
</configuration>
63 <directoryIncluded>false
</directoryIncluded>
66 <location>src/main/rpm/etc/osgiboot
</location>
68 <include>*-settings.sh
</include>
74 <directory>/etc/osgiboot
</directory>
75 <username>root
</username>
76 <groupname>root
</groupname>
77 <filemode>644</filemode>
78 <directoryIncluded>false
</directoryIncluded>
81 <location>src/main/rpm/etc/osgiboot
</location>
83 <include>*-functions.sh
</include>
89 <directory>/usr/sbin
</directory>
90 <username>root
</username>
91 <groupname>root
</groupname>
92 <filemode>755</filemode>
95 <location>src/main/rpm/usr/sbin
</location>
100 <directory>/usr/share/osgi/boot
</directory>
101 <username>root
</username>
102 <groupname>root
</groupname>
103 <filemode>644</filemode>
104 <directoryIncluded>false
</directoryIncluded>
107 <location>${project.build.directory}/lib
</location>
109 <include>org.argeo.osgi.boot.jar
</include>
116 <require>osgi-boot-equinox
</require>
123 <artifactId>maven-antrun-plugin
</artifactId>
126 <phase>install
</phase>
132 <copy todir=
"${rpm.stagingRepository}" verbose=
"true">
133 <fileset dir=
"${project.build.directory}/rpm"
134 includes=
"*/RPMS/**/*.rpm" />
150 <groupId>org.codehaus.mojo
</groupId>
151 <artifactId>rpm-maven-plugin
</artifactId>
154 <id>rpm-osgi-boot-equinox
</id>
155 <phase>package
</phase>
160 <name>osgi-boot-equinox
</name>
161 <projversion>${version.argeo-distribution}
</projversion>
164 <directory>/usr/share/osgi/boot
</directory>
165 <username>root
</username>
166 <groupname>root
</groupname>
167 <filemode>644</filemode>
168 <directoryIncluded>false
</directoryIncluded>
171 <location>${project.build.directory}/lib
</location>
173 <include>org.eclipse.osgi.jar
</include>