Question

According to the entry at MVNRepository, at the time of this writing, the latest version in maven central is 1.0-rc5. I am aware there are no changes between 1.0 which was recently announced and RC5, but I guess the nit picker in me wants to find a 1.0 version. Here's the POM entry for RC5.

<dependency>
    <groupId>com.google.collections</groupId>
    <artifactId>google-collections</artifactId>
    <version>1.0-rc5</version>
</dependency> 
Was it helpful?

Solution

Version 1.0 of google-collections (which is final since the 30 dec 2009) is available in central since... the 30 dec 2009: http://repo2.maven.org/maven2/com/google/collections/google-collections/1.0/. Don't trust mvnrepository, go see yourself (or use a better solution to search central and other Public Repositories).

OTHER TIPS

Why not keep your own local repository and add the 1.0 version to it? Add it to your list of repositories in your OS-dependent USER-HOME/.m2/settings.xml

Info on this is available at: Introduction to Repositories

Then you won't be reliant on it being on a given central repo or mirror, and you'll be able to use google-collections-1.0 in your POM. It also eases the burden on the public repos when artifacts are kept on a local server and only on occasion does something new get brought in from a central repo..

Now, if it's a shared project you'd probably need your repo to be public, but if not then it should be pretty simple to set something up.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top