[
https://issues.apache.org/jira/browse/OPENJPA-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18141789#comment-18141789
]
ASF subversion and git services commented on OPENJPA-3069:
----------------------------------------------------------
Commit 453728864370506a45242db7788a20e74838ab22 in openjpa's branch
refs/heads/master from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=453728864 ]
[OPENJPA-3069] Fix license headers, NOTICE, LICENSE and RAT exclusions for
ATR's checks (#290)
* [OPENJPA-3069] Leave the generated dependency-reduced-pom.xml files out of
the source archive
The exclude **/*.dependency-reduced-pom.xml never matched the file that
maven-shade-plugin writes, so openjpa/ and
openjpa-all/dependency-reduced-pom.xml
went into the source zip.
* [OPENJPA-3069] Fix license headers, NOTICE and LICENSE files and add
.rat-excludes for the ATR checks
- Use the ASF license header in the 74 files that had the short Apache-2.0
boilerplate, a one-line header, a corrupted header or no header (JAXB
generated test classes). Nothing after the leading comment changed.
- NOTICE: "developed at The Apache Software Foundation" as ATR requires;
add a paragraph for the JPA 2.1/2.2 and Jakarta Persistence 3.x schemas.
- LICENSE files: list all bundled schemas with the license from their
headers, include the EPL 2.0 text where it was missing and remove the
second copy of the Apache License in openjpa-project/LICENSE.
- Add .rat-excludes with the RAT excludes of the root pom and include it
in the source archive.
* [OPENJPA-3069] Append the module LICENSE and NOTICE parts to the ones of the
Apache resource bundle
The appended-resources/META-INF/*.vm files replaced the LICENSE and NOTICE
templates of the apache-jar-resource-bundle, so the jars had no Apache
License text and no ASF notice. Plain files are appended instead. The
organization name is now "The Apache Software Foundation" so the copyright
line of the generated NOTICE files has the usual wording.
> Fix license headers, NOTICE and RAT exclusions for the ATR release checks
> -------------------------------------------------------------------------
>
> Key: OPENJPA-3069
> URL: https://issues.apache.org/jira/browse/OPENJPA-3069
> Project: OpenJPA
> Issue Type: Task
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 4.2.0
>
>
> Apache Trusted Releases (ATR) checks the release archives with its own rules:
> it matches the ASF license header word for word, checks the NOTICE wording,
> and runs RAT with its own defaults, reading exclusions only from a
> .rat-excludes file at the top of the archive (not from pom.xml).
> On master 74 source files fail the header check (mostly the openbooks example
> and some test SQL files), the root NOTICE does not have the expected
> attribution sentence, and there is no .rat-excludes. The source assembly also
> excludes dot files, so a .rat-excludes would not end up in the source archive.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)