So here in my case I want use remote checkstyle file located in 
https://github.com/openmrs/openmrs-core/blob/master/checkstyle.xml?#L45 in 
another project.


In my project's pom I have config location set as 
follows:<https://github.com/openmrs/openmrs-core/blob/master/checkstyle.xml?#L45>


<configLocation>
 https://github.com/openmrs/openmrs-core/blob/master/checkstyle.xml
</configLocation>

However checkstyle can't resolve checkstyle-suppressions.xml because of the 
configuration included in the remote file:

<module name="SuppressionFilter">
<property name="file" value="checkstyle-suppressions.xml"/>
</module>

So what would be the ideal solution to be alble to use that remote checkstyle 
on other projects?. BTW I can get access to openmrs-core to make any necessary 
changes.

Thanks,
Gayan


Reply via email to