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

Semyon Danilov updated IGNITE-15182:
------------------------------------
    Description: 
Currently, pmd:check must be run alongside 'compile' goal. Otherwise, generated 
sources and test sources won't be checked.

Explanation: compile goal adds generated sources to the maven scope, so in 
order to run PMD without compile goal we have to add generated sources 
manually. I propose adding a profile (activating on some property) that adds 
generated sources to the scope using build-helper-plugin

  was:Currently, pmd:check must be run alongside 'compile' goal. Otherwise, 
generated sources and test sources won't be checked.


> Fix pmd:check execution so it can be run without compile goal in reactor
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-15182
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15182
>             Project: Ignite
>          Issue Type: Task
>          Components: build
>            Reporter: Semyon Danilov
>            Assignee: Semyon Danilov
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-alpha3
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, pmd:check must be run alongside 'compile' goal. Otherwise, 
> generated sources and test sources won't be checked.
> Explanation: compile goal adds generated sources to the maven scope, so in 
> order to run PMD without compile goal we have to add generated sources 
> manually. I propose adding a profile (activating on some property) that adds 
> generated sources to the scope using build-helper-plugin



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to