Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
  <name>RPM Maven Plugin</name>
  <description>Maven plugin which assembles files into an RPM package for installation on various target UNIX systems.</description>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>rpm-maven-plugin</artifactId>
  <version>2.0</version>
  <goalPrefix>rpm</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>rpm</goal>
      <description>Construct the RPM file.</description>
      <requiresDependencyResolution>runtime</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>package</phase>
      <implementation>org.codehaus.mojo.rpm.RPMMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>artifact</name>
          <type>org.apache.maven.artifact.Artifact</type>
          <required>true</required>
          <editable>false</editable>
          <description>The primary project artifact.</description>
        </parameter>
        <parameter>
          <name>attachedArtifacts</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>false</editable>
          <description>Auxillary project artifacts.</description>
        </parameter>
        <parameter>
          <name>autoProvides</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Automatically add provided shared libraries.</description>
        </parameter>
        <parameter>
          <name>autoRequires</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Automatically add requirements deduced from included shared libraries.</description>
        </parameter>
        <parameter>
          <name>changelogFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The changelog file. If the file does not exist, it is ignored.</description>
        </parameter>
        <parameter>
          <name>clean</name>
          <type>java.lang.String</type>
          <deprecated>Use cleanScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The clean script.</description>
        </parameter>
        <parameter>
          <name>cleanScript</name>
          <type>java.io.File</type>
          <deprecated>Use cleanScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the clean script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>cleanScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The clean scriptlet.</description>
        </parameter>
        <parameter>
          <name>conflicts</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of conflicts for this package.</description>
        </parameter>
        <parameter>
          <name>copyright</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The one-line copyright information.</description>
        </parameter>
        <parameter>
          <name>defaultDirmode</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default directory mode (octal string) to assign to directories when installed.&lt;br/&gt;

Only applicable to a &lt;a href=&quot;map-params.html&quot;&gt;Mapping&lt;/a&gt; if &lt;a href=&quot;map-params.html#filemode&quot;&gt;filemode&lt;/a&gt;,
&lt;a href=&quot;map-params.html#username&quot;&gt;username&lt;/a&gt;, AND &lt;a href=&quot;map-params.html#groupname&quot;&gt;groupname&lt;/a&gt; 
are &lt;b&gt;NOT&lt;/b&gt; populated.</description>
        </parameter>
        <parameter>
          <name>defaultFilemode</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default file mode (octal string) to assign to files when installed. &lt;br/&gt;

Only applicable to a &lt;a href=&quot;map-params.html&quot;&gt;Mapping&lt;/a&gt; if &lt;a href=&quot;map-params.html#filemode&quot;&gt;filemode&lt;/a&gt;,
&lt;a href=&quot;map-params.html#username&quot;&gt;username&lt;/a&gt;, AND &lt;a href=&quot;map-params.html#groupname&quot;&gt;groupname&lt;/a&gt; 
are &lt;b&gt;NOT&lt;/b&gt; populated.</description>
        </parameter>
        <parameter>
          <name>defaultGroupname</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default group name for files when installed.&lt;br/&gt;

Only applicable to a &lt;a href=&quot;map-params.html&quot;&gt;Mapping&lt;/a&gt; if &lt;a href=&quot;map-params.html#filemode&quot;&gt;filemode&lt;/a&gt;,
&lt;a href=&quot;map-params.html#username&quot;&gt;username&lt;/a&gt;, AND &lt;a href=&quot;map-params.html#groupname&quot;&gt;groupname&lt;/a&gt; 
are &lt;b&gt;NOT&lt;/b&gt; populated.</description>
        </parameter>
        <parameter>
          <name>defaultUsername</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default user name for files when installed.&lt;br/&gt;

