I updated the pom.xml file so that it uses version 7 and that seemed to
successfully build it.

On Mon, Jun 29, 2020 at 6:16 PM Brian Brazil <
[email protected]> wrote:

> On Mon, 29 Jun 2020 at 13:30, Anurag Vaidya <[email protected]> wrote:
>
>> I am trying to use the prometheus JMX exporter. I have cloned the repo on
>> my local device and I am running the "mvn package" command. However, I end
>> up getting the following error:
>>
>> error: Source option 6 is no longer supported. Use 7 or later
>>
>>
>> What should I do?
>>
>
> It sounds like the maven setup you're using has dropped support for Java
> 6, which the JMX exporter still supports. You can either use an older
> maven, or if you don't need Java 6 support switch the version in the pom.
>
> --
> Brian Brazil
> www.robustperception.io
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAJ9Ddd24KOr6u6aBQAS4VAPFSnY%2B48kYocwUDhtwvvFvmTosTQ%40mail.gmail.com.

Reply via email to