Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>

<!-- Generated by maven-plugin-tools 3.3 on 2015-04-17 -->

<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.1.3</version>
  <goalPrefix>rpm</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <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>
      <since>2.0-beta-2</since>
      <threadSafe>true</threadSafe>
      <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>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>Automatically add provided shared libraries.</description>
        </parameter>
        <parameter>
          <name>autoRequires</name>
          <type>boolean</type>
          <since>2.0-beta-4</since>
          <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>
          <since>2.0-beta-3</since>
          <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>cleanScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <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>defaultDirmode</name>
          <type>java.lang.String</type>
          <since>2.0-beta-2</since>
          <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>
          <since>2.0-beta-2</since>
          <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>
          <since>2.0-beta-2</since>
          <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>
          <since>2.0-beta-2</since>
          <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 &lt;code&gt;%define&lt;/code&gt; 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>
          <since>2.0</since>
          <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>
          <since>2.0</since>
          <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>
          <since>2.0</since>
          <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>installScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The installation scriptlet.</description>
        </parameter>
        <parameter>
          <name>keyPassphrase</name>
          <type>org.codehaus.mojo.rpm.Passphrase</type>
          <since>2.0-beta-4</since>
          <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.
&lt;p&gt;
Note that the data type used is &lt;b&gt;NOT&lt;/b&gt; {@code String}.

&lt;pre&gt;
&amp;lt;configuration&amp;gt;
    ...
    &amp;lt;keyPassphrase&amp;gt;
        &amp;lt;passphrase&amp;gt;&lt;i&gt;password&lt;/i&gt;&amp;lt;/passphrase&amp;gt;
    &amp;lt;/keyPassphrase&amp;gt;
&amp;lt;/configuration&amp;gt;
&lt;/pre&gt;

&lt;/p&gt;
If not given, look up the value under Maven settings using server id at &apos;keyPassphraseServerId&apos; configuration.</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>keypath</name>
          <type>java.io.File</type>
          <since>2.1.2</since>
          <required>false</required>
          <editable>true</editable>
          <description>The directory from which gpg will load keyrings. If not specified, gpg will use the value configured for its
installation, e.g. &lt;code&gt;~/.gnupg&lt;/code&gt; or &lt;code&gt;%APPDATA%/gnupg&lt;/code&gt;.</description>
        </parameter>
        <parameter>
          <name>license</name>
          <type>java.lang.String</type>
          <since>2.1-alpha-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The one-line license information.</description>
        </parameter>
        <parameter>
          <name>mappings</name>
          <type>java.util.List</type>
          <required>false</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>
          <since>2.0-beta-3</since>
          <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>passphraseServerId</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Server id to lookup the gpg passphrase under Maven settings. The default value intentionally selected to match
with maven-gpg-plugin.</description>
        </parameter>
        <parameter>
          <name>postinstallScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The post install scriptlet.</description>
        </parameter>
        <parameter>
          <name>postremoveScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The post-removal scriptlet.</description>
        </parameter>
        <parameter>
          <name>posttransScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <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>prefixes</name>
          <type>java.util.List</type>
          <since>2.1-alpha-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>Additional relocation prefixes if needed.</description>
        </parameter>
        <parameter>
          <name>preinstallScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-installation scriptlet.</description>
        </parameter>
        <parameter>
          <name>prepareScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The prepare scriptlet;</description>
        </parameter>
        <parameter>
          <name>preremoveScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-removal scriptlet.</description>
        </parameter>
        <parameter>
          <name>prereqs</name>
          <type>java.util.LinkedHashSet</type>
          <since>2.0-beta-3</since>
          <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>
          <since>2.0-beta-4</since>
          <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>releaseProperty</name>
          <type>java.lang.String</type>
          <since>2.1-alpha-2</since>
          <required>true</required>
          <editable>true</editable>
          <description>The system property to read the calculated release from, normally set by the version mojo.</description>
        </parameter>
        <parameter>
          <name>repackJars</name>
          <type>boolean</type>
          <since>2.1-alpha-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>Should &lt;i&gt;brp-repack-jars&lt;/i&gt; be used in the RPM build. Defaults to &lt;code&gt;false&lt;/code&gt;. If it is
