| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| 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. |
| --> |
| |
| <!-- |
| POM file. |
| --> |
| <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> |
| |
| <parent> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>apache-ignite</artifactId> |
| <version>3.0.0-alpha1</version> |
| <relativePath>../..</relativePath> |
| </parent> |
| |
| <artifactId>ignite-cli</artifactId> |
| |
| <properties> |
| <micronaut.version>2.1.2</micronaut.version> |
| <picocli.version>4.5.2</picocli.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>1.2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>2.11.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-cli-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ivy</groupId> |
| <artifactId>ivy</artifactId> |
| <version>2.5.0</version> |
| </dependency> |
| <dependency> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli-shell-jline3</artifactId> |
| <version>${picocli.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.fusesource.jansi</groupId> |
| <artifactId>jansi</artifactId> |
| <version>1.18</version> |
| </dependency> |
| <dependency> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli</artifactId> |
| <version>${picocli.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jetbrains</groupId> |
| <artifactId>annotations</artifactId> |
| <version>16.0.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>5.7.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-junit-jupiter</artifactId> |
| <version>3.3.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.micronaut.test</groupId> |
| <artifactId>micronaut-test-junit5</artifactId> |
| <version>2.3.1</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-inject-java</artifactId> |
| <version>${micronaut.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.typesafe</groupId> |
| <artifactId>config</artifactId> |
| <version>1.4.1</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.2.0</version> |
| |
| <configuration> |
| <finalName>ignite</finalName> |
| <appendAssemblyId>false</appendAssemblyId> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.ignite.cli.IgniteCliApp</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.1</version> |
| <configuration> |
| <!-- Uncomment to enable incremental compilation --> |
| <!-- <useIncrementalCompilation>false</useIncrementalCompilation> --> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-inject-java</artifactId> |
| <version>${micronaut.version}</version> |
| </path> |
| <path> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli-codegen</artifactId> |
| <version>${picocli.version}</version> |
| </path> |
| </annotationProcessorPaths> |
| </configuration> |
| <executions> |
| <execution> |
| <id>test-compile</id> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| <configuration> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-inject-java</artifactId> |
| <version>${micronaut.version}</version> |
| </path> |
| </annotationProcessorPaths> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.2</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>3.0.0</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <configuration> |
| <target> |
| <concat destfile="${project.build.directory}/ignite" binary="true"> |
| <filelist dir="${project.build.directory}/" |
| files="../ignite.sh,ignite.jar"/> |
| </concat> |
| <chmod file="${project.build.directory}/ignite" perm="+x"/> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.akathist.maven.plugins.launch4j</groupId> |
| <artifactId>launch4j-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>l4j-clui</id> |
| <phase>package</phase> |
| <goals> |
| <goal>launch4j</goal> |
| </goals> |
| <configuration> |
| <headerType>console</headerType> |
| <jar>${project.build.directory}/ignite.jar</jar> |
| <outfile>${project.build.directory}/ignite.exe</outfile> |
| <jre> |
| <path>%JAVA_HOME%</path> |
| <minVersion>11</minVersion> |
| </jre> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.13</version> |
| <configuration> |
| <excludes> |
| <exclude>**/builtin_modules.conf</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |