Guava r03 is released!

32 views
Skip to first unread message

Kevin Bourrillion

unread,
Apr 9, 2010, 5:31:04 PM4/9/10
to guava-...@googlegroups.com
A real, live binary release of Guava is now available!  FINALLY!

  http://guava-libraries.googlecode.com/files/guava-r03.zip

Maven users -- we'll have you covered later today if all goes well.

Here are the changes since r02 (which was a source-only release):

New stuff:
  Predicates.contains()
  Predicates.containsPattern()
  Forwarding{List,Set,SortedSet}Multimap
  Itera*s.getLast(2-arg)
  Maps.newConcurrentMap()
  Ordering.immutableSortedCopy()
  Objects.firstNonNull() (@Beta)
  ImmutableSortedSet.withExplicitOrder() (@Beta)
  Interner/s (@Beta)
  Itera*s.skip() (@Beta)
  Itera*s.limit() (@Beta)
  Sets.symmetricDifference() (@Beta)
  Strings (@Beta)
  Constraint/s (@Beta)
  MapConstraint/s (@Beta)
  @Beta (@Beta)

Graduating from @Beta!
  ImmutableCollection.asList()
  ImmutableList.asList()
  ImmutableList.copyOf()
  Itera*s.removeIf()
  Itera*s.indexOf()
  Bytes/Chars/Ints/Longs/etc.

Deprecations:
  In Immutable{List,Set,SortedSet}:
    of(array) deprecated -- use copyOf(array)
    (this applies to array overloads only)

  Executors class deprecated -- use MoreExecutors

Warnings:

All APIs marked @Beta at the class or method level are subject to
change without notice. If your code is a library or framework that users
outside your control will include on their classpath, do not use @Beta
APIs (at least without repackaging them somehow).

Serialized forms of ALL objects are subject to change. Do not
persist these and assume they can be read by a future version of
the library.


--
Kevin Bourrillion @ Google
internal:  http://goto/javalibraries
external: http://guava-libraries.googlecode.com

Christian Gruber

unread,
Apr 12, 2010, 12:31:13 AM4/12/10
to guava-discuss
So,

On Apr 9, 5:31 pm, Kevin Bourrillion <kev...@google.com> wrote:
> Maven users -- we'll have you covered later today if all goes well.

Quick update: while we haven't deployed this to central (yet), we
should be doing so in the next day or so, and I've checked in some
pom.xmls so people can build with maven or use m2eclipse to import
into a maven-aware eclipse instance.

Because we don't have the packages split into sub-projects, I've made
a side-directory where I've created a parent maven project and some
child projects and symbolically linked them in, so guava can be built
as sub-modules (base, io, collections, concurrency, etc.), but there's
another pom which also builds the "complete" jar, which is in the root
of the project. It's a bit backwards, layout-wise, but this is to
allow Kevin et. al. to keep updating from our google code-base the way
he has, so this maven stuff can be entirely parallel and not force any
changes on the core devs' processes.

As I said, I'll be working to get our stuff pushed to central in the
next few days. In the mean-time, you can build it yourself. Just
"mvn clean install" from the /maven folder and it'll build
everything. Once the tests are imported, I'll add some "mvn site"
reports in case people want to go browsing.

cheers,
Christian

Christian Gruber @ Google.

Christian Gruber

unread,
Apr 12, 2010, 12:33:26 AM4/12/10
to guava-discuss
Sorry - should also have mentioned, the artifacts are:

com.google.guava:guava:r03 (for the complete package)

and the same, but with "guava-base", "guava-annotations," etc. for
each of the smaller parts. The sub-modules all have their inter-
dependencies specified in the maven poms, so just build it all and
depend on what you need.

Christian.
Christian Gruber @ Google

On Apr 12, 12:31 am, Christian Gruber <cgru...@google.com> wrote:
> So,
>
> On Apr 9, 5:31 pm, Kevin Bourrillion <kev...@google.com> wrote:
>