Only applicable to a &lt;a href=&quot;map-params.html&quot;&gt;Mapping&lt;/a&gt; if &lt;a href=&quot;map-params.html#filemode&quot;&gt;filemode&lt;/a&gt;,
&lt;a href=&quot;map-params.html#username&quot;&gt;username&lt;/a&gt;, AND &lt;a href=&quot;map-params.html#groupname&quot;&gt;groupname&lt;/a&gt; 
are &lt;b&gt;NOT&lt;/b&gt; populated.</description>
        </parameter>
        <parameter>
          <name>defineStatements</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of %define arguments</description>
        </parameter>
        <parameter>
          <name>description</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The long description of the package.</description>
        </parameter>
        <parameter>
          <name>disabled</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Indicates if the execution should be disabled. If &lt;code&gt;true&lt;/code&gt;, nothing will occur during execution.</description>
        </parameter>
        <parameter>
          <name>distribution</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The distribution containing this package.</description>
        </parameter>
        <parameter>
          <name>escapeString</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Expression preceded with the String won&apos;t be interpolated \${foo} will be replaced with ${foo}</description>
        </parameter>
        <parameter>
          <name>filters</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>Filters (property files) to include during the interpolation of the pom.xml.</description>
        </parameter>
        <parameter>
          <name>group</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The package group for the package.</description>
        </parameter>
        <parameter>
          <name>icon</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>An icon for the package.</description>
        </parameter>
        <parameter>
          <name>install</name>
          <type>java.lang.String</type>
          <deprecated>Use installScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The installation script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>installScript</name>
          <type>java.io.File</type>
          <deprecated>Use installScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the installation script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>installScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The installation scriptlet.</description>
        </parameter>
        <parameter>
          <name>keyPassphrase</name>
          <type>org.codehaus.mojo.rpm.Passphrase</type>
          <required>false</required>
          <editable>true</editable>
          <description>The passphrase for the &lt;i&gt;keyname&lt;/i&gt; to sign the rpm. This utilizes &lt;a href=&quot;http://expect.nist.gov/&quot;&gt;expect&lt;/a&gt;
and requires that {@code expect} be on the PATH.</description>
        </parameter>
        <parameter>
          <name>keyname</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Set to a key name to sign the package using GPG. If &lt;i&gt;keyPassphrase&lt;/i&gt; is not also provided, this will require
the input of the passphrase at the terminal.</description>
        </parameter>
        <parameter>
          <name>mappings</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>true</editable>
          <description>The list of file &lt;a href=&quot;map-params.html&quot;&gt;mappings&lt;/a&gt;.</description>
        </parameter>
        <parameter>
          <name>name</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The name portion of the output file name.</description>
        </parameter>
        <parameter>
          <name>needarch</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The target architecture for the rpm. The default value is &lt;i&gt;noarch&lt;/i&gt;.
&lt;p&gt;
For passivity purposes, a value of &lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt; will indicate whether the &lt;a
href=&quot;http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/Os.html#OS_ARCH&quot;&gt;architecture&lt;/a&gt;
of the build machine will be used. Any other value (such as &lt;tt&gt;x86_64&lt;/tt&gt;) will set the architecture of the
rpm to &lt;tt&gt;x86_64&lt;/tt&gt;.
&lt;/p&gt;
&lt;p&gt;
This can also be used in conjunction with &lt;a href=&quot;source-params.html#targetArchitecture&quot;&gt;Source
targetArchitecture&lt;/a&gt; to flex the contents of the rpm based on the architecture.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>obsoletes</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of obsoletes for this package.</description>
        </parameter>
        <parameter>
          <name>packager</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The name of the person or group creating the package.</description>
        </parameter>
        <parameter>
          <name>postinstall</name>
          <type>java.lang.String</type>
          <deprecated>Use postinstallScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The post-installation script.</description>
        </parameter>
        <parameter>
          <name>postinstallScript</name>
          <type>java.io.File</type>
          <deprecated>Use postinstallScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the post-installation script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>postinstallScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The post install scriptlet.</description>
        </parameter>
        <parameter>
          <name>postremove</name>
          <type>java.lang.String</type>
          <deprecated>Use postremoveScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The post-removal script.</description>
        </parameter>
        <parameter>
          <name>postremoveScript</name>
          <type>java.io.File</type>
          <deprecated>Use postremoveScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the post-removal script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>postremoveScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The post-removal scriptlet.</description>
        </parameter>
        <parameter>
          <name>posttransScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The posttrans script.</description>
        </parameter>
        <parameter>
          <name>prefix</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The relocation prefix for this package.</description>
        </parameter>
        <parameter>
          <name>preinstall</name>
          <type>java.lang.String</type>
          <deprecated>Use preinstallScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-installation script.</description>
        </parameter>
        <parameter>
          <name>preinstallScript</name>
          <type>java.io.File</type>
          <deprecated>Use preinstallScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the pre-installation script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>preinstallScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-installation scriptlet.</description>
        </parameter>
        <parameter>
          <name>prepare</name>
          <type>java.lang.String</type>
          <deprecated>Use prepareScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The prepare script.</description>
        </parameter>
        <parameter>
          <name>prepareScript</name>
          <type>java.io.File</type>
          <deprecated>Use prepareScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the prepare script. A File which does not exist is ignored.</description>
        </parameter>
        <parameter>
          <name>prepareScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The prepare scriptlet;</description>
        </parameter>
        <parameter>
          <name>preremove</name>
          <type>java.lang.String</type>
          <deprecated>Use preremoveScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-removal script.</description>
        </parameter>
        <parameter>
          <name>preremoveScript</name>
          <type>java.io.File</type>
          <deprecated>Use preremoveScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the pre-removal script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>preremoveScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-removal scriptlet.</description>
        </parameter>
        <parameter>
          <name>prereqs</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of prerequisites for this package.</description>
        </parameter>
        <parameter>
          <name>pretransScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The pretrans scriptlet.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>projversion</name>
          <alias>version</alias>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The version portion of the RPM file name.</description>
        </parameter>
        <parameter>
          <name>provides</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of virtual packages provided by this package.</description>
        </parameter>
        <parameter>
          <name>release</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The release portion of the RPM file name.
