You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (JIRA)" <ji...@apache.org> on 2017/09/26 11:04:00 UTC

[jira] [Updated] (UNOMI-125) Generated Source ZIP file has a DEPENDENCIES file that fails RAT plugin validation.

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

Serge Huber updated UNOMI-125:
------------------------------
    Description: 
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.


  was:
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 by the apache-release profile.

A few ways to fix this - bind rat plugin only to validate phase, and/or add
DEPENDENCIES to the rat black-list.



> 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
>            Reporter: Serge Huber
>
> 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
(v6.4.14#64029)