thought-machine / pleasings

Addons & new build rules for Please
Apache License 2.0
98 stars 39 forks source link

Maven tool is unable to parse version ranges #28

Open cdfa opened 5 years ago

cdfa commented 5 years ago

It seems the maven tool is unable to parse version ranges like [3.2.0,4.0.0).

Steps to reproduce

  1. Write a BUILD file with the following contents:
    maven_jars(
    name="equinox_common",
    id="org.eclipse.platform:org.eclipse.equinox.app:1.4.100"
    )
  2. plz build :equinox_common

Expected results

The build completes succesfully

Actual results

Build stopped after 1.17s. 1 target failed:
//third_party/java:_equinox_common#deps
Error building target //third_party/java:_equinox_common#deps: exit status 1
12:37:50.923 CRITICAL: Error downloading https://jcenter.bintray.com/org/eclipse/platform/org.eclipse.equinox.common/3.2.0,4.0.0)/org.eclipse.equinox.common-3.2.0,4.0.0).pom: Bad response code: 404
N0K0 commented 2 years ago

Just stumbled across Please and been fiddling around with it yesterday. Hit on the same issue, so not much has changed the last couple of years.