&lt;p&gt;
Beginning with 2.0-beta-2, this is an optional parameter. By default, the release will be generated from the
modifier portion of the &lt;a href=&quot;#projversion&quot;&gt;project version&lt;/a&gt; using the following rules:
&lt;ul&gt;
&lt;li&gt;If no modifier exists, the release will be &lt;code&gt;1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the modifier ends with &lt;i&gt;SNAPSHOT&lt;/i&gt;, the timestamp (in UTC) of the build will be appended to end.&lt;/li&gt;
&lt;li&gt;All instances of &lt;code&gt;&apos;-&apos;&lt;/code&gt; in the modifier will be replaced with &lt;code&gt;&apos;_&apos;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If a modifier exists and does not end with &lt;i&gt;SNAPSHOT&lt;/i&gt;, &lt;code&gt;&quot;_1&quot;&lt;/code&gt; will be appended to end.&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>requires</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of requirements for this package.</description>
        </parameter>
        <parameter>
          <name>session</name>
          <type>org.apache.maven.execution.MavenSession</type>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>summary</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The one-line description of the package.</description>
        </parameter>
        <parameter>
          <name>targetOS</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The target os for building the RPM. By default, this will be populated to &lt;a
href=&quot;http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/Os.html#OS_NAME&quot;&gt;Os.OS_NAME&lt;/a&gt;.
&lt;p&gt;
This can be used in conjunction with &lt;a href=&quot;source-params.html#targetOSName&quot;&gt;Source targetOSName&lt;/a&gt; to flex
the contents of the rpm based on operating system.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>targetVendor</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The target vendor for building the RPM. By default, this will be populated to the result of &lt;i&gt;rpm -E
%{_host_vendor}&lt;/i&gt;.</description>
        </parameter>
        <parameter>
          <name>triggers</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of triggers to take place on installation of other packages.
&lt;pre&gt;
 &amp;lt;triggers&gt;
     &amp;lt;installTrigger&gt;
         &amp;lt;subpackage&gt;optional&amp;lt;/subpackage&gt;
         &amp;lt;program&gt;program to execute (if not shell) optional&amp;lt;/program&gt;
         &amp;lt;script&gt;actual contents of script - optional&amp;lt;/script&gt;
         &amp;lt;scriptFile&gt;location of file containing script - optional&amp;lt;/script&gt;
         &amp;lt;fileEncoding&gt;character encoding for script file - recommended&amp;lt;/fileEncoding&gt;
         &amp;lt;triggers&gt;
             &amp;lt;trigger&gt;package/version to trigger on (i.e. jre &gt; 1.5)&amp;lt;/trigger&gt;
             ...
         &amp;lt;/triggers&gt;
     &amp;lt;/installTrigger&gt;
     &amp;lt;removeTrigger&gt;
         ...
     &amp;lt;/removeTrigger&gt;
     &amp;lt;postRemoveTrigger&gt;
         ...
     &amp;lt;/postRemoveTrigger&gt;
     ...
 &amp;lt;/triggers&gt;
&lt;/pre&gt;</description>
        </parameter>
        <parameter>
          <name>url</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>A URL for the vendor.</description>
        </parameter>
        <parameter>
          <name>vendor</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The vendor supplying the package.</description>
        </parameter>
        <parameter>
          <name>verify</name>
          <type>java.lang.String</type>
          <deprecated>Use verifyScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The verification script.</description>
        </parameter>
        <parameter>
          <name>verifyScript</name>
          <type>java.io.File</type>
          <deprecated>Use verifyScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the verification script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>verifyScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The verify scriptlet.</description>
        </parameter>
        <parameter>
          <name>workarea</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The area for RPM to use for building the package.&lt;br/&gt;

