lhotari opened a new pull request #8918:
URL: https://github.com/apache/pulsar/pull/8918


   ### Motivation
   
   Fixes #8911, compiling a sub module individually in the sub module directory
   Previously, the maven build failed if executed in other than the root 
directory if the license or checkstyle checks were run since
   those plugins weren't able to find their configuration.
   
   ### Modifications
   
   - use the proposed solution of https://stackoverflow.com/a/37965143
     to set a property `pulsar.basedir` which contains the absolute path
     of the root directory.
     - all other solutions don't seem to work universally in all projects,
       for example `project.parent.basedir` isn't available in the
       root project and not all projects necessarily have the root project
       as their parent project.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to