&lt;code&gt;false&lt;/code&gt; &lt;i&gt;brp-repack-jars&lt;/i&gt; will be disabled by:&lt;br/&gt;
&lt;code&gt;%define __jar_repack 0&lt;/code&gt; This will have no effect on RHEL5 or earlier release.</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>
          <since>2.0</since>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>settings</name>
          <type>org.apache.maven.settings.Settings</type>
          <since>2.1.2</since>
          <required>false</required>
          <editable>false</editable>
          <description>Current user system settings for use in Maven.</description>
        </parameter>
        <parameter>
          <name>sourceEncoding</name>
          <type>java.lang.String</type>
          <since>2.1-alpha-4</since>
          <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>
          <since>2.0-beta-3</since>
          <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>
          <since>2.0-beta-3</since>
          <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>
          <since>2.0-beta-4</since>
          <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>verifyScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The verify scriptlet.</description>
        </parameter>
        <parameter>
          <name>versionProperty</name>
          <type>java.lang.String</type>
          <since>2.1-alpha-2</since>
          <required>true</required>
          <editable>true</editable>
          <description>The system property to read the calculated version from, normally set by the version mojo.</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" default-value="${project.description}">${rpm.description}</description>
        <escapeString implementation="java.lang.String">${maven.rpm.escapeString}</escapeString>
        <keyname implementation="java.lang.String">${gpg.keyname}</keyname>
        <keypath implementation="java.io.File">${gpg.homedir}</keypath>
        <name implementation="java.lang.String" default-value="${project.artifactId}">${rpm.name}</name>
        <packager implementation="java.lang.String" default-value="${project.organization.name}">${rpm.packager}</packager>
        <passphraseServerId implementation="java.lang.String" default-value="gpg.passphrase">${gpg.passphraseServerId}</passphraseServerId>
        <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
        <projversion implementation="java.lang.String" default-value="${project.version}">${rpm.version}</projversion>
        <release implementation="java.lang.String">${rpm.release}</release>
        <releaseProperty implementation="java.lang.String" default-value="rpm.release"/>
        <session implementation="org.apache.maven.execution.MavenSession" default-value="${session}"/>
        <settings implementation="org.apache.maven.settings.Settings" default-value="${settings}"/>
        <sourceEncoding implementation="java.lang.String">${project.build.sourceEncoding}</sourceEncoding>
        <summary implementation="java.lang.String" default-value="${project.name}">${rpm.summary}</summary>
        <url implementation="java.lang.String" default-value="${project.organization.url}">${rpm.url}</url>
        <vendor implementation="java.lang.String" default-value="${project.organization.name}">${rpm.vendor}</vendor>
        <versionProperty implementation="java.lang.String" default-value="rpm.version"/>
        <workarea implementation="java.io.File" default-value="${project.build.directory}/rpm"/>
      </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>
        <requirement>
          <role>org.sonatype.plexus.components.sec.dispatcher.SecDispatcher</role>
          <role-hint>mng-4384</role-hint>
          <field-name>securityDispatcher</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>help</goal>
      <description>Display help information on rpm-maven-plugin.&lt;br&gt;
Call &lt;code&gt;mvn rpm:help -Ddetail=true -Dgoal=&amp;lt;goal-name&amp;gt;&lt;/code&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>
      <threadSafe>true</threadSafe>
      <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>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>
      <threadSafe>true</threadSafe>
      <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>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>Automatically add provided shared libraries.</description>
        </parameter>
        <parameter>
          <name>autoRequires</name>
          <type>boolean</type>
          <since>2.0-beta-4</since>
          <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>
          <since>2.0-beta-3</since>
          <required>false</required>
          <editable>true</editable>
          <description>The changelog file. If the file does not exist, it is ignored.</description>
        </parameter>
        <parameter>
          <name>cleanScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <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>defaultDirmode</name>
          <type>java.lang.String</type>
          <since>2.0-beta-2</since>
          <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>
          <since>2.0-beta-2</since>
          <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>
          <since>2.0-beta-2</since>
          <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>
          <since>2.0-beta-2</since>
          <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 &lt;code&gt;%define&lt;/code&gt; 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>
          <since>2.0</since>
          <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>
          <since>2.0</since>
          <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>
          <since>2.0</since>
          <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>installScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The installation scriptlet.</description>
        </parameter>
        <parameter>
          <name>keyPassphrase</name>
          <type>org.codehaus.mojo.rpm.Passphrase</type>
          <since>2.0-beta-4</since>
          <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.
&lt;p&gt;
Note that the data type used is &lt;b&gt;NOT&lt;/b&gt; {@code String}.

&lt;pre&gt;
&amp;lt;configuration&amp;gt;
    ...
    &amp;lt;keyPassphrase&amp;gt;
        &amp;lt;passphrase&amp;gt;&lt;i&gt;password&lt;/i&gt;&amp;lt;/passphrase&amp;gt;
    &amp;lt;/keyPassphrase&amp;gt;
&amp;lt;/configuration&amp;gt;
&lt;/pre&gt;

