blob: 5dcf6edce4de9ac9170efc88520e7da4c9a6d97d [file] [log] [blame]
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.scada.deploy</groupId>
<artifactId>org.eclipse.scada.deploy.packages.common</artifactId>
<version>0.3.0.M7</version>
<relativePath>../../common</relativePath>
</parent>
<groupId>org.eclipse.scada.deploy</groupId>
<artifactId>org.eclipse.scada-suse</artifactId>
<packaging>pom</packaging>
<description>
Eclipse NeoSCADA base package
</description>
<properties>
<srcBase>${basedir}/../../../src</srcBase>
</properties>
<modules>
<module>i386</module>
<module>x86_64</module>
</modules>
<profiles>
<profile>
<!--rpm must be a profile since it requires 'rpmbuild' on the target machine -->
<id>rpm</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<configuration>
<copyright>EPL</copyright>
<distribution>Eclipse NeoSCADA %{version} (Incubation)</distribution>
<group>System Environment/Base</group>
<changelogFile>../../rpm/changelog</changelogFile>
<defaultUsername>root</defaultUsername>
<defaultGroupname>root</defaultGroupname>
<name>org.eclipse.scada-suse</name>
<provides>
<provide>org.eclipse.scada-distribution</provide>
</provides>
<requires>
<require>org.eclipse.scada</require>
<!-- for adding the user with "useradd" -->
<require>shadow</require>
<!-- # for the "getent" command -->
<require>glibc</require>
<!-- for jsvc -->
<require>apache-commons-daemon-jsvc</require>
<require>openssh</require>
<require>perl-base</require>
<require>jre &gt;= 1.7.0</require>
</requires>
<mappings>
<mapping>
<directory>/etc/default</directory>
<configuration>true</configuration>
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
<location>${srcBase}/default/eclipsescada.common</location>
<destination>eclipsescada</destination>
</source>
</sources>
</mapping>
<mapping>
<directory>/usr/lib/perl5/site_perl/EclipseSCADA</directory>
<sources>
<source>
<location>${srcBase}/perl/EclipseSCADA</location>
</source>
</sources>
</mapping>
</mappings>
</configuration>
</plugin>
</plugins>
</build>
</profile> <!-- rpm -->
</profiles>
</project>