[ 
https://issues.apache.org/jira/browse/SQOOP-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14236315#comment-14236315
 ] 

Jarek Jarcec Cecho commented on SQOOP-1847:
-------------------------------------------

Attaching simple patch. I've verified that {{mvn apache-rat:check}} works and 
that other execution targets ({{clean}}, {{test}}, {{compile}}) are not 
affected.

> Sqoop2: Move rat configuration from special execution to the main execution
> ---------------------------------------------------------------------------
>
>                 Key: SQOOP-1847
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1847
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.4
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1847.patch
>
>
> I would like to add a special step in our pre-commit hook to run the Apache 
> RAT to check that given patch doesn't have any files without proper license 
> headers. Sadly our current rat configuration puts all the excludes into 
> section that is available only when running {{mvn verify}}. As there is no 
> other execution profile I think that it will be fine to move that 
> configuration as the default one, so that {[mvn apache-rat:check}} works the 
> same way as calling {{mvn verify}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to