<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.commons</groupId>
- <version>2.1.44</version>
+ <version>2.1.84-SNAPSHOT</version>
<artifactId>dist</artifactId>
<relativePath>..</relativePath>
</parent>
<dependency>
<groupId>org.argeo.tp</groupId>
<artifactId>argeo-tp</artifactId>
- <version>${version.argeo-distribution}</version>
+ <version>${version.argeo-tp}</version>
</dependency>
<!-- OSGi Boot (and Equinox) -->
<dependency>
<groupId>org.argeo.commons</groupId>
<artifactId>org.argeo.osgi.boot</artifactId>
- <version>2.1.44</version>
+ <version>2.1.84-SNAPSHOT</version>
</dependency>
</dependencies>
<profiles>
+ <profile>
+ <id>dist</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <finalName>osgi-boot-${project.version}</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+ <descriptor>assembly/osgi-boot.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>assembly-base</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<profile>
<id>rpmbuild</id>
<build>
<plugins>
- <!-- <plugin> -->
- <!-- <groupId>org.apache.maven.plugins</groupId> -->
- <!-- <artifactId>maven-dependency-plugin</artifactId> -->
- <!-- <executions> -->
- <!-- <execution> -->
- <!-- <id>copy-dependencies</id> -->
- <!-- <phase>package</phase> -->
- <!-- <goals> -->
- <!-- <goal>copy</goal> -->
- <!-- </goals> -->
- <!-- <configuration> -->
- <!-- <includeTypes>jar</includeTypes> -->
- <!-- <stripVersion>true</stripVersion> -->
- <!-- <outputDirectory>${project.build.directory}/lib</outputDirectory> -->
- <!-- <artifactItems> -->
- <!-- <artifactItem> -->
- <!-- <groupId>org.argeo.commons</groupId> -->
- <!-- <artifactId>org.argeo.osgi.boot</artifactId> -->
- <!-- <version>${version.argeo-commons}</version> -->
- <!-- <type>jar</type> -->
- <!-- </artifactItem> -->
- <!-- <artifactItem> -->
- <!-- <groupId>org.argeo.tp.equinox</groupId> -->
- <!-- <artifactId>org.eclipse.osgi</artifactId> -->
- <!-- <version>${version.equinox}</version> -->
- <!-- <type>jar</type> -->
- <!-- </artifactItem> -->
- <!-- </artifactItems> -->
- <!-- </configuration> -->
- <!-- </execution> -->
- <!-- </executions> -->
- <!-- </plugin> -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
</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>
+ </mapping>
<mapping>
<directory>/usr/sbin</directory>
<username>root</username>
</goals>
<configuration>
<name>osgi-boot-equinox</name>
- <projversion>${version.argeo-distribution}</projversion>
+ <projversion>${version.argeo-tp}</projversion>
<mappings>
<mapping>
<directory>/usr/share/osgi/boot</directory>