maven-redlinerpm-plugin Maven Mojo

http://redline-rpm.org/ based RPM Maven packaging plugin

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка Данные
Группа

Группа

com.teradata
Идентификатор

Идентификатор

redlinerpm-maven-plugin-td
Последняя версия

Последняя версия

2.1.5
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

maven-redlinerpm-plugin Maven Mojo
http://redline-rpm.org/ based RPM Maven packaging plugin
Система контроля версий

Система контроля версий

https://github.com/teradata/redlinerpm-maven-plugin

Скачать redlinerpm-maven-plugin-td

Как подключить последнюю версию

<plugin>
    <groupId>com.teradata</groupId>
    <artifactId>redlinerpm-maven-plugin-td</artifactId>
    <version>2.1.5</version>
</plugin>

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.2.3
org.apache.maven : maven-compat jar 3.2.3
com.teradata : redline-td jar 1.2.2.1
org.apache.ant : ant jar 1.9.4
org.mvel : mvel2 jar 2.2.6.Final

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.slf4j : slf4j-simple jar 1.7.7

Модули Проекта

Данный проект не имеет модулей.

redlinerpm-maven-plugin

http://redline-rpm.org/ based RPM Maven packaging plugin.

Add this plugin as a plugin dependency to your Maven projects to package your software as an RPM file. Uses the http://redline-rpm.org/ RPM packaging library to provide operating system agnostic RPM builds and requires Maven v3+ and Java 1.6+.

Usage

Add the plugin to the section within your pom.xml file.

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    
    <groupId>com.example</groupId>
    <artifactId>my-project</artifactId>
    <version>1.1</version>
    <packaging>rpm</packaging>
    
    <build>
        <plugins>
            <plugin>
                <groupId>uk.co.codezen</groupId>
                <artifactId>redlinerpm-maven-plugin</artifactId>
                <version>2.1</version>
                <extensions>true</extensions>
             
                <configuration>
                    <defaultUser>apache</defaultUser>
                    <defaultGroup>apache</defaultGroup>
                    <defaultDestination>/var/www/${project.build.name}</defaultDestination>
         
                    <excludes>
                        <source>**/*.bak</source>
                    </excludes>
             
                    <packages>
                        <package>
                            <rules>
                                <rule>
                                    <includes>
                                        <include>**/*.ini</include>
                                    </includes>
             
                                    <directives>
                                        <directive>config</directive>
                                        <directive>noreplace</directive>
                                    </directives>
                                </rule>
             
                                <rule>
                                    <includes>
                                        <include>**/*</include>
                                    </includes>
             
                                    <excludes>
                                        <exclude>**/*.bak</exclude>
                                        <exclude>**/*.ini</exclude>
                                        <exclude>cache/*.php</exclude>
                                    </excludes>
                                </rule>
                            </rules>
                        </package>
                    </packages>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

Motivations

Why create another RPM maven plugin, when there is already rpm-maven-plugin and riot-redline-plugin?

Both plugins have their merits, I wanted a plugin that combined the merits of both, without the weaknesses.

redlinerpm-maven-plugin provides OS agnostic builds, the rpm packaging type, ant based flexible file inclusion/exclusion globs, building and deploying multiple RPM packages, sane defaults, adding directives to files, and template triggers and event hook scripts using Java expression language and Maven EL variables.

License

Copyright 2014 Simon Paulger spaulger@codezen.co.uk

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

com.teradata

Teradata Corporation

Business Outcome Led - Technology Enabled

Версии библиотеки

Версия
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1