&lt;/p&gt;
If not given, look up the value under Maven settings using server id at &apos;keyPassphraseServerId&apos; configuration.</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>keypath</name>
          <type>java.io.File</type>
          <since>2.1.2</since>
          <required>false</required>
          <editable>true</editable>
          <description>The directory from which gpg will load keyrings. If not specified, gpg will use the value configured for its
installation, e.g. &lt;code&gt;~/.gnupg&lt;/code&gt; or &lt;code&gt;%APPDATA%/gnupg&lt;/code&gt;.</description>
        </parameter>
        <parameter>
          <name>license</name>
          <type>java.lang.String</type>
          <since>2.1-alpha-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The one-line license information.</description>
        </parameter>
        <parameter>
          <name>mappings</name>
          <type>java.util.List</type>
          <required>false</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>
          <since>2.0-beta-3</since>
          <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>passphraseServerId</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Server id to lookup the gpg passphrase under Maven settings. The default value intentionally selected to match
with maven-gpg-plugin.</description>
        </parameter>
        <parameter>
          <name>postinstallScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The post install scriptlet.</description>
        </parameter>
        <parameter>
          <name>postremoveScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The post-removal scriptlet.</description>
        </parameter>
        <parameter>
          <name>posttransScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <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>prefixes</name>
          <type>java.util.List</type>
          <since>2.1-alpha-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>Additional relocation prefixes if needed.</description>
        </parameter>
        <parameter>
          <name>preinstallScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-installation scriptlet.</description>
        </parameter>
        <parameter>
          <name>prepareScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The prepare scriptlet;</description>
        </parameter>
        <parameter>
          <name>preremoveScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The pre-removal scriptlet.</description>
        </parameter>
        <parameter>
          <name>prereqs</name>
          <type>java.util.LinkedHashSet</type>
          <since>2.0-beta-3</since>
          <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>
          <since>2.0-beta-4</since>
          <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>releaseProperty</name>
          <type>java.lang.String</type>
          <since>2.1-alpha-2</since>
          <required>true</required>
          <editable>true</editable>
          <description>The system property to read the calculated release from, normally set by the version mojo.</description>
        </parameter>
        <parameter>
          <name>repackJars</name>
          <type>boolean</type>
          <since>2.1-alpha-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>Should &lt;i&gt;brp-repack-jars&lt;/i&gt; be used in the RPM build. Defaults to &lt;code&gt;false&lt;/code&gt;. If it is
