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>true
</configuration>
78 <location>src/main/rpm/etc/osgiboot
</location>
86 <directory>/usr/sbin
</directory>
87 <username>root
</username>
88 <groupname>root
</groupname>
89 <filemode>755</filemode>
92 <location>src/main/rpm/usr/sbin
</location>
100 <directory>/usr/share/osgiboot/lib
</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>*.jar
</include>
115 <!-- <postinstallScriptlet> <scriptFile>src/main/scripts/postinstall</scriptFile>
116 </postinstallScriptlet> <preremoveScriptlet> <scriptFile>src/main/scripts/preremove</scriptFile>
117 </preremoveScriptlet> <postremoveScriptlet> <scriptFile>src/main/scripts/postremove</scriptFile>
118 </postremoveScriptlet> -->
120 <require>java
</require>
121 <!-- For the start/stop scripts <require>telnet</require> <require>expect</require> -->