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.osgi
</groupId>
6 <version>0.3.4-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>
16 <groupId>org.apache.maven.plugins
</groupId>
17 <artifactId>maven-dependency-plugin
</artifactId>
20 <id>copy-dependencies
</id>
21 <phase>package
</phase>
23 <goal>copy-dependencies
</goal>
26 <includeTypes>jar
</includeTypes>
27 <stripVersion>true
</stripVersion>
28 <outputDirectory>${project.build.directory}/lib
</outputDirectory>
37 <groupId>org.argeo.commons.osgi
</groupId>
38 <artifactId>org.argeo.osgi.boot
</artifactId>
39 <version>0.3.4-SNAPSHOT
</version>
48 <groupId>org.codehaus.mojo
</groupId>
49 <artifactId>rpm-maven-plugin
</artifactId>
50 <version>2.1-alpha-
1</version>
51 <extensions>true
</extensions>
53 <version>${project.version}
</version>
54 <release>r${buildNumber}.argeo
</release>
55 <copyright>2011 Argeo
</copyright>
56 <distribution>argeo
</distribution>
57 <packager>mbaudier@argeo.org
</packager>
58 <group>Applications/System
</group>
64 <phase>package
</phase>
66 <goal>attached-rpm
</goal>
71 <directory>/etc/osgiboot
</directory>
72 <username>root
</username>
73 <groupname>root
</groupname>
74 <filemode>644</filemode>
75 <configuration>noreplace
</configuration>
76 <directoryIncluded>false
</directoryIncluded>
79 <location>src/main/rpm/etc/osgiboot
</location>
81 <include>*-settings.sh
</include>
87 <directory>/etc/osgiboot
</directory>
88 <username>root
</username>
89 <groupname>root
</groupname>
90 <filemode>644</filemode>
91 <directoryIncluded>false
</directoryIncluded>
94 <location>src/main/rpm/etc/osgiboot
</location>
96 <include>*-functions.sh
</include>
102 <directory>/usr/sbin
</directory>
103 <username>root
</username>
104 <groupname>root
</groupname>
105 <filemode>755</filemode>
108 <location>src/main/rpm/usr/sbin
</location>
116 <directory>/usr/share/osgiboot/lib
</directory>
117 <username>root
</username>
118 <groupname>root
</groupname>
119 <filemode>644</filemode>
120 <directoryIncluded>false
</directoryIncluded>
123 <location>${project.build.directory}/lib
</location>
125 <include>*.jar
</include>
132 <require>java
</require>