[ 
https://issues.apache.org/jira/browse/UNOMI-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Serge Huber resolved UNOMI-125.
-------------------------------
    Resolution: Fixed
      Assignee: Serge Huber

> Generated Source ZIP file has a DEPENDENCIES file that fails RAT plugin 
> validation.
> -----------------------------------------------------------------------------------
>
>                 Key: UNOMI-125
>                 URL: https://issues.apache.org/jira/browse/UNOMI-125
>             Project: Apache Unomi
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.0-incubating, 1.1.0-incubating, 1.2.0-incubating, 
> 1.3.0-incubating
>            Reporter: Serge Huber
>            Assignee: Serge Huber
>            Priority: Major
>             Fix For: 1.3.0-incubating
>
>
> To reproduce : 
> 1. mvn clean install -P apache-release
> 2. cd target
> 3. unzip unomi-root-1.3.0-incubating-SNAPSHOT-source-release.zip
> 4. cd unomi-root-1.3.0-incubating-SNAPSHOT
> 5. mvn clean install 
> This generates the following error: 
> {code}
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check 
> (default) on project unomi-root: Too many files with unapproved license: 1 
> See RAT report in: 
> /Users/loom/java/technologies/apache-git/incubator-unomi/target/unomi-root-1.3.0-incubating-SNAPSHOT/target/unomi-root-1.3.0-incubating-SNAPSHOT.rat
>  -> [Help 1]
> {code}
> Inside the RAT report file we have :
> Unapproved licenses:
>   DEPENDENCIES
> This is due to the DEPENDENCIES file generated during the source generation 
> process.
> A few ways to fix this - bind rat plugin only to validate phase, and/or add
> DEPENDENCIES to the rat black-list.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to