&lt;b&gt;NOTE:&lt;/b&gt; The absolute path to the workarea &lt;i&gt;MUST NOT&lt;/i&gt; have a space in any of the directory names.
&lt;p&gt;
Beginning with release 2.0-beta-3, sub-directories will be created within the workarea for each execution of the
plugin within a life cycle.&lt;br/&gt;

The pattern will be &lt;code&gt;workarea/&lt;i&gt;name[-classifier]&lt;/i&gt;&lt;/code&gt;.&lt;br/&gt;

The classifier portion is only applicable for the &lt;a href=&quot;attached-rpm-mojo.html&quot;&gt;attached-rpm&lt;/a&gt; goal.
&lt;/p&gt;</description>
        </parameter>
      </parameters>
      <configuration>
        <artifact implementation="org.apache.maven.artifact.Artifact">${project.artifact}</artifact>
        <attachedArtifacts implementation="java.util.List">${project.attachedArtifacts}</attachedArtifacts>
        <autoProvides implementation="boolean" default-value="true"/>
        <autoRequires implementation="boolean" default-value="true"/>
        <description implementation="java.lang.String">${project.description}</description>
        <escapeString implementation="java.lang.String">${maven.rpm.escapeString}</escapeString>
        <keyname implementation="java.lang.String">${gpg.keyname}</keyname>
        <name implementation="java.lang.String">${project.artifactId}</name>
        <packager implementation="java.lang.String">${project.organization.name}</packager>
        <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
        <projversion implementation="java.lang.String">${project.version}</projversion>
        <session implementation="org.apache.maven.execution.MavenSession">${session}</session>
        <summary implementation="java.lang.String">${project.name}</summary>
        <url implementation="java.lang.String">${project.organization.url}</url>
        <vendor implementation="java.lang.String">${project.organization.name}</vendor>
        <workarea implementation="java.io.File">${project.build.directory}/rpm</workarea>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.shared.filtering.MavenFileFilter</role>
          <role-hint>default</role-hint>
          <field-name>mavenFileFilter</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>help</goal>
      <description>Display help information on rpm-maven-plugin.&lt;br/&gt; Call &lt;pre&gt;  mvn rpm:help -Ddetail=true -Dgoal=&amp;lt;goal-name&amp;gt;&lt;/pre&gt; to display parameter details.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.codehaus.mojo.rpm.HelpMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>detail</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &lt;code&gt;true&lt;/code&gt;, display all settable properties for each goal.</description>
        </parameter>
        <parameter>
          <name>goal</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The name of the goal for which to show help. If unspecified, all goals will be displayed.</description>
        </parameter>
        <parameter>
          <name>indentSize</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The number of spaces per indentation level, should be positive.</description>
        </parameter>
        <parameter>
          <name>lineLength</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The maximum length of a display line, should be positive.</description>
        </parameter>
      </parameters>
      <configuration>
        <detail implementation="boolean" default-value="false">${detail}</detail>
        <goal implementation="java.lang.String">${goal}</goal>
        <indentSize implementation="int" default-value="2">${indentSize}</indentSize>
        <lineLength implementation="int" default-value="80">${lineLength}</lineLength>
      </configuration>
    </mojo>
    <mojo>
      <goal>version</goal>
      <description>Makes the rpm version and release attributes available as properties.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>initialize</phase>
      <implementation>org.codehaus.mojo.rpm.VersionMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The maven project.</description>
        </parameter>
        <parameter>
          <name>projversion</name>
          <alias>version</alias>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The version portion of the RPM file name.</description>
        </parameter>
        <parameter>
          <name>release</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The release portion of the RPM file name.
