-
Notifications
You must be signed in to change notification settings - Fork 7
Home
KAllan357 edited this page May 4, 2012
·
7 revisions
Welcome to the riot-redline-plugin wiki! Here I will show some more detailed configuration options and their requirements.
<plugin>
<groupId>com.riotgames.maven</groupId>
<artifactId>riot-redline-plugin</artifactId>
<version>1.2.0-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>rpm</goal>
</goals>
</execution>
</executions>
<configuration>
<packaging>
<name>my-rpm</name>
<version>1.0</version>
<release>${maven.build.timestamp}</release>
</packaging>
<platform>
<architecture>noarch</architecture>
<os>linux</os>
</platform>
<group>Applications/System</group>
<vendor>My Company</vendor>
<license>COMMERCIAL</license>
<url>www.riotgames.com</url>
<summary>This RPM installs my program.</summary>
<postInstallScript>${project.basedir}/src/main/rpm/postInstall.sh</postInstallScript>
<destination>${project.basedir}/target</destination>
<attach>true</attach>
<mappings>
<mapping>
<directory>/opt/tomcat/webapps</directory>
<sources>
<source>${project.basedir}/target/someFile.txt</source>
</sources>
</mapping>
<mapping>
<directory>/opt/util/dependencies</directory>
<sources>
<source>${project.basedir}/target/dependency</source>
</sources>
</mapping>
</mappings>
</configuration>
</plugin>