<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.commons</groupId>
- <version>2.1.86</version>
+ <version>2.3-SNAPSHOT</version>
<artifactId>dist</artifactId>
<relativePath>..</relativePath>
</parent>
<dependency>
<groupId>org.argeo.commons</groupId>
<artifactId>org.argeo.osgi.boot</artifactId>
- <version>2.1.86</version>
+ <version>2.3-SNAPSHOT</version>
</dependency>
</dependencies>
<profiles>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
- <finalName>osgi-boot-${project.version}</finalName>
+ <finalName>osgi-boot-${version.released}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>assembly/osgi-boot.xml</descriptor>
<goal>rpm</goal>
</goals>
<configuration>
- <name>osgi-boot</name>
+ <name>argeo-osgi-boot${argeo.rpm.suffix}</name>
<mappings>
<mapping>
- <directory>/etc/osgiboot</directory>
+ <directory>/usr/bin</directory>
<username>root</username>
<groupname>root</groupname>
- <filemode>644</filemode>
- <configuration>noreplace</configuration>
+ <filemode>755</filemode>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
- <location>src/main/rpm/etc/osgiboot</location>
+ <location>rpm/usr/bin</location>
<includes>
- <include>*-settings.sh</include>
+ <include>*</include>
</includes>
</source>
</sources>
</mapping>
<mapping>
- <directory>/etc/osgiboot</directory>
+ <directory>/usr/share/osgi/boot</directory>
<username>root</username>
<groupname>root</groupname>
<filemode>644</filemode>
<directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/rpm/etc/osgiboot</location>
- <includes>
- <include>*.policy</include>
- <include>*-functions.sh</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/usr/bin</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>755</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/rpm/usr/sbin</location>
- <includes>
- <include>*</include>
- </includes>
- </source>
- </sources>
+ <dependency>
+ <stripVersion>true</stripVersion>
+ <includes>
+ <include>org.argeo.commons:org.argeo.osgi.boot</include>
+ </includes>
+ </dependency>
</mapping>
<mapping>
- <directory>/usr/sbin</directory>
+ <directory>/usr/share/osgi/boot</directory>
<username>root</username>
<groupname>root</groupname>
- <filemode>755</filemode>
+ <filemode>644</filemode>
+ <configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
- <location>src/main/rpm/usr/sbin</location>
+ <location>rpm/usr/share/osgi/boot</location>
<includes>
- <include>osgi-service</include>
+ <include>*.args</include>
</includes>
</source>
</sources>
</mapping>
- <mapping>
- <directory>/usr/share/osgi/boot</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <dependency>
- <stripVersion>true</stripVersion>
- <includes>
- <include>org.argeo.commons:org.argeo.osgi.boot</include>
- </includes>
- </dependency>
- </mapping>
</mappings>
<requires>
- <require>osgi-boot-equinox</require>
+ <require>argeo-osgi-boot-equinox${argeo.rpm.suffix}</require>
</requires>
</configuration>
</execution>
<goal>rpm</goal>
</goals>
<configuration>
- <name>osgi-boot-equinox</name>
+ <name>argeo-osgi-boot-equinox${argeo.rpm.suffix}</name>
<projversion>${version.argeo-tp}</projversion>
- <release>${maven.build.timestamp}</release>
+ <release>${argeo.rpm.release.tp}</release>
<mappings>
<mapping>
<directory>/usr/share/osgi/boot</directory>