1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668
|
Description: Rename and relabel Google-Guice build to make it clear this is a vendor branch
Author: Stuart McCulloch <mcculls@gmail.com>
Last-Update: 2014-09-28
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1405580..c6eb646 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,61 +1,6 @@
# How to contribute #
-We'd love to accept your patches and contributions to this project. There are
-a just a few small guidelines you need to follow.
-
-
-## Contributor License Agreement ##
-
-Contributions to any Google project must be accompanied by a Contributor
-License Agreement. This is not a copyright **assignment**, it simply gives
-Google permission to use and redistribute your contributions as part of the
-project.
-
- * If you are an individual writing original source code and you're sure you
- own the intellectual property, then you'll need to sign an [individual
- CLA][].
-
- * If you work for a company that wants to allow you to contribute your work,
- then you'll need to sign a [corporate CLA][].
-
-You generally only need to submit a CLA once, so if you've already submitted
-one (even if it was for a different project), you probably don't need to do it
-again.
-
-[individual CLA]: https://developers.google.com/open-source/cla/individual
-[corporate CLA]: https://developers.google.com/open-source/cla/corporate
-
-
-## Submitting a patch ##
-
- 1. It's generally best to start by opening a new issue describing the bug or
- feature you're intending to fix. Even if you think it's relatively minor,
- it's helpful to know what people are working on. Mention in the initial
- issue that you are planning to work on that bug or feature so that it can
- be assigned to you.
-
- 1. Follow the normal process of [forking][] the project, and setup a new
- branch to work in. It's important that each group of changes be done in
- separate branches in order to ensure that a pull request only includes the
- commits related to that bug or feature.
-
- 1. Any significant changes should almost always be accompanied by tests. The
- project already has good test coverage, so look at some of the existing
- tests if you're unsure how to go about it.
-
- 1. All contributions must be licensed Apache 2.0 and all files must have
- a copy of the boilerplate licence comment (can be copied from an existing
- file. Files should be formatted according to Google's [java style guide][].
-
- 1. Do your best to have [well-formed commit messages][] for each change.
- This provides consistency throughout the project, and ensures that commit
- messages are able to be formatted properly by various git tools.
-
- 1. Finally, push the commits to your fork and submit a [pull request][].
-
-[forking]: https://help.github.com/articles/fork-a-repo
-[java style guide]: http://google-styleguide.googlecode.com/svn/trunk/javaguide.html
-[well-formed commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
-[pull request]: https://help.github.com/articles/creating-a-pull-request
+This is a patched build of https://github.com/google/guice/ which includes selected contributions that have not yet been merged into the upstream build.
+While we will consider pull-requests (Apache 2.0 licensed) it is better to send contributions directly to the upstream project. You can then open an issue here if you would like specific upstream contributions added to sisu-guice and made available in a release outside of the current google/guice schedule.
diff --git a/README.md b/README.md
index 2a54be0..5b6f001 100644
--- a/README.md
+++ b/README.md
@@ -1,24 +1,10 @@
-Guice
-====
+Patched build of https://github.com/google/guice/ - see PATCHES for the exact differences.
-**Now, out in [4.0 Beta5](https://github.com/google/guice/wiki/Guice40)!**
+Compatibility with Google-Guice
+-------------------------------
-**Documentation:** [User Guide](https://github.com/google/guice/wiki/Motivation), [3.0 javadocs](http://google.github.io/guice/api-docs/3.0/javadoc/packages.html), [Latest javadocs](http://google.github.io/guice/api-docs/latest/javadoc/index.html) <br/>
-**Continuous Integration:** [](https://travis-ci.org/google/guice) <br
-/>
-**Mailing Lists:** [User Mailing List](http://groups.google.com/group/google-guice), [Developer Mailing List](http://groups.google.com/group/google-guice-dev) <br/>
-**License:** [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)
+The main difference between Sisu-Guice and Google-Guice is that Guava is now exposed as a direct Maven dependency. If you are assembling your application outside of Maven you therefore need to add Guava to the runtime JARs. The build uses Guava 16.0.1 but you can use Maven's `<dependencyManagement>` to select a different version of Guava.
-Put simply, Guice alleviates the need for factories and the use of new in your Java code. Think of Guice's @Inject as the new new. You will still need to write factories in some cases, but your code will not depend directly on them. Your code will be easier to change, unit test and reuse in other contexts.
+Because of this dependency difference you should avoid mixing the official Google-Guice library with internal extensions provided by Sisu-Guice and vice-versa. Third-party Guice extensions should be compatible with either library.
-Guice embraces Java's type safe nature, especially when it comes to features introduced in Java 5 such as generics and annotations. You might think of Guice as filling in missing features for core Java. Ideally, the language itself would provide most of the same features, but until such a language comes along, we have Guice.
-
-Guice helps you design better APIs, and the Guice API itself sets a good example. Guice is not a kitchen sink. We justify each feature with at least three use cases. When in doubt, we leave it out. We build general functionality which enables you to extend Guice rather than adding every feature to the core framework.
-
-Guice aims to make development and debugging easier and faster, not harder and slower. In that vein, Guice steers clear of surprises and magic. You should be able to understand code with or without tools, though tools can make things even easier. When errors do occur, Guice goes the extra mile to generate helpful messages.
-
-For an introduction to Guice and a comparison to new and the factory pattern, see [Bob Lee's video presentation](https://www.youtube.com/watch?v=hBVJbzAagfs). After that, check out our [user's guide](https://github.com/google/guice/wiki/Motivation).
-
-We've been running Guice in mission critical applications since 2006, and now you can, too. We hope you enjoy it as much as we do.
-
-[](http://joltawards.com)
+Sisu-Guice retains the same public API as Google-Guice and is binary compatible from a client perspective.
diff --git a/core/pom.xml b/core/pom.xml
index bb9bf88..cb9ba73 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -4,14 +4,15 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>guice-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
- <artifactId>guice</artifactId>
+ <groupId>org.sonatype.sisu</groupId>
+ <artifactId>sisu-guice</artifactId>
- <name>Google Guice - Core Library</name>
+ <name>Sisu Guice - Core Library</name>
<dependencies>
<dependency>
@@ -39,11 +40,13 @@
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<optional>true</optional>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<optional>true</optional>
+ <scope>provided</scope>
</dependency>
<!--
| Test dependencies
@@ -141,18 +144,6 @@
</excludes>
</configuration>
</plugin>
- <!--
- | Generate sources jar
- -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- <!--
- | Generate javadoc jar
- -->
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
</plugins>
</build>
diff --git a/extensions/assistedinject/pom.xml b/extensions/assistedinject/pom.xml
index 601f24e..38f360e 100644
--- a/extensions/assistedinject/pom.xml
+++ b/extensions/assistedinject/pom.xml
@@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-assistedinject</artifactId>
- <name>Google Guice - Extensions - AssistedInject</name>
+ <name>Sisu Guice - Extensions - AssistedInject</name>
</project>
diff --git a/extensions/grapher/pom.xml b/extensions/grapher/pom.xml
index 6f63452..920f7ba 100644
--- a/extensions/grapher/pom.xml
+++ b/extensions/grapher/pom.xml
@@ -4,23 +4,23 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-grapher</artifactId>
- <name>Google Guice - Extensions - Grapher</name>
+ <name>Sisu Guice - Extensions - Grapher</name>
<dependencies>
<dependency>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>guice-assistedinject</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>guice-multibindings</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/extensions/jmx/pom.xml b/extensions/jmx/pom.xml
index f3298e7..7de6431 100644
--- a/extensions/jmx/pom.xml
+++ b/extensions/jmx/pom.xml
@@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-jmx</artifactId>
- <name>Google Guice - Extensions - JMX</name>
+ <name>Sisu Guice - Extensions - JMX</name>
<build>
<plugins>
diff --git a/extensions/jndi/pom.xml b/extensions/jndi/pom.xml
index fb9bc3c..f78153a 100644
--- a/extensions/jndi/pom.xml
+++ b/extensions/jndi/pom.xml
@@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-jndi</artifactId>
- <name>Google Guice - Extensions - JNDI</name>
+ <name>Sisu Guice - Extensions - JNDI</name>
</project>
diff --git a/extensions/jndi/test/placeholder.txt b/extensions/jndi/test/placeholder.txt
new file mode 100644
index 0000000..8d1c8b6
--- /dev/null
+++ b/extensions/jndi/test/placeholder.txt
@@ -0,0 +1 @@
+
diff --git a/extensions/mini/pom.xml b/extensions/mini/pom.xml
index fdaa91d..5c03903 100644
--- a/extensions/mini/pom.xml
+++ b/extensions/mini/pom.xml
@@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-mini</artifactId>
- <name>Google Guice - Extensions - Mini</name>
+ <name>Sisu Guice - Extensions - Mini</name>
</project>
diff --git a/extensions/multibindings/pom.xml b/extensions/multibindings/pom.xml
index 8875e39..9eb7ee9 100644
--- a/extensions/multibindings/pom.xml
+++ b/extensions/multibindings/pom.xml
@@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-multibindings</artifactId>
- <name>Google Guice - Extensions - MultiBindings</name>
+ <name>Sisu Guice - Extensions - MultiBindings</name>
</project>
diff --git a/extensions/persist/pom.xml b/extensions/persist/pom.xml
index e909927..8efce20 100644
--- a/extensions/persist/pom.xml
+++ b/extensions/persist/pom.xml
@@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-persist</artifactId>
- <name>Google Guice - Extensions - Persist</name>
+ <name>Sisu Guice - Extensions - Persist</name>
<dependencies>
<dependency>
diff --git a/extensions/pom.xml b/extensions/pom.xml
index 084967c..83d04a2 100644
--- a/extensions/pom.xml
+++ b/extensions/pom.xml
@@ -4,17 +4,16 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>guice-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<packaging>pom</packaging>
- <groupId>com.google.inject.extensions</groupId>
<artifactId>extensions-parent</artifactId>
- <name>Google Guice - Extensions</name>
+ <name>Sisu Guice - Extensions</name>
<modules>
<module>assistedinject</module>
@@ -41,16 +40,17 @@
| All extensions depend on the core
-->
<dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
+ <groupId>org.sonatype.sisu</groupId>
+ <artifactId>sisu-guice</artifactId>
<version>${project.version}</version>
+ <scope>provided</scope>
</dependency>
<!--
| Some extension tests depend on the core tests
-->
<dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
+ <groupId>org.sonatype.sisu</groupId>
+ <artifactId>sisu-guice</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
@@ -103,22 +103,10 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
- <Fragment-Host>com.google.inject</Fragment-Host>
+ <Fragment-Host>org.sonatype.sisu.guice</Fragment-Host>
</instructions>
</configuration>
</plugin>
- <!--
- | Generate sources jar
- -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- <!--
- | Generate javadoc jar
- -->
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
</plugins>
</build>
</project>
diff --git a/extensions/service/pom.xml b/extensions/service/pom.xml
index 2d96e0d..917c14a 100644
--- a/extensions/service/pom.xml
+++ b/extensions/service/pom.xml
@@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-service</artifactId>
- <name>Google Guice - Extensions - Service</name>
+ <name>Sisu Guice - Extensions - Service</name>
</project>
diff --git a/extensions/servlet/pom.xml b/extensions/servlet/pom.xml
index b4117ab..abd6e44 100644
--- a/extensions/servlet/pom.xml
+++ b/extensions/servlet/pom.xml
@@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-servlet</artifactId>
- <name>Google Guice - Extensions - Servlet</name>
+ <name>Sisu Guice - Extensions - Servlet</name>
<dependencies>
<dependency>
diff --git a/extensions/spring/pom.xml b/extensions/spring/pom.xml
index e1bf819..391fd83 100644
--- a/extensions/spring/pom.xml
+++ b/extensions/spring/pom.xml
@@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-spring</artifactId>
- <name>Google Guice - Extensions - Spring</name>
+ <name>Sisu Guice - Extensions - Spring</name>
<dependencies>
<dependency>
diff --git a/extensions/struts2/pom.xml b/extensions/struts2/pom.xml
index cf987cf..2a60ebd 100644
--- a/extensions/struts2/pom.xml
+++ b/extensions/struts2/pom.xml
@@ -4,18 +4,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-struts2</artifactId>
- <name>Google Guice - Extensions - Struts2</name>
+ <name>Sisu Guice - Extensions - Struts2</name>
<dependencies>
<dependency>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>guice-servlet</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/extensions/testlib/pom.xml b/extensions/testlib/pom.xml
index e12aee0..fc274ba 100644
--- a/extensions/testlib/pom.xml
+++ b/extensions/testlib/pom.xml
@@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-testlib</artifactId>
- <name>Google Guice - Extensions - TestLib</name>
+ <name>Sisu Guice - Extensions - TestLib</name>
<build>
<plugins>
diff --git a/extensions/throwingproviders/pom.xml b/extensions/throwingproviders/pom.xml
index 63a8b78..bb24528 100644
--- a/extensions/throwingproviders/pom.xml
+++ b/extensions/throwingproviders/pom.xml
@@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google.inject.extensions</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>extensions-parent</artifactId>
<version>4.0-SNAPSHOT</version>
</parent>
<artifactId>guice-throwingproviders</artifactId>
- <name>Google Guice - Extensions - ThrowingProviders</name>
+ <name>Sisu Guice - Extensions - ThrowingProviders</name>
<build>
<plugins>
diff --git a/pom.xml b/pom.xml
index 9203050..eb83c4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,21 +18,21 @@ See the Apache License Version 2.0 for the specific language governing permissio
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.google</groupId>
- <artifactId>google</artifactId>
- <version>5</version>
+ <groupId>org.sonatype.forge</groupId>
+ <artifactId>forge-parent</artifactId>
+ <version>38</version>
</parent>
<packaging>pom</packaging>
- <groupId>com.google.inject</groupId>
+ <groupId>org.sonatype.sisu.inject</groupId>
<artifactId>guice-parent</artifactId>
<version>4.0-SNAPSHOT</version>
- <name>Google Guice</name>
+ <name>Sisu Guice</name>
<description>
- Guice is a lightweight dependency injection framework for Java 6 and above
+ Patched build of Guice: a lightweight dependency injection framework for Java 6 and above
</description>
<url>https://github.com/google/guice</url>
@@ -61,9 +61,9 @@ See the Apache License Version 2.0 for the specific language governing permissio
</mailingLists>
<scm>
- <connection>scm:git:git://github.com/google/guice.git</connection>
- <developerConnection>scm:git:ssh://git@github.com/google/guice.git</developerConnection>
- <url>https://github.com/google/guice</url>
+ <connection>scm:git:git@github.com:sonatype/sisu-guice.git</connection>
+ <developerConnection>scm:git:git@github.com:sonatype/sisu-guice.git</developerConnection>
+ <url>http://github.com/sonatype/sisu-guice</url>
</scm>
<issueManagement>
@@ -84,18 +84,6 @@ See the Apache License Version 2.0 for the specific language governing permissio
</license>
</licenses>
- <distributionManagement>
- <!-- override the parent's directory to point to the canonical place, and use https. -->
- <repository>
- <id>google-releases</id>
- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
- </repository>
- <snapshotRepository>
- <id>google-snapshots</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots</url>
- </snapshotRepository>
- </distributionManagement>
-
<modules>
<module>core</module>
<module>extensions</module>
@@ -119,7 +107,6 @@ See the Apache License Version 2.0 for the specific language governing permissio
| Use "-Dguice.with.no_aop=false" to skip the no-AOP variant
-->
<guice.with.no_aop>true</guice.with.no_aop>
- <gpg.skip>true</gpg.skip>
</properties>
<dependencyManagement>
@@ -296,7 +283,7 @@ See the Apache License Version 2.0 for the specific language governing permissio
<Bundle-Copyright>Copyright (C) 2006 Google Inc.</Bundle-Copyright>
<Bundle-DocURL>https://github.com/google/guice</Bundle-DocURL>
<Bundle-Name>${project.artifactId}</Bundle-Name>
- <Bundle-SymbolicName>$(module)</Bundle-SymbolicName>
+ <Bundle-Vendor>Sonatype, Inc.</Bundle-Vendor>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
<Import-Package>!com.google.inject.*,*</Import-Package>
<_exportcontents>!*.internal.*,$(module).*;version=${guice.api.version}</_exportcontents>
@@ -310,6 +297,10 @@ See the Apache License Version 2.0 for the specific language governing permissio
Ignore-Package,Bnd-LastModified
</_removeheaders>
</instructions>
+ <!--
+ | Exclude from version calculations, as it doesn't use semantic versioning
+ -->
+ <excludeDependencies>guava</excludeDependencies>
</configuration>
<executions>
<execution>
@@ -357,45 +344,24 @@ See the Apache License Version 2.0 for the specific language governing permissio
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.4</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
- <version>2.1</version>
+ <version>2.5</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
- <version>2.5</version>
+ <version>2.7</version>
</plugin>
</plugins>
</pluginManagement>
- <plugins>
- <!--
- | Sign artifacts.
- -->
- <plugin>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.4</version>
- <executions>
- <execution>
- <id>sign-artifacts</id>
- <phase>verify</phase>
- <goals><goal>sign</goal></goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
</build>
<profiles>
|