mongo
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.immutables</groupId> <artifactId>mongo</artifactId> <version>2.11.0-beta2</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2014-2018 Immutables Authors and Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <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/xsd/maven-4.0.0.xsd"> <parent> <artifactId>immutables</artifactId> <groupId>org.immutables</groupId> <version>2.11.0-beta2</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>mongo</artifactId> <name>${project.groupId}.${project.artifactId}</name> <description> Annotation and runtime support to generate MongoDB repositories. Mongo java driver, Gson and Guava are required runtime dependencies, which are included as transitive dependencies. </description> <properties> <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> <dependencies> <dependency> <!-- required gson dependency --> <groupId>org.immutables</groupId> <artifactId>gson</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>${jsr305.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.immutables</groupId> <artifactId>value</artifactId> <version>${project.version}</version> <scope>test</scope> <optional>true</optional> </dependency> <dependency> <!-- compile only meta-inf/services generator --> <groupId>org.immutables</groupId> <artifactId>metainf</artifactId> <version>${project.version}</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <!-- Required. --> <groupId>org.mongodb</groupId> <artifactId>mongodb-driver-sync</artifactId> <version>${mongo-java-driver.version}</version> </dependency> <dependency> <groupId>org.mongodb</groupId> <artifactId>mongodb-driver-legacy</artifactId> <version>${mongo-java-driver.version}</version> </dependency> <dependency> <groupId>org.immutables</groupId> <artifactId>testing</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>de.bwaldvogel</groupId> <artifactId>mongo-java-server</artifactId> <version>${mongo-java-server.version}</version> <scope>test</scope> </dependency> <!-- mongo-java-server dependency --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.verion}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson-databind.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-guava</artifactId> <version>${jackson.version}</version> <scope>test</scope> </dependency> <!-- <dependency> <!– test to ensure that Mongo and Criteria can co-exists. Annotations will be enabled at compile time –> <groupId>org.immutables</groupId> <artifactId>criteria-common</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency>--> </dependencies> <profiles> <profile> <id>jdk16</id> <activation> <jdk>[16,)</jdk> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>--add-opens=java.base/java.lang=ALL-UNNAMED</argLine> <argLine>--add-opens=java.base/java.util=ALL-UNNAMED</argLine> <argLine>--add-opens=java.base/java.util.regex=ALL-UNNAMED</argLine> <argLine>--add-opens=java.base/java.time=ALL-UNNAMED</argLine> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>