rpm:yum-repository

Full name:

com.github.fracpete:rpm-maven-plugin:1.4.0:yum-repository

Description:

Build a YUM repository

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
<directories> List - A list of directories

These directories will be scanned recursively for files with the extension .rpm. All matching files will be added to the final repository.


<files> List - A list of files to be added

All listed files will be added to the final repository.


<outputDirectory> File - The location of the output directory.

This directory will be created if it does not exists.


Default value is: ${project.build.directory}/yum.
User property is: yum.repository.output.
<signature> Signature - An optional signature descriptor for GPP signing the final YUM repository

Also see signing


User property is: rpm.signature.
<skip> boolean 1.1.1 Disable the mojo altogether.
Default value is: false.
User property is: yum.skip.
<skipDependencies> boolean - Disable the use of RPMs from maven dependency artifacts
Default value is: false.
User property is: rpm.skipDependencies.
<skipSigning> boolean - Disable all repository signing
Default value is: false.
User property is: rpm.skipSigning.

Parameter Details

<directories>

A list of directories

These directories will be scanned recursively for files with the extension .rpm. All matching files will be added to the final repository.

  • Type: java.util.List
  • Required: No

<files>

A list of files to be added

All listed files will be added to the final repository.

  • Type: java.util.List
  • Required: No

<outputDirectory>

The location of the output directory.

This directory will be created if it does not exists.

  • Type: java.io.File
  • Required: No
  • User Property: yum.repository.output
  • Default: ${project.build.directory}/yum

<signature>

An optional signature descriptor for GPP signing the final YUM repository

Also see signing

  • Type: de.dentrassi.rpm.builder.Signature
  • Required: No
  • User Property: rpm.signature

<skip>

Disable the mojo altogether.
  • Type: boolean
  • Since: 1.1.1
  • Required: No
  • User Property: yum.skip
  • Default: false

<skipDependencies>

Disable the use of RPMs from maven dependency artifacts
  • Type: boolean
  • Required: No
  • User Property: rpm.skipDependencies
  • Default: false

<skipSigning>

Disable all repository signing
  • Type: boolean
  • Required: No
  • User Property: rpm.skipSigning
  • Default: false