Unable to build killbill-platform-server (work-for-release-0.19.x branch)

196 views
Skip to first unread message

ma...@solarnetwork.net

unread,
Sep 3, 2017, 6:26:39 PM9/3/17
to Kill Bill users mailing-list
I am trying to get my local development environment set up, and ran into this problem trying to build the killbill-platform projects from source:

[ERROR] Failed to execute goal on project killbill-platform-server: Could not resolve dependencies for project org.kill-bill.billing:killbill-platform-server:war:0.37-SNAPSHOT: Could not find artifact com.palominolabs.metrics:metrics-guice:jar:3.2.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

When I searched for com.palominolabs.metrics:metrics-guice on the Central Repo, I see a version 3.2.2 published, but not 3.2.1. Could perhaps the killbill-oss-parent/pom.xml be updated to

<metrics-palominolabs.version>3.2.2</metrics-palominolabs.version>

? If I run the build with that version explicitly defined, it succeeds. For example:

mvn3 -Dmetrics-palominolabs.version=3.2.2 clean install

-- m@

Pierre-Alexandre Meyer

unread,
Sep 4, 2017, 2:18:57 PM9/4/17
to ma...@solarnetwork.net, Kill Bill users mailing-list
You need to setup Bintray, see https://github.com/killbill/killbill/blob/master/README.md#build.

That being said, I'm glad binaries are now published again in Maven Central. Upgrading to 3.2.2 would be nice, but that requires upgrading to Metrics 3.2.3 (https://github.com/palominolabs/metrics-guice/blob/master/RELEASE-NOTES.md), or even 3.2.4 (as it fixes https://github.com/dropwizard/metrics/pull/1167). If you have some bandwidth to verify the upgrade doesn't break anything, a PR would be awesome!


--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-users+unsubscribe@googlegroups.com.
To post to this group, send email to killbilling-users@googlegroups.com.
Visit this group at https://groups.google.com/group/killbilling-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/42631dc4-05fe-4a9a-a87a-dccf4c10f87d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Pierre

ma...@solarnetwork.net

unread,
Sep 5, 2017, 1:15:18 AM9/5/17
to Kill Bill users mailing-list, ma...@solarnetwork.net
Ugh, sorry I completely missed that link in the README before. I configured Bintray as described, and the builds work fine. Thanks for the help!

-- m@

roger.pa...@gmail.com

unread,
Apr 4, 2019, 6:04:49 PM4/4/19
to Kill Bill users mailing-list

The instructions re bintray were removed in v 0.19.16 but I got the problem in 0.20. So maybe that instruction should be restored to current version. Changing my settings.xml file as the instructions say fixed the problem for me.

Pierre-Alexandre Meyer

unread,
Apr 5, 2019, 4:34:58 AM4/5/19
to roger.pa...@gmail.com, Kill Bill users mailing-list
On Thu, Apr 4, 2019 at 11:04 PM <roger.pa...@gmail.com> wrote:
The instructions re bintray were removed in v 0.19.16 but I got the problem in 0.20. So maybe that instruction should be restored to current version. Changing my settings.xml file as the instructions say fixed the problem for me.

Ah, indeed, we forgot about metrics-guice (the instructions were removed following https://github.com/killbill/killbill-oss-parent/pull/21). I've created https://github.com/killbill/killbill-oss-parent/issues/27 for tracking.

Thanks for the report! 

--
Pierre
Reply all
Reply to author
Forward
0 new messages