java – Prometheus client not pulled in as dependency in eclipse/maven project

I want to use the prometheus java client and I created the following pom in eclipse using the quickstart archetype:


  4.0.0

  com.test
  prometheus
  0.0.1-SNAPSHOT
  jar

  prometheus
  http://maven.apache.org

  
    UTF-8
  

  
    
      junit
      junit
      3.8.1
      test
    
    
        io.prometheus
        simpleclient
        0.16.0
    
    
        io.prometheus
        simpleclient_hotspot
        0.16.0
    
    
        io.prometheus
        simpleclient_httpserver
        0.16.0
    
  

Nothing is being imported in the project and I don’t see any error either.
I can’t use the prometheus java client. Is the pom wrong? Do I need to do something in eclipse to refresh maven and download the dependencies?

Read more here: Source link