| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.apache.tinkerpop.example</groupId> |
| <artifactId>cmdb-gremlin</artifactId> |
| <version>0.1.0-SNAPSHOT</version> |
| <name>CMDB Graph API (Java, Micronaut 4, Gremlin Server)</name> |
| <description>Example Micronaut 4 REST API using Apache TinkerPop Gremlin Driver against Gremlin Server |
| </description> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <java.version>17</java.version> |
| <micronaut.version>4.6.2</micronaut.version> |
| <tinkerpop.version>3.7.4</tinkerpop.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.micronaut.platform</groupId> |
| <artifactId>micronaut-platform</artifactId> |
| <version>${micronaut.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <!-- Micronaut core --> |
| <dependency> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-runtime</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-http-server-netty</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.micronaut.validation</groupId> |
| <artifactId>micronaut-validation</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.micronaut.serde</groupId> |
| <artifactId>micronaut-serde-jackson</artifactId> |
| </dependency> |
| |
| <!-- Gremlin driver (remote to Gremlin Server) --> |
| <dependency> |
| <groupId>org.apache.tinkerpop</groupId> |
| <artifactId>gremlin-driver</artifactId> |
| <version>${tinkerpop.version}</version> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <!-- Testing (integration oriented) --> |
| <dependency> |
| <groupId>io.micronaut.test</groupId> |
| <artifactId>micronaut-test-junit5</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-http-client</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>3.26.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>1.20.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>5.14.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.11.0</version> |
| <configuration> |
| <release>${java.version}</release> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-inject-java</artifactId> |
| <version>${micronaut.version}</version> |
| </path> |
| <path> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-graal</artifactId> |
| <version>${micronaut.version}</version> |
| </path> |
| <path> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-http-validation</artifactId> |
| <version>${micronaut.version}</version> |
| </path> |
| </annotationProcessorPaths> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>3.2.5</version> |
| <configuration> |
| <useSystemClassLoader>true</useSystemClassLoader> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |