162 lines
6.0 KiB
XML
162 lines
6.0 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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.baeldung.micronaut</groupId>
|
|
<artifactId>micronaut</artifactId>
|
|
<version>0.1</version>
|
|
<packaging>${packaging}</packaging>
|
|
<name>micronaut</name>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>microservices-modules</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.micronaut</groupId>
|
|
<artifactId>micronaut-bom</artifactId>
|
|
<version>${micronaut.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.micronaut</groupId>
|
|
<artifactId>micronaut-runtime</artifactId>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.micronaut</groupId>
|
|
<artifactId>micronaut-jackson-databind</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micronaut</groupId>
|
|
<artifactId>micronaut-http-client</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micronaut</groupId>
|
|
<artifactId>micronaut-http-server-netty</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.annotation</groupId>
|
|
<artifactId>jakarta.annotation-api</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micronaut</groupId>
|
|
<artifactId>micronaut-inject</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micronaut</groupId>
|
|
<artifactId>micronaut-validation</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micronaut.rxjava3</groupId>
|
|
<artifactId>micronaut-rxjava3</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micronaut.rxjava3</groupId>
|
|
<artifactId>micronaut-rxjava3-http-client</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micronaut.serde</groupId>
|
|
<artifactId>micronaut-serde-jackson</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micronaut.test</groupId>
|
|
<artifactId>micronaut-test-junit5</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.micronaut.build</groupId>
|
|
<artifactId>micronaut-maven-plugin</artifactId>
|
|
<version>${micronaut-build.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${jdk.version}</source>
|
|
<target>${jdk.version}</target>
|
|
<compilerArgs>
|
|
<arg>-parameters</arg>
|
|
</compilerArgs>
|
|
<!-- Uncomment to enable incremental compilation -->
|
|
<!-- <useIncrementalCompilation>false</useIncrementalCompilation> -->
|
|
|
|
<annotationProcessorPaths combine.self="append">
|
|
|
|
<path>
|
|
<groupId>io.micronaut</groupId>
|
|
<artifactId>micronaut-inject-java</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-shade-plugin</artifactId>
|
|
<version>${shade.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-shade</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<!-- <exec.mainClass>com.baeldung.micronaut.helloworld.server.ServerApplication</exec.mainClass> -->
|
|
<exec.mainClass>com.baeldung.micronaut.vs.springboot.CompareApplication</exec.mainClass>
|
|
<micronaut.version>3.10.1</micronaut.version>
|
|
<jdk.version>17</jdk.version>
|
|
<release.version>17</release.version>
|
|
<packaging>jar</packaging>
|
|
<compiler.plugin.version>3.12.1</compiler.plugin.version>
|
|
<micronaut.runtime>netty</micronaut.runtime>
|
|
<micronaut-build.version>3.5.4</micronaut-build.version>
|
|
<shade.plugin.version>3.2.0</shade.plugin.version>
|
|
</properties>
|
|
|
|
</project> |