&lt;p&gt;
This is an optional parameter. By default, the release will be generated from the modifier portion of the &lt;a
href=&quot;#projversion&quot;&gt;project version&lt;/a&gt; using the following rules:
&lt;ul&gt;
&lt;li&gt;If no modifier exists, the release will be &lt;code&gt;1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the modifier ends with &lt;i&gt;SNAPSHOT&lt;/i&gt;, the timestamp (in UTC) of the build will be appended to end.&lt;/li&gt;
&lt;li&gt;All instances of &lt;code&gt;&apos;-&apos;&lt;/code&gt; in the modifier will be replaced with &lt;code&gt;&apos;_&apos;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If a modifier exists and does not end with &lt;i&gt;SNAPSHOT&lt;/i&gt;, &lt;code&gt;&quot;_1&quot;&lt;/code&gt; will be appended to end.&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>releaseProperty</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The system property to set the calculated release to.</description>
        </parameter>
        <parameter>
          <name>versionProperty</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The system property to set the calculated version to.</description>
        </parameter>
      </parameters>
      <configuration>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <projversion implementation="java.lang.String">${project.version}</projversion>
        <releaseProperty implementation="java.lang.String" default-value="rpm.release"/>
        <versionProperty implementation="java.lang.String" default-value="rpm.version"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>attached-rpm</goal>
      <description>Construct the RPM file and attaches it as a secondary artifact.</description>
      <requiresDependencyResolution>runtime</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>package</phase>
      <implementation>org.codehaus.mojo.rpm.AttachedRPMMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>artifact</name>
          <type>org.apache.maven.artifact.Artifact</type>
          <required>true</required>
          <editable>false</editable>
          <description>The primary project artifact.</description>
        </parameter>
        <parameter>
          <name>attachedArtifacts</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>false</editable>
          <description>Auxillary project artifacts.</description>
        </parameter>
        <parameter>
          <name>autoProvides</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Automatically add provided shared libraries.</description>
        </parameter>
        <parameter>
          <name>autoRequires</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Automatically add requirements deduced from included shared libraries.</description>
        </parameter>
        <parameter>
          <name>changelogFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The changelog file. If the file does not exist, it is ignored.</description>
        </parameter>
        <parameter>
          <name>classifier</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The classifier for the rpm secondary artifact.</description>
        </parameter>
        <parameter>
          <name>clean</name>
          <type>java.lang.String</type>
          <deprecated>Use cleanScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The clean script.</description>
        </parameter>
        <parameter>
          <name>cleanScript</name>
          <type>java.io.File</type>
          <deprecated>Use cleanScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the clean script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>cleanScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The clean scriptlet.</description>
        </parameter>
        <parameter>
          <name>conflicts</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of conflicts for this package.</description>
        </parameter>
        <parameter>
          <name>copyright</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The one-line copyright information.</description>
        </parameter>
        <parameter>
          <name>defaultDirmode</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default directory mode (octal string) to assign to directories when installed.&lt;br/&gt;

Only applicable to a &lt;a href=&quot;map-params.html&quot;&gt;Mapping&lt;/a&gt; if &lt;a href=&quot;map-params.html#filemode&quot;&gt;filemode&lt;/a&gt;,
&lt;a href=&quot;map-params.html#username&quot;&gt;username&lt;/a&gt;, AND &lt;a href=&quot;map-params.html#groupname&quot;&gt;groupname&lt;/a&gt; 
are &lt;b&gt;NOT&lt;/b&gt; populated.</description>
        </parameter>
        <parameter>
          <name>defaultFilemode</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default file mode (octal string) to assign to files when installed. &lt;br/&gt;

Only applicable to a &lt;a href=&quot;map-params.html&quot;&gt;Mapping&lt;/a&gt; if &lt;a href=&quot;map-params.html#filemode&quot;&gt;filemode&lt;/a&gt;,
&lt;a href=&quot;map-params.html#username&quot;&gt;username&lt;/a&gt;, AND &lt;a href=&quot;map-params.html#groupname&quot;&gt;groupname&lt;/a&gt; 
are &lt;b&gt;NOT&lt;/b&gt; populated.</description>
        </parameter>
        <parameter>
          <name>defaultGroupname</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default group name for files when installed.&lt;br/&gt;

Only applicable to a &lt;a href=&quot;map-params.html&quot;&gt;Mapping&lt;/a&gt; if &lt;a href=&quot;map-params.html#filemode&quot;&gt;filemode&lt;/a&gt;,
&lt;a href=&quot;map-params.html#username&quot;&gt;username&lt;/a&gt;, AND &lt;a href=&quot;map-params.html#groupname&quot;&gt;groupname&lt;/a&gt; 
are &lt;b&gt;NOT&lt;/b&gt; populated.</description>
        </parameter>
        <parameter>
          <name>defaultUsername</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The default user name for files when installed.&lt;br/&gt;