> >Mavenusers -- we'll have you covered later today if all goes well.


>
> Quick update: while we haven't deployed this to central (yet), we
> should be doing so in the next day or so, and I've checked in some

> pom.xmls so people can build withmavenor use m2eclipse to import
> into amaven-aware eclipse instance.


>
> Because we don't have the packages split into sub-projects, I've made

> a side-directory where I've created a parentmavenproject and some


> child projects and symbolically linked them in, so guava can be built
> as sub-modules (base, io, collections, concurrency, etc.), but there's
> another pom which also builds the "complete" jar, which is in the root
> of the project.  It's a bit backwards, layout-wise, but this is to
> allow Kevin et. al. to keep updating from our google code-base the way

> he has, so thismavenstuff can be entirely parallel and not force any


> changes on the core devs' processes.
>
> As I said, I'll be working to get our stuff pushed to central in the
> next few days.  In the mean-time, you can build it yourself.  Just

> "mvn clean install" from the /mavenfolder and it'll build

Nikolas Everett

unread,
Apr 12, 2010, 8:03:23 AM4/12/10
to guava-...@googlegroups.com


On Mon, Apr 12, 2010 at 5:31 AM, Christian Gruber <cgr...@google.com> wrote:
use m2eclipse

I thought the cool kids were using Eclipse IAM.  Automatically importing libraries based on you pom, using maven to do the build, fetching source jars, etc is all really nice.  Now that I think of it please make sure to get the source jars in central as well.  I really enjoy being able to control click through my whole application.  It helps when you just *have* to know what MapMaker is doing.

By the way, why bother building Guava as submodules?  I'm sure you have a good reason but I can't think of one.  Please enlighten me.

--Nik

Christian Edward Gruber

unread,
Apr 12, 2010, 8:18:41 AM4/12/10
to guava-...@googlegroups.com
Central will include binary, javadoc, source, and site jars.

Christian.

--
guava-...@googlegroups.com.
http://groups.google.com/group/guava-discuss?hl=en
unsubscribe: guava-discus...@googlegroups.com
 
This list is for discussion; for help, post to Stack Overflow instead:
http://stackoverflow.com/questions/ask
Use the tag "guava".

Christian Edward Gruber

unread,
Apr 13, 2010, 12:48:48 AM4/13/10
to guava-...@googlegroups.com
Ever had a project with dozens of dependencies and you have to pull in lots of code you don't use?  I have.  So I built it with a full jar (com.google.guava:guava) and one with partials and inter-dependencies.  

Christian.

On Apr 12, 2010, at 8:03 AM, Nikolas Everett wrote:

Gary Pampara

unread,
Apr 13, 2010, 2:07:30 AM4/13/10
to guava-...@googlegroups.com
Thanks for all the effort Christian :)

Christian Edward Gruber

unread,
Apr 20, 2010, 2:46:40 PM4/20/10
to guava-...@googlegroups.com
That's actually my thing - I'm in the process of generating a signing
key for use by all google maven projects, but it's my delay, not
anything else. Sorry. I dropped the ball due to some personal
affairs that sucked up all my time. Should have the key generated
shortly and Greg can do the push.

Christian.

On Apr 20, 2010, at 2:28 PM, Bradley Davis wrote:

> So I'm guessing all didn't go well, since there's still nothing at
> repo1.maven.org. Is there anything we or I could do to assist in this
> process?
>
> On Apr 9, 2:31 pm, Kevin Bourrillion <kev...@google.com> wrote:
>> Maven users -- we'll have you covered later today if all goes well.
>

Bradley Davis

unread,
Apr 20, 2010, 2:28:08 PM4/20/10
to guava-discuss
So I'm guessing all didn't go well, since there's still nothing at
repo1.maven.org. Is there anything we or I could do to assist in this
process?

On Apr 9, 2:31 pm, Kevin Bourrillion <kev...@google.com> wrote:
> Maven users -- we'll have you covered later today if all goes well.

Reply all
Reply to author
Forward
0 new messages