&lt;code&gt;false&lt;/code&gt; &lt;i&gt;brp-repack-jars&lt;/i&gt; will be disabled by:&lt;br/&gt;
&lt;code&gt;%define __jar_repack 0&lt;/code&gt; This will have no effect on RHEL5 or earlier release.</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>
          <since>2.0</since>
          <required>true</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>settings</name>
          <type>org.apache.maven.settings.Settings</type>
          <since>2.1.2</since>
          <required>false</required>
          <editable>false</editable>
          <description>Current user system settings for use in Maven.</description>
        </parameter>
        <parameter>
          <name>sourceEncoding</name>
          <type>java.lang.String</type>
          <since>2.1-alpha-4</since>
          <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>
          <since>2.0-beta-3</since>
          <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>
          <since>2.0-beta-3</since>
          <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>
          <since>2.0-beta-4</since>
          <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>verifyScriptlet</name>
          <type>org.codehaus.mojo.rpm.Scriptlet</type>
          <since>2.0-beta-4</since>
          <required>false</required>
          <editable>true</editable>
          <description>The verify scriptlet.</description>
        </parameter>
        <parameter>
          <name>versionProperty</name>
          <type>java.lang.String</type>
          <since>2.1-alpha-2</since>
          <required>true</required>
          <editable>true</editable>
          <description>The system property to read the calculated version from, normally set by the version mojo.</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" default-value="${project.description}">${rpm.description}</description>
        <escapeString implementation="java.lang.String">${maven.rpm.escapeString}</escapeString>
        <keyname implementation="java.lang.String">${gpg.keyname}</keyname>
        <keypath implementation="java.io.File">${gpg.homedir}</keypath>
        <name implementation="java.lang.String" default-value="${project.artifactId}">${rpm.name}</name>
        <packager implementation="java.lang.String" default-value="${project.organization.name}">${rpm.packager}</packager>
        <passphraseServerId implementation="java.lang.String" default-value="gpg.passphrase">${gpg.passphraseServerId}</passphraseServerId>
        <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
        <projversion implementation="java.lang.String" default-value="${project.version}">${rpm.version}</projversion>
        <release implementation="java.lang.String">${rpm.release}</release>
        <releaseProperty implementation="java.lang.String" default-value="rpm.release"/>
        <session implementation="org.apache.maven.execution.MavenSession" default-value="${session}"/>
        <settings implementation="org.apache.maven.settings.Settings" default-value="${settings}"/>
        <sourceEncoding implementation="java.lang.String">${project.build.sourceEncoding}</sourceEncoding>
        <summary implementation="java.lang.String" default-value="${project.name}">${rpm.summary}</summary>
        <url implementation="java.lang.String" default-value="${project.organization.url}">${rpm.url}</url>
        <vendor implementation="java.lang.String" default-value="${project.organization.name}">${rpm.vendor}</vendor>
        <versionProperty implementation="java.lang.String" default-value="rpm.version"/>
        <workarea implementation="java.io.File" default-value="${project.build.directory}/rpm"/>
      </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.sonatype.plexus.components.sec.dispatcher.SecDispatcher</role>
          <role-hint>mng-4384</role-hint>
          <field-name>securityDispatcher</field-name>
        </requirement>
      </requirements>
    </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>
      <since>2.0</since>
      <threadSafe>true</threadSafe>
      <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>session</name>
          <type>org.apache.maven.execution.MavenSession</type>
          <required>true</required>
          <editable>false</editable>
          <description>The maven session.</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" default-value="${project}"/>
        <projversion implementation="java.lang.String" default-value="${project.version}">${rpm.version}</projversion>
        <release implementation="java.lang.String">${rpm.release}</release>
        <releaseProperty implementation="java.lang.String" default-value="rpm.release"/>
        <session implementation="org.apache.maven.execution.MavenSession" default-value="${session}"/>
        <versionProperty implementation="java.lang.String" default-value="rpm.version"/>
      </configuration>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-file</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-parameter-documenter</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-http-lightweight</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-http-shared</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>nekohtml</groupId>
      <artifactId>xercesMinimal</artifactId>
      <type>jar</type>
      <version>1.9.6.2</version>
    </dependency>
    <dependency>
      <groupId>nekohtml</groupId>
      <artifactId>nekohtml</artifactId>
      <type>jar</type>
      <version>1.9.6.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-http</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-webdav-jackrabbit</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.jackrabbit</groupId>
      <artifactId>jackrabbit-webdav</artifactId>
      <type>jar</type>
      <version>1.5.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.jackrabbit</groupId>
      <artifactId>jackrabbit-jcr-commons</artifactId>
      <type>jar</type>
      <version>1.5.0</version>
    </dependency>
    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <type>jar</type>
      <version>3.0</version>
    </dependency>
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <type>jar</type>
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-nop</artifactId>
      <type>jar</type>
      <version>1.5.3</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <type>jar</type>
      <version>1.5.6</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <type>jar</type>
      <version>1.5.6</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
      <type>jar</type>
      <version>1.5.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.reporting</groupId>
      <artifactId>maven-reporting-api</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.doxia</groupId>
      <artifactId>doxia-sink-api</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.doxia</groupId>
      <artifactId>doxia-logging-api</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-profile</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <type>jar</type>
      <version>1.0-alpha-9-stable-1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-repository-metadata</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-error-diagnostics</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>commons-cli</groupId>
      <artifactId>commons-cli</artifactId>
      <type>jar</type>
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-ssh-external</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-ssh-common</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-descriptor</artifactId>
      <type>jar</type>
      <version>2.2.1</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-artifact-manager</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>backport-util-concurrent</groupId>
      <artifactId>backport-util-concurrent</artifactId>
      <type>jar</type>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-monitor</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-ssh</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>com.jcraft</groupId>
      <artifactId>jsch</artifactId>
      <type>jar</type>
      <version>0.1.38</version>
    </dependency>
    <dependency>
      <groupId>classworlds</groupId>
      <artifactId>classworlds</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-registry</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-filtering</artifactId>
      <type>jar</type>
      <version>1.3</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-shared-utils</artifactId>
      <type>jar</type>
      <version>0.6</version>
    </dependency>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>jsr305</artifactId>
      <type>jar</type>
      <version>2.0.1</version>
    </dependency>
    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-build-api</artifactId>
      <type>jar</type>
      <version>0.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-interpolation</artifactId>
      <type>jar</type>
      <version>1.21</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-archiver</artifactId>
      <type>jar</type>
      <version>2.9.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-io</artifactId>
      <type>jar</type>
      <version>2.4.1</version>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <type>jar</type>
      <version>2.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-compress</artifactId>
      <type>jar</type>
      <version>1.9</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>3.0.21</version>
    </dependency>
    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-sec-dispatcher</artifactId>
      <type>jar</type>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-cipher</artifactId>
      <type>jar</type>
      <version>1.4</version>
    </dependency>
  </dependencies>
</plugin>
New to GrepCode? Check out our FAQ X