Only applicable to a &lt;a href=&quot;map-params.html&quot;&gt;Mapping&lt;/a&gt; if &lt;a href=&quot;map-params.html#filemode&quot;&gt;filemode&lt;/a&gt;,
&lt;a href=&quot;map-params.html#username&quot;&gt;username&lt;/a&gt;, AND &lt;a href=&quot;map-params.html#groupname&quot;&gt;groupname&lt;/a&gt; 
are &lt;b&gt;NOT&lt;/b&gt; populated.</description>
        </parameter>
        <parameter>
          <name>defineStatements</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of %define arguments</description>
        </parameter>
        <parameter>
          <name>description</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The long description of the package.</description>
        </parameter>
        <parameter>
          <name>disabled</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Indicates if the execution should be disabled. If &lt;code&gt;true&lt;/code&gt;, nothing will occur during execution.</description>
        </parameter>
        <parameter>
          <name>distribution</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The distribution containing this package.</description>
        </parameter>
        <parameter>
          <name>escapeString</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Expression preceded with the String won&apos;t be interpolated \${foo} will be replaced with ${foo}</description>
        </parameter>
        <parameter>
          <name>filters</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>Filters (property files) to include during the interpolation of the pom.xml.</description>
        </parameter>
        <parameter>
          <name>group</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The package group for the package.</description>
        </parameter>
        <parameter>
          <name>icon</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>An icon for the package.</description>
        </parameter>
        <parameter>
          <name>install</name>
          <type>java.lang.String</type>
          <deprecated>Use installScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The installation script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>installScript</name>
          <type>java.io.File</type>
          <deprecated>Use installScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the installation script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>installScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The installation scriptlet.</description>
        </parameter>
        <parameter>
          <name>keyPassphrase</name>
          <type>org.codehaus.mojo.rpm.Passphrase</type>
          <required>false</required>
          <editable>true</editable>
          <description>The passphrase for the &lt;i&gt;keyname&lt;/i&gt; to sign the rpm. This utilizes &lt;a href=&quot;http://expect.nist.gov/&quot;&gt;expect&lt;/a&gt;
and requires that {@code expect} be on the PATH.</description>
        </parameter>
        <parameter>
          <name>keyname</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Set to a key name to sign the package using GPG. If &lt;i&gt;keyPassphrase&lt;/i&gt; is not also provided, this will require
the input of the passphrase at the terminal.</description>
        </parameter>
        <parameter>
          <name>mappings</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>true</editable>
          <description>The list of file &lt;a href=&quot;map-params.html&quot;&gt;mappings&lt;/a&gt;.</description>
        </parameter>
        <parameter>
          <name>name</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The name portion of the output file name.</description>
        </parameter>
        <parameter>
          <name>needarch</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The target architecture for the rpm. The default value is &lt;i&gt;noarch&lt;/i&gt;.
&lt;p&gt;
For passivity purposes, a value of &lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt; will indicate whether the &lt;a
href=&quot;http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/Os.html#OS_ARCH&quot;&gt;architecture&lt;/a&gt;
of the build machine will be used. Any other value (such as &lt;tt&gt;x86_64&lt;/tt&gt;) will set the architecture of the
rpm to &lt;tt&gt;x86_64&lt;/tt&gt;.
&lt;/p&gt;
&lt;p&gt;
This can also be used in conjunction with &lt;a href=&quot;source-params.html#targetArchitecture&quot;&gt;Source
targetArchitecture&lt;/a&gt; to flex the contents of the rpm based on the architecture.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>obsoletes</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of obsoletes for this package.</description>
        </parameter>
        <parameter>
          <name>packager</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The name of the person or group creating the package.</description>
        </parameter>
        <parameter>
          <name>postinstall</name>
          <type>java.lang.String</type>
          <deprecated>Use postinstallScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The post-installation script.</description>
        </parameter>
        <parameter>
          <name>postinstallScript</name>
          <type>java.io.File</type>
          <deprecated>Use postinstallScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the post-installation script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>postinstallScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The post install scriptlet.</description>
        </parameter>
        <parameter>
          <name>postremove</name>
          <type>java.lang.String</type>
          <deprecated>Use postremoveScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The post-removal script.</description>
        </parameter>
        <parameter>
          <name>postremoveScript</name>
          <type>java.io.File</type>
          <deprecated>Use postremoveScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the post-removal script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>postremoveScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The post-removal scriptlet.</description>
        </parameter>
        <parameter>
          <name>posttransScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The posttrans script.</description>
        </parameter>
        <parameter>
          <name>prefix</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The relocation prefix for this package.</description>
        </parameter>
        <parameter>
          <name>preinstall</name>
          <type>java.lang.String</type>
          <deprecated>Use preinstallScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-installation script.</description>
        </parameter>
        <parameter>
          <name>preinstallScript</name>
          <type>java.io.File</type>
          <deprecated>Use preinstallScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the pre-installation script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>preinstallScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-installation scriptlet.</description>
        </parameter>
        <parameter>
          <name>prepare</name>
          <type>java.lang.String</type>
          <deprecated>Use prepareScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The prepare script.</description>
        </parameter>
        <parameter>
          <name>prepareScript</name>
          <type>java.io.File</type>
          <deprecated>Use prepareScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the prepare script. A File which does not exist is ignored.</description>
        </parameter>
        <parameter>
          <name>prepareScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The prepare scriptlet;</description>
        </parameter>
        <parameter>
          <name>preremove</name>
          <type>java.lang.String</type>
          <deprecated>Use preremoveScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-removal script.</description>
        </parameter>
        <parameter>
          <name>preremoveScript</name>
          <type>java.io.File</type>
          <deprecated>Use preremoveScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the pre-removal script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>preremoveScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-removal scriptlet.</description>
        </parameter>
        <parameter>
          <name>prereqs</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of prerequisites for this package.</description>
        </parameter>
        <parameter>
          <name>pretransScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The pretrans scriptlet.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>projversion</name>
          <alias>version</alias>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The version portion of the RPM file name.</description>
        </parameter>
        <parameter>
          <name>provides</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of virtual packages provided by this package.</description>
        </parameter>
        <parameter>
          <name>release</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The release portion of the RPM file name.
