commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [RNG] Build succeeds locally but fails on Travis-CI
Date Tue, 22 Nov 2016 00:12:30 GMT
Why not put all this stuff in your parent POM?

Gary

On Mon, Nov 21, 2016 at 4:03 PM, Gilles <gilles@harfang.homelinux.org>
wrote:

> On Tue, 22 Nov 2016 00:48:04 +0100, Jörg Schaible wrote:
>
>> Gilles wrote:
>>
>> Hi.
>>>
>>> Does someone know how to fix that?
>>> See:
>>>    https://travis-ci.org/apache/commons-rng/jobs/177715168
>>>
>>> Thanks,
>>> Gilles
>>>
>>
>>
>> Delete your local repository (well, org/apache/commons/commons-rng) and
>> you'll face the same. You cannot declare a dependency for a plutin that
>> does
>> not yet exist. Maven resolves the plugin's deps way earlier in the reactor
>> before the it calculates the build sequence for the subprojects.
>>
>
> What I've been asking about for weeks is whether this ("build-tools")
> use of a module is a valid one.
>
> As I understand it, all configurations for the reports have been
> bundled in that "module".  Its use is _purely_ internal to the
> maven build process.
> So Artem's idea looked fine _iff_ maven can indeed handle such
> "pre-dependencies".
>
> If not, this "build-tools" module must disappear (as there is
> nothing to release about it, once "mvn site" has run).
>
> If this is the case, how should I go about to repair the build?
>
>
> Thanks,
> Gilles
>
>
> And you cannot rely on the fact the the build tools are actually build
>> first. AFAICS the reactor will not take the dependencies to plugins into
>> account when it calculates the build sequence. The list of modules in the
>> parent has to be unique only, the sequence is based on the dependency
>> calculation. If you are using multiple threads to build, nobody will wait
>> for the build tools to complete.
>>
>> - Jörg
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message