<parent>
<groupId>org.argeo.slc</groupId>
<artifactId>dist</artifactId>
- <version>2.1.6</version>
+ <version>2.1.13</version>
+ <relativePath>..</relativePath>
</parent>
<artifactId>slc</artifactId>
<packaging>pom</packaging>
<dependency>
<groupId>org.argeo.slc</groupId>
<artifactId>org.argeo.slc.dep.backend</artifactId>
- <version>2.1.6</version>
+ <version>2.1.13</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.argeo.slc</groupId>
<artifactId>org.argeo.slc.lib.jcr</artifactId>
- <version>2.1.1-SNAPSHOT</version>
+ <version>2.1.13</version>
</dependency>
<dependency>
<groupId>org.argeo.slc</groupId>
<artifactId>org.argeo.slc.lib.repo</artifactId>
- <version>2.1.1-SNAPSHOT</version>
+ <version>2.1.13</version>
</dependency>
<!-- Launcher -->
<dependency>
<groupId>org.argeo.slc</groupId>
<artifactId>org.argeo.slc.launcher</artifactId>
- <version>2.1.1-SNAPSHOT</version>
+ <version>2.1.13</version>
<!-- <type>tar.gz</type> -->
<!-- <classifier>base</classifier> -->
</dependency>
<id>rpmbuild</id>
<build>
<plugins>
-<!-- <plugin> -->
-<!-- <groupId>org.apache.maven.plugins</groupId> -->
-<!-- <artifactId>maven-dependency-plugin</artifactId> -->
-<!-- <executions> -->
-<!-- <execution> -->
-<!-- <id>copy-dependencies-rpm</id> -->
-<!-- <phase>package</phase> -->
-<!-- <goals> -->
-<!-- <goal>copy</goal> -->
-<!-- </goals> -->
-<!-- <configuration> -->
-<!-- <includeTypes>jar</includeTypes> -->
-<!-- <stripVersion>true</stripVersion> -->
-<!-- <outputDirectory>${project.build.directory}/boot</outputDirectory> -->
-<!-- <artifactItems> -->
-<!-- <artifactItem> -->
-<!-- <groupId>org.argeo.slc</groupId> -->
-<!-- <artifactId>org.argeo.slc.launcher</artifactId> -->
-<!-- <version>${project.version}</version> -->
-<!-- </artifactItem> -->
-<!-- </artifactItems> -->
-<!-- </configuration> -->
-<!-- </execution> -->
-<!-- </executions> -->
-<!-- </plugin> -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies-rpm</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <stripVersion>true</stripVersion>
+ <outputDirectory>${project.build.directory}/boot</outputDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.argeo.slc</groupId>
+ <artifactId>org.argeo.slc.launcher</artifactId>
+ <version>${project.version}</version>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<executions>
<execution>
- <id>rpm-slc</id>
+ <id>rpm</id>
<phase>package</phase>
<goals>
<goal>rpm</goal>
</goals>
<configuration>
- <name>slc</name>
+ <name>slc-repo</name>
<mappings>
<mapping>
- <directory>/usr/bin</directory>
+ <directory>/etc/node/conf.d</directory>
<username>root</username>
- <groupname>root</groupname>
- <filemode>755</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/rpm/usr/bin</location>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/etc/init.d</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>755</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/rpm/etc/init.d</location>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/etc/slc</directory>
- <username>root</username>
- <groupname>slc</groupname>
+ <groupname>node</groupname>
<filemode>640</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
- <location>src/main/rpm/etc/slc</location>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/etc/slc-cl</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/rpm/etc/slc-cl</location>
- </source>
- </sources>
- </mapping>
-<!-- <mapping> -->
-<!-- <directory>/usr/share/osgi/boot</directory> -->
-<!-- <username>root</username> -->
-<!-- <groupname>root</groupname> -->
-<!-- <filemode>644</filemode> -->
-<!-- <directoryIncluded>false</directoryIncluded> -->
-<!-- <sources> -->
-<!-- <source> -->
-<!-- <location>${project.build.directory}/boot</location> -->
-<!-- <includes> -->
-<!-- <include>org.argeo.slc.launcher.jar</include> -->
-<!-- </includes> -->
-<!-- </source> -->
-<!-- </sources> -->
-<!-- </mapping> -->
- <!-- Maven (even if not installed) -->
- <mapping>
- <directory>/var/lib/slc/.m2</directory>
- <username>slc</username>
- <groupname>slc</groupname>
- <filemode>600</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/rpm/var/lib/slc/.m2</location>
+ <location>rpm/etc/node/conf.d</location>
+ <includes>
+ <include>*.ini</include>
+ <include>*.txt</include>
+ </includes>
</source>
</sources>
</mapping>
</mappings>
- <preinstallScriptlet>
- <scriptFile>src/main/scripts/preinstall</scriptFile>
- </preinstallScriptlet>
- <postinstallScriptlet>
- <scriptFile>src/main/scripts/postinstall</scriptFile>
- </postinstallScriptlet>
- <preremoveScriptlet>
- <scriptFile>src/main/scripts/preremove</scriptFile>
- </preremoveScriptlet>
<requires>
+ <require>argeo-node</require>
<require>slc-platform</require>
- <require>osgi-boot</require>
- <!-- do not require java so that it can be installed on Ubuntu -->
- <!-- <require>java-1.6.0-openjdk</require> -->
</requires>
</configuration>
</execution>