[
https://issues.apache.org/jira/browse/LENS-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513452#comment-14513452
]
Raju Bairishetti commented on LENS-524:
---------------------------------------
One possible fix:
We can append ${basedir}/../ or (../) to <checkstyle-path from parent dir>*.
But this solution works only at one level(Modules which contains pom file) from
parent dir. Won't work for multi level child/sub modules.
Final path would be like this
<excludeFilterFile>${basedir}/../checkstyle/src/main/resources/findbugs-exclude.xml</excludeFilterFile>
> Not able to build from individual modules
> -----------------------------------------
>
> Key: LENS-524
> URL: https://issues.apache.org/jira/browse/LENS-524
> Project: Apache Lens
> Issue Type: Bug
> Components: build
> Reporter: Raju Bairishetti
>
> Right now, I am able to build it from the parent module. But not able to
> build it from individual module.
> Failing with the following error
> {noformat}
> [ERROR] Could not find resource
> 'checkstyle/src/main/resources/findbugs-exclude.xml'. -> [Help 1]
> C1MNG0PXDTY3-2:lens-server raju.bairishetti$ pwd
> /Users/raju.bairishetti/Desktop/git/apache-open-source-porjects/incubator-lens/lens-server
> {noformat}
> If we build it from separate module then it is looking for that file in the
> current module dir(baseDir) instead of picking from parent module.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)