question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trouble specifying version ranges in Kobalt

See original GitHub issue

I checked out and tried http://maven.apache.org/components/enforcer/enforcer-rules/versionRanges.html

postgres has very weird versioning, so I’m not surprised this didn’t work: compile("org.postgresql:postgresql:[9.4,)")

Downloaded artifact org.postgresql:postgresql:pom:42.0.0-20170127.084917-23 from  (http://repository.jetbrains.com/all/, default, releases+snapshots)
*****
***** ERROR Error: com.beust.kobalt.KobaltException: Couldn't resolve org.postgresql:postgresql:jar:42.0.0-SNAPSHOT

the exception seems to have come from within Aether

org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.postgresql:postgresql:jar:42.0.0-20170127.084917-23 in  (https://jcenter.bintray.com/)

Note that, in gradle this did work (some people may care) compile group: 'org.postgresql', name: 'postgresql', version: '9.4.+'

More surprising was that in Kobalt .917 this did not work: "org.sql2o:sql2o:[1.5,)"

*****
***** ERROR Couldn't resolve range artifact org.sql2o:sql2o:jar:[1.5,)
*****

But this does: "org.sql2o:sql2o:1.5.4"

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
pabl0rgcommented, Feb 7, 2017

“full success!” thanks

0reactions
cbeustcommented, Feb 7, 2017

This should be fixed in 0.921, can you try again?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple downloads of the same libs in every build #477 - GitHub
I noticed that Kobalt tries to download several artifacts 3 times for one ./kobalw assemble. So it tries to download them every time...
Read more >
Specifying version range - IBM
The version of the bundle or package is specified by using OSGi syntax for a version range. The version range is specified by...
Read more >
kobalt 24v string trimmer manual - Il gusto in piazza
Kobalt I purchased a Kobalt string trimmer on 5/14/2014 m PDF Download Manual for Kobalt 40V String Trimmer. 0 Bluetooth® Range Up to...
Read more >
Package Management: Stop Using Version Ranges - Lucidchart
Don't allow version range​​ Some forward-thinking package managers don't allow version ranges at all, e.g., Nix and Guix. (In fact, these two ...
Read more >
Tesla is already using cobalt-free LFP batteries in half of its ...
As a result of our energy efficient motors, a Model 3 with an LFP battery pack can still achieve a 267-mile EPA range.”...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found