You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Ignasi <ig...@gmail.com> on 2013/07/03 10:41:26 UTC

Re: Reuse checkstyle configuration

Finally this has been merged!

I've re-enabled checkstyle goals in the labs pull request builds.


Thx!

On 29 June 2013 22:11, Ignasi <ig...@gmail.com> wrote:
> I also like it, so let's go for option 2 then :)
>
> Many thanks for spending your time on this!
>
> I.
>
> El 29/06/2013 21:58, "Andrew Phillips" <ap...@qrmedia.com> escribió:
>
>> TL;DR: I'm for option 2 ;-)
>>
>>> This second approach has one limitation: The jclouds-resources.jar
>>> must be in the local maven repository, in order to let the modules get
>>> the checkstyle configuration. This means that the following command
>>> may not work because the jclouds-resources.jar will only be built but
>>> not installed to the local Maven repo.
>>
>>
>> Wouldn't you be able to get this dependency from the Apache snapshots repo
>> (or Maven Central if you're trying to build a released version)?
>>
>> Getting hold of a snapshot dependency without first installing it yourself
>> is a problem all the labs repos have with jclouds-project (their new parent)
>> anyway.
>>
>> If we feel it's acceptable for them to get their *parent* dep from a
>> published (rather than the local) repo, I think we should be OK with that
>> approach for checkstyle too.
>>
>> It's true that the leaves a small time window in which changes to the
>> checkstyle will not be applied to labs PR builds (if the PR build triggers
>> before the job for the main project updates the snapshots repo), but I think
>> we can live with that?
>>
>> Hopefully, changes to the checkstyle config will be infrequent enough that
>> this won't be a big problem in practice. And in the worst case, we can
>> always re-trigger PR builds manually if they ran "too early" and failed
>> because they missed a checkstyle update.
>>
>> ap

Re: Reuse checkstyle configuration

Posted by Andrew Phillips <ap...@qrmedia.com>.
Yay!

Thanks, Ignasi!

ap