newrelic / newrelic-unix-monitor

Monitoring service for Unix (AIX, Linux, HP-UX, MacOS, Solaris) systems
https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/unix-monitoring-integration/
Other
30 stars 23 forks source link

Cannot compile: missing dependency #34

Closed osaman88 closed 3 years ago

osaman88 commented 3 years ago

I am trying to compile from scratch. It fails thus:

[ERROR] Failed to execute goal on project newrelic-unix-monitor: Could not resolve dependencies for project com.newrelic.experts:newrelic-unix-monitor:jar:0.2.4: Could not find artifact com.newrelic.experts:infra_publish:jar:2.3.2 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

The pom.xml has the following dependency:

com.newrelic.experts infra_publish 2.3.2

However, Maven fails to find such a version. The latest available on https://repo.maven.apache.org/maven2/com/newrelic/experts/infra_publish/ appears to be 2.3.1

Thanks

Osama

sschwartzman commented 3 years ago

Hi @osaman88 - good catch, I made a tweak to "infra_publish" (a package that we maintain internally) and the change hasn't been pushed into maven yet. Until it gets pushed into maven, you can change 2.3.2 to 2.3.1 in your pom and it should compile fine, as the change was minor and likely wouldn't impact you (to be able to handle proxy_port when it's written as a string in the config yaml file).

osaman88 commented 3 years ago

Thanks @sschwartzman for quick response! I am not using proxies currently. I was able to compile with 2.3.1 successfully.