17 Commits
Author SHA1 Message Date
Sam BerlinandGuice Team 24324ca6c6 Prepare for the Guice 6.0 & 7.0 releases. This change does the following:
* Bumps the snapshot version to 7.0.1-SNAPSHOT
* Adds Guice 6 & Guice 7 release pages, with explanations of the jakarta transition & how Guice 6.0 & 7.0 should be used. They also include changelogs since 5.1.0.
* Updates the top-level README to reference the 6.0 & 7.0 releases, as well as including "installation instructions" (which fixes #1698).
* Updates the wiki to make sure it's meaningful for both javax & jakarta references, pointing to the correct ones where appropriate.

PiperOrigin-RevId: 529770936
2023-05-05 11:33:15 -07:00
Sam BerlinandGuice Team 49b1a33c59 Remove redundant references to javax.{inject,persistence,servlet} and replace the rest with their jakarta variants.
This required upgrading some test dependencies, because the tests need some impls of the APIs which only exist in newer releases.

This also removes the struts2 extension from the maven & bazel build (although it keeps the now-unused source), because struts2 has no release that supports jakarta. For users that want to continue using the struts2 extension, please continue to use the Guice 6.0 release (instead of the 7.0+ line, which will only support the jakarta dependencies).

Fixes #1383.

(I'll cut the 6.0 candidates/releases from before this commit, and if we need to make further 6.0 changes, I'll manually merge those into the 6.0 branch.)

PiperOrigin-RevId: 529504991
2023-05-04 13:50:43 -07:00
Guice TeamandGuice Team d291cdd942 generate artifact for guice-bom.
PiperOrigin-RevId: 426426988
2022-02-04 09:55:01 -08:00
Guice TeamandGuice Team 155bc42345 Remove service and mini extensions.
PiperOrigin-RevId: 424972746
2022-01-28 15:37:29 -08:00
Guice TeamandGuice Team 6925c5c253 bump snapshot version, update README & prior API xml after 5.1.0 release.
closes #1536

PiperOrigin-RevId: 423946861
2022-01-24 17:05:16 -08:00
Guice TeamandGuice Team 54cccd3406 bump snapshot version, update README & prior API xml
PiperOrigin-RevId: 360302867
2021-03-01 16:23:20 -08:00
Guice TeamandGuice Team 383d377436 Bump snapshot version, update README & prior API xml
PiperOrigin-RevId: 339910400
2020-10-30 11:43:16 -07:00
Guice TeamandGuice Team b256703850 Remove multibindings extension, it has been part of Guice core since 4.2 release.
Also clean up no_aop build variant from BOM.

PiperOrigin-RevId: 338771054
2020-10-23 17:03:44 -07:00
samebandChris Povirk 485191facb bump snapshot version, update README & prior API xml
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=301892530
2020-03-19 17:20:52 -04:00
samebandRon Shapiro 04219a2537 bump snapshot version, update README & prior api xml
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219159125
2018-10-31 11:16:55 -04:00
samebandColin Decker 67369fbf05 Post 4.2.1 release tasks: bump snapshot version, update README & prior API xml.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=214011694
2018-09-28 12:16:58 -04:00
Sam Berlin c9dda9d100 bump snapshot version. 2018-02-28 14:14:01 -05:00
lukesandSam Berlin 4f75f2f585 merge multibindings into the 'core' of guice.
This deletes the maven artifact 'com.google.inject.extensions:guice-multibindings' and moves all
classes/tests into 'com.google.inject:guice'.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=129637237
2016-08-29 16:40:41 -04:00
Sam Berlin abf12145c1 update versions. 2016-06-17 16:37:46 -04:00
cgdecker d252543632 Update version to 4.0.1-SNAPSHOT and update README to point to 4.0 as the latest release.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=92292029
2015-04-29 13:00:17 -04:00
Stuart McCulloch 61b6b1ca7a Align dagger-adapter name and add it to the Bill-Of-Materials pom.xml 2015-04-22 22:30:50 +01:00
Thomas Broyer 3b76b6f547 Add "BOM" (Bill of Materials) for easier use with Maven
Guice extensions must generally have their version match the one
of Guice. Maven provides an easy way to make sure this is the case
with “BOMs” [1].

To make sure all your Guice dependencies (either direct or
transitive) use the same version (unless overridden), just add the
following to your <dependencyManagement> section:

    <dependency>
      <groupId>com.google.inject</groupId>
      <artifactId>guice-bom</artifactId>
      <version>${guice.version</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>

[1] https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies
2014-11-04 13:26:11 +01:00