![JAR search and dependency download from the Maven repository](/logo.png)
java-micronaut-client.configuration.pom.xml.mustache Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>{{groupId}}</groupId> <artifactId>{{artifactId}}</artifactId> <version>{{artifactVersion}}</version> <packaging>${packaging}</packaging> <parent> <groupId>io.micronaut</groupId> <artifactId>micronaut-parent</artifactId> <version>3.0.0-M5</version> </parent> <properties> <packaging>jar</packaging> <jdk.version>1.8</jdk.version> <!-- If you are building with JDK 9 or higher, you can uncomment the lines below to set the release version --> <!-- <release.version>8</release.version> --> <micronaut.version>3.0.0-M5</micronaut.version> <exec.mainClass>{{groupId}}.Application</exec.mainClass> <micronaut.runtime>netty</micronaut.runtime> <swagger-annotations-version>1.5.21</swagger-annotations-version> </properties> <repositories> <repository> <id>central</id> <url>https://repo.maven.apache.org/maven2</url> </repository> </repositories> <dependencies> <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> {{#isTestSpock}} <dependency> <groupId>io.micronaut</groupId> <artifactId>micronaut-inject-groovy</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.spockframework</groupId> <artifactId>spock-core</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.micronaut.test</groupId> <artifactId>micronaut-test-spock</artifactId> <scope>test</scope> </dependency> {{/isTestSpock}} {{#isTestJunit}} <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.micronaut.test</groupId> <artifactId>micronaut-test-junit5</artifactId> <scope>test</scope> </dependency> {{/isTestJunit}} <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>io.micronaut</groupId> <artifactId>micronaut-runtime</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>io.micronaut.reactor</groupId> <artifactId>micronaut-reactor</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>io.micronaut.security</groupId> <artifactId>micronaut-security</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>io.micronaut.security</groupId> <artifactId>micronaut-security-oauth2</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-annotations</artifactId> <version>${swagger-annotations-version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>io.micronaut.build</groupId> <artifactId>micronaut-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <!-- Uncomment to enable incremental compilation --> <!-- <useIncrementalCompilation>false</useIncrementalCompilation> --> <annotationProcessorPaths combine.children="append"> <path> <groupId>io.micronaut</groupId> <artifactId>micronaut-http-validation</artifactId> <version>${micronaut.version}</version> </path> <path> <groupId>io.micronaut.security</groupId> <artifactId>micronaut-security-annotations</artifactId> <version>${micronaut.security.version}</version> </path> </annotationProcessorPaths> <compilerArgs> <arg>-Amicronaut.processing.group={{groupId}}</arg> <arg>-Amicronaut.processing.module={{artifactId}}</arg> </compilerArgs> </configuration> </plugin> {{#isTestSpock}} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <includes> <include>**/*Spec.*</include> <include>**/*Test.*</include> </includes> </configuration> </plugin> <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> <version>1.9.0</version> <executions> <execution> <goals> <goal>addSources</goal> <goal>generateStubs</goal> <goal>compile</goal> <goal>removeStubs</goal> <goal>addTestSources</goal> <goal>generateTestStubs</goal> <goal>compileTests</goal> <goal>removeTestStubs</goal> </goals> </execution> </executions> </plugin> {{/isTestSpock}} </plugins> </build> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy