Red Hat RelEng License Module

Red Hat Release Engineering License Module

License

License

GroupId

GroupId

com.redhat.rcm
ArtifactId

ArtifactId

redhat-releng-license-parent
Last Version

Last Version

2
Release Date

Release Date

Type

Type

pom
Description

Description

Red Hat RelEng License Module
Red Hat Release Engineering License Module
Project URL

Project URL

https://github.com/release-engineering/redhat-releng-licenses
Source Code Management

Source Code Management

http://github.com/release-engineering/redhat-releng-licenses

Download redhat-releng-license-parent

How to add to project

<!-- https://jarcasting.com/artifacts/com.redhat.rcm/redhat-releng-license-parent/ -->
<dependency>
    <groupId>com.redhat.rcm</groupId>
    <artifactId>redhat-releng-license-parent</artifactId>
    <version>2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.redhat.rcm/redhat-releng-license-parent/
implementation 'com.redhat.rcm:redhat-releng-license-parent:2'
// https://jarcasting.com/artifacts/com.redhat.rcm/redhat-releng-license-parent/
implementation ("com.redhat.rcm:redhat-releng-license-parent:2")
'com.redhat.rcm:redhat-releng-license-parent:pom:2'
<dependency org="com.redhat.rcm" name="redhat-releng-license-parent" rev="2">
  <artifact name="redhat-releng-license-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.redhat.rcm', module='redhat-releng-license-parent', version='2')
)
libraryDependencies += "com.redhat.rcm" % "redhat-releng-license-parent" % "2"
[com.redhat.rcm/redhat-releng-license-parent "2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • license

Introduction

This is a wrapper project to deploy custom license templates that can be used with the license-maven-plugin ( See here ).

Formats

Apache 2

An alternative format for the Apache 2 license is available by specifiying

<plugin>
    <groupId>com.mycila</groupId>
    <artifactId>license-maven-plugin</artifactId>
    <configuration>
       <header>APACHE-2-SIMPLIFIED-COPYRIGHT.txt</header>
    </configuration>
</plugin>

in the project configuration. The allows Copyright (C) ${project.inceptionYear} ${owner} instead of Copyright (C) ${project.inceptionYear} ${owner} (${email}) which is available from the default Apache 2 configuration.

JBoss

An alternative format using the JBoss Apache 2 license is available by specifiying

<plugin>
    <groupId>com.mycila</groupId>
    <artifactId>license-maven-plugin</artifactId>
    <configuration>
       <header>JBOSS-COPYRIGHT.txt</header>
    </configuration>
</plugin>

in the project configuration. It is recommended to use license-maven-plugin-git in conjunction with the license-maven-plugin as it automatically provides the correct information for license.git.copyrightYears. This extra configuration is automatic if the redhat-releng-tools is being used as a parent pom.

This provides a copyright message of:

JBoss, Home of Professional Open Source.
Copyright ${license.git.copyrightYears} Red Hat, Inc., and individual contributors
as indicated by the @author tags.

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.redhat.rcm

Red Hat Release Engineering

Versions

Version
2
1