&lt;p&gt;
Beginning with 2.0-beta-2, this is an optional parameter. By default, the release will be generated from the
modifier portion of the &lt;a href=&quot;#projversion&quot;&gt;project version&lt;/a&gt; using the following rules:
&lt;ul&gt;
&lt;li&gt;If no modifier exists, the release will be &lt;code&gt;1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the modifier ends with &lt;i&gt;SNAPSHOT&lt;/i&gt;, the timestamp (in UTC) of the build will be appended to end.&lt;/li&gt;
&lt;li&gt;All instances of &lt;code&gt;&apos;-&apos;&lt;/code&gt; in the modifier will be replaced with &lt;code&gt;&apos;_&apos;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If a modifier exists and does not end with &lt;i&gt;SNAPSHOT&lt;/i&gt;, &lt;code&gt;&quot;_1&quot;&lt;/code&gt; will be appended to end.&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>requires</name>
          <type>java.util.LinkedHashSet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of requirements for this package.</description>
        </parameter>
        <parameter>
          <name>session</name>
          <type>org.apache.maven.execution.MavenSession</type>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>summary</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The one-line description of the package.</description>
        </parameter>
        <parameter>
          <name>targetOS</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The target os for building the RPM. By default, this will be populated to &lt;a
href=&quot;http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/Os.html#OS_NAME&quot;&gt;Os.OS_NAME&lt;/a&gt;.
&lt;p&gt;
This can be used in conjunction with &lt;a href=&quot;source-params.html#targetOSName&quot;&gt;Source targetOSName&lt;/a&gt; to flex
the contents of the rpm based on operating system.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>targetVendor</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The target vendor for building the RPM. By default, this will be populated to the result of &lt;i&gt;rpm -E
%{_host_vendor}&lt;/i&gt;.</description>
        </parameter>
        <parameter>
          <name>triggers</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of triggers to take place on installation of other packages.
&lt;pre&gt;
 &amp;lt;triggers&gt;
     &amp;lt;installTrigger&gt;
         &amp;lt;subpackage&gt;optional&amp;lt;/subpackage&gt;
         &amp;lt;program&gt;program to execute (if not shell) optional&amp;lt;/program&gt;
         &amp;lt;script&gt;actual contents of script - optional&amp;lt;/script&gt;
         &amp;lt;scriptFile&gt;location of file containing script - optional&amp;lt;/script&gt;
         &amp;lt;fileEncoding&gt;character encoding for script file - recommended&amp;lt;/fileEncoding&gt;
         &amp;lt;triggers&gt;
             &amp;lt;trigger&gt;package/version to trigger on (i.e. jre &gt; 1.5)&amp;lt;/trigger&gt;
             ...
         &amp;lt;/triggers&gt;
     &amp;lt;/installTrigger&gt;
     &amp;lt;removeTrigger&gt;
         ...
     &amp;lt;/removeTrigger&gt;
     &amp;lt;postRemoveTrigger&gt;
         ...
     &amp;lt;/postRemoveTrigger&gt;
     ...
 &amp;lt;/triggers&gt;
&lt;/pre&gt;</description>
        </parameter>
        <parameter>
          <name>url</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>A URL for the vendor.</description>
        </parameter>
        <parameter>
          <name>vendor</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The vendor supplying the package.</description>
        </parameter>
        <parameter>
          <name>verify</name>
          <type>java.lang.String</type>
          <deprecated>Use verifyScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The verification script.</description>
        </parameter>
        <parameter>
          <name>verifyScript</name>
          <type>java.io.File</type>
          <deprecated>Use verifyScriplet</deprecated>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the verification script.
