Created
February 9, 2020 15:11
-
-
Save tobidope/4fa2294a8ed5d886ab7db9e1e1ec0845 to your computer and use it in GitHub Desktop.
Minimale pom für ein Micronaut CLI Projekt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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>test.picocli</groupId> | |
| <artifactId>test-picocli</artifactId> | |
| <version>0.1</version> | |
| <properties> | |
| <micronaut.version>1.3.0</micronaut.version> | |
| <jdk.version>13</jdk.version> | |
| <maven.compiler.target>${jdk.version}</maven.compiler.target> | |
| <maven.compiler.source>${jdk.version}</maven.compiler.source> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
| <exec.mainClass>test.picocli.TestPicocliCommand</exec.mainClass> | |
| <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> | |
| <maven-failsafe-plugin.version>2.22.2</maven-failsafe-plugin.version> | |
| </properties> | |
| <repositories> | |
| <repository> | |
| <id>jcenter.bintray.com</id> | |
| <url>https://jcenter.bintray.com</url> | |
| </repository> | |
| </repositories> | |
| <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> | |
| </dependency> | |
| <dependency> | |
| <groupId>info.picocli</groupId> | |
| <artifactId>picocli</artifactId> | |
| <scope>compile</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.micronaut.configuration</groupId> | |
| <artifactId>micronaut-picocli</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>ch.qos.logback</groupId> | |
| <artifactId>logback-classic</artifactId> | |
| <version>1.2.3</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <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> | |
| <dependency> | |
| <groupId>io.micronaut</groupId> | |
| <artifactId>micronaut-inject-java</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <version>3.1.0</version> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <transformers> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
| <mainClass>${exec.mainClass}</mainClass> | |
| </transformer> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> | |
| </transformers> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>exec-maven-plugin</artifactId> | |
| <version>1.6.0</version> | |
| <configuration> | |
| <executable>java</executable> | |
| <arguments> | |
| <argument>-classpath</argument> | |
| <classpath/> | |
| <argument>-noverify</argument> | |
| <argument>-XX:TieredStopAtLevel=1</argument> | |
| <argument>-Dcom.sun.management.jmxremote</argument> | |
| <argument>${exec.mainClass}</argument> | |
| </arguments> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>${maven-surefire-plugin.version}</version> | |
| <configuration> | |
| <detail>true</detail> | |
| <includes> | |
| <include>%regex[.*]</include> | |
| </includes> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-failsafe-plugin</artifactId> | |
| <version>${maven-failsafe-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>integration-test</goal> | |
| <goal>verify</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.7.0</version> | |
| <configuration> | |
| <compilerArgs> | |
| <arg>-parameters</arg> | |
| </compilerArgs> | |
| <annotationProcessorPaths> | |
| <path> | |
| <groupId>io.micronaut</groupId> | |
| <artifactId>micronaut-validation</artifactId> | |
| <version>1.3.0</version> | |
| </path> | |
| <path> | |
| <groupId>io.micronaut</groupId> | |
| <artifactId>micronaut-inject-java</artifactId> | |
| <version>1.3.0</version> | |
| </path> | |
| <path> | |
| <groupId>io.micronaut.configuration</groupId> | |
| <artifactId>micronaut-picocli</artifactId> | |
| <version>1.2.1</version> | |
| </path> | |
| </annotationProcessorPaths> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>test-compile</id> | |
| <goals> | |
| <goal>testCompile</goal> | |
| </goals> | |
| <configuration> | |
| <compilerArgs> | |
| <arg>-parameters</arg> | |
| </compilerArgs> | |
| <annotationProcessorPaths> | |
| <path> | |
| <groupId>io.micronaut</groupId> | |
| <artifactId>micronaut-validation</artifactId> | |
| <version>1.3.0</version> | |
| </path> | |
| <path> | |
| <groupId>io.micronaut</groupId> | |
| <artifactId>micronaut-inject-java</artifactId> | |
| <version>1.3.0</version> | |
| </path> | |
| <path> | |
| <groupId>io.micronaut.configuration</groupId> | |
| <artifactId>micronaut-picocli</artifactId> | |
| <version>1.2.1</version> | |
| </path> | |
| </annotationProcessorPaths> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment