Red Hat RelEng License Templates

Red Hat Release Engineering License Templates

License

License

GroupId

GroupId

com.redhat.rcm
ArtifactId

ArtifactId

redhat-releng-license-templates
Last Version

Last Version

2
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project URL

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

Download redhat-releng-license-templates

How to add to project

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

Dependencies

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

Project Modules

There are no modules declared in this project.

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