[jira] [Created] (FLINK-8235) Cannot run spotbugs for single module

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8235) Cannot run spotbugs for single module

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-8235:
---------------------------------------

             Summary: Cannot run spotbugs for single module
                 Key: FLINK-8235
                 URL: https://issues.apache.org/jira/browse/FLINK-8235
             Project: Flink
          Issue Type: Bug
          Components: Build System
    Affects Versions: 1.4.0, 1.5.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.5.0, 1.4.1


When running the spotbugs plugin ({{-Dspotbugs}}) in a sub-module of Flink the build will fail because it cannot find the exclusion file.

{code}
[ERROR] Could not find resource 'tools/maven/spotbugs-exclude.xml'. -> [Help 1]
{code}

The problem is that the configured relative path is resolved against the sub-module directory, and not the parent one.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)