-->

Getting Rome via Maven

2019-05-12 17:58发布

问题:

I'm working with Maven and I'm looking to start using Rome for a project.

When I look for "rome" in my Eclipse's m2 instance, I get a few results:

  1. net.java.dev.rome:rome:1.0.0 (2010-04-17)
  2. org.rometools:rome-fetcher:1.2 (2011-03-11) <-- most recent
  3. rome:rome:1.0 (2010-05-10)

On top of that, the rome project seems to be now on rometools.jira.com, as far as I can tell. And this page seems to say to use the third option, but on another repository (other than Maven central), even though the same page states that it's not up to date.

So I'm lost. If I want the latest version of the Rome library, what Maven dependency should I use? Am I even using the right repository after all?

回答1:

If someone is nowadays looking for latest Rome library, the newest version is 1.5.0:

<dependency>
    <groupId>com.rometools</groupId>
    <artifactId>rome</artifactId>
     <version>1.5.0</version>
</dependency>

more information at http://rometools.github.io/rome/



标签: maven rome