mirror of
https://github.com/google/guice.git
synced 2024-04-21 12:32:36 +00:00
* Bump minimum JRE to 11 (from 8).
* Change testing matrix from {8,11,15,17} to {11,17,21-ea}. (Except the bazel build has trouble parsing "21-ea" as a java version, so s/21-ea/20 for bazel.)
* Also test on macos (but only with jdk17). (Attempted to test on windows too, but there's issues right now.)
* Cleanup the POMs a little bit (remove unused mailing list reference, fix CI link)
* Bump bazel version to 6.2.0, otherwise the tests fail b/c they try to set a security manager (see https://github.com/bazelbuild/bazel/issues/14502, which was fixed in https://github.com/bazelbuild/bazel/commit/7556e1107b666d10b660470a571631463c7eb4ec, which was cherrypicked into the 6.2.0 release). This also required suppressing the "BanJNDI" errorprone check in the JNDI extension, which was also added to 6.2.0. (A future change should probably just remove the JNDI extension altogether.)
PiperOrigin-RevId: 532849632
112 lines
3.2 KiB
XML
112 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice-parent</artifactId>
|
|
<version>7.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
<artifactId>extensions-parent</artifactId>
|
|
|
|
<name>Google Guice - Extensions</name>
|
|
|
|
<modules>
|
|
<module>assistedinject</module>
|
|
<module>dagger-adapter</module>
|
|
<module>grapher</module>
|
|
<module>jmx</module>
|
|
<module>jndi</module>
|
|
<module>persist</module>
|
|
<module>servlet</module>
|
|
<module>spring</module>
|
|
<!-- struts2 doesn't support jakarta.servlet yet, so we can't include it
|
|
<module>struts2</module> -->
|
|
<module>testlib</module>
|
|
<module>throwingproviders</module>
|
|
</modules>
|
|
|
|
<dependencies>
|
|
<!--
|
|
| All extensions depend on the core
|
|
-->
|
|
<dependency>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<!--
|
|
| Some extension tests depend on the core tests
|
|
-->
|
|
<dependency>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>tests</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--
|
|
| Some extension tests depend on guava test libs which are not inherited
|
|
| from test scope.
|
|
-->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava-testlib</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--
|
|
| Some tests depend indirectly on asm (via LineNumbers) which is only embedded
|
|
| with 'mvn package'; make it an explict dependency to support using 'mvn test'.
|
|
-->
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!--
|
|
| Add standard LICENSE and NOTICE files
|
|
-->
|
|
<plugin>
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
</plugin>
|
|
<!--
|
|
| Add OSGi manifest: extensions are fragments that attach to the core
|
|
-->
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<configuration>
|
|
<instructions>
|
|
<Fragment-Host>com.google.inject;bundle-version=$(version_cleanup;${project.version})</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>
|