Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] where is commons.lang gone.

On Tue, Apr 21, 2020 at 3:39 PM Christian Dietrich
<christian.dietrich@xxxxxxxxx> wrote:
> Hi,
> Thanks for your help.
> yes. i have all branches running now.
> but i still dont understand the "why"

If I had to guess now, I would say :

When you updated to a more recent Orbit I-build, your
org.apache.commons.cli 0.0.0 definition started resolving against the newer
1.4.0 (recently added) instead of the older 1.2.0. So you were definitely
right about that aspect.

org.apache.commons.cli 1.2.0 had a requirement on org.apache.commons.lang
but the newer version doesn't seem to have that. This might explain why it
was no longer implicitly included in the target platform.

Instead of adding commons-lang like I recommended previously, I tried just
forcing commons.cli to 1.2.0 (instead of 0.0.0) which would automatically
include commons.lang and that also seems to get the build working.

With that said, it's definitely a good practice to explicitly require all the
bundles you make use of to avoid such cases.

Back to the top