&lt;p&gt;
Beginning with release 2.0-beta-3, a File which does not exist is ignored.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>verifyScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <required>false</required>
          <editable>true</editable>
          <description>The verify scriptlet.</description>
        </parameter>
        <parameter>
          <name>workarea</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The area for RPM to use for building the package.&lt;br/&gt;

&lt;b&gt;NOTE:&lt;/b&gt; The absolute path to the workarea &lt;i&gt;MUST NOT&lt;/i&gt; have a space in any of the directory names.
&lt;p&gt;
Beginning with release 2.0-beta-3, sub-directories will be created within the workarea for each execution of the
plugin within a life cycle.&lt;br/&gt;

The pattern will be &lt;code&gt;workarea/&lt;i&gt;name[-classifier]&lt;/i&gt;&lt;/code&gt;.&lt;br/&gt;

The classifier portion is only applicable for the &lt;a href=&quot;attached-rpm-mojo.html&quot;&gt;attached-rpm&lt;/a&gt; goal.
&lt;/p&gt;</description>
        </parameter>
      </parameters>
      <configuration>
        <artifact implementation="org.apache.maven.artifact.Artifact">${project.artifact}</artifact>
        <attachedArtifacts implementation="java.util.List">${project.attachedArtifacts}</attachedArtifacts>
        <autoProvides implementation="boolean" default-value="true"/>
        <autoRequires implementation="boolean" default-value="true"/>
        <description implementation="java.lang.String">${project.description}</description>
        <escapeString implementation="java.lang.String">${maven.rpm.escapeString}</escapeString>
        <keyname implementation="java.lang.String">${gpg.keyname}</keyname>
        <name implementation="java.lang.String">${project.artifactId}</name>
        <packager implementation="java.lang.String">${project.organization.name}</packager>
        <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
        <projversion implementation="java.lang.String">${project.version}</projversion>
        <session implementation="org.apache.maven.execution.MavenSession">${session}</session>
        <summary implementation="java.lang.String">${project.name}</summary>
        <url implementation="java.lang.String">${project.organization.url}</url>
        <vendor implementation="java.lang.String">${project.organization.name}</vendor>
        <workarea implementation="java.io.File">${project.build.directory}/rpm</workarea>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.shared.filtering.MavenFileFilter</role>
          <role-hint>default</role-hint>
          <field-name>mavenFileFilter</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectHelper</role>
          <field-name>mavenProjectHelper</field-name>
        </requirement>
      </requirements>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-archiver</artifactId>
      <type>jar</type>
      <version>1.0-alpha-5</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <type>jar</type>
      <version>1.0-alpha-8</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>1.5.15</version>
    </dependency>
    <dependency>
      <groupId>classworlds</groupId>
      <artifactId>classworlds</artifactId>
      <type>jar</type>
      <version>1.1-alpha-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-profile</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact-manager</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-repository-metadata</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <type>jar</type>
      <version>1.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-registry</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-filtering</artifactId>
      <type>jar</type>
      <version>1.0-beta-3</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-file</artifactId>
      <type>jar</type>
      <version>1.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-parameter-documenter</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-http-lightweight</artifactId>
      <type>jar</type>
      <version>1.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-http-shared</artifactId>
      <type>jar</type>
      <version>1.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>jtidy</groupId>
      <artifactId>jtidy</artifactId>
      <type>jar</type>
      <version>4aug2000r7-dev</version>
    </dependency>
    <dependency>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
      <type>jar</type>
      <version>1.0.b2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.reporting</groupId>
      <artifactId>maven-reporting-api</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.doxia</groupId>
      <artifactId>doxia-sink-api</artifactId>
      <type>jar</type>
      <version>1.0-alpha-7</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-error-diagnostics</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>commons-cli</groupId>
      <artifactId>commons-cli</artifactId>
      <type>jar</type>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-ssh-external</artifactId>
      <type>jar</type>
      <version>1.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-ssh-common</artifactId>
      <type>jar</type>
      <version>1.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-interactivity-api</artifactId>
      <type>jar</type>
      <version>1.0-alpha-4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-descriptor</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-monitor</artifactId>
      <type>jar</type>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-ssh</artifactId>
      <type>jar</type>
      <version>1.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>com.jcraft</groupId>
      <artifactId>jsch</artifactId>
      <type>jar</type>
      <version>0.1.27</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-interpolation</artifactId>
      <type>jar</type>
      <version>1.12</version>
    </dependency>
    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-build-api</artifactId>
      <type>jar</type>
      <version>0.0.4</version>
    </dependency>
  </dependencies>
</plugin>
New to GrepCode? Check out our FAQ X