blob: b50a0511d0d5a2c36c1881b141f8d0bd561fe702 [file] [log] [blame]
<?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.
-->
<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>ignite-parent</artifactId>
<version>2.13.0</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<artifactId>ignite-parent-ext-internal</artifactId>
<packaging>pom</packaging>
<version>1</version>
<properties>
<spring-boot.version>2.2.13.RELEASE</spring-boot.version>
<spring53.version>5.3.19</spring53.version>
<!--
NOTE: The dependency versions below must be changed in the release branch up to
the latest released version prior to an extension release.
-->
<ignite-spring-data-ext.release.version>2.0.0-SNAPSHOT</ignite-spring-data-ext.release.version>
<ignite-spring-data-commons.release.version>1.1.0</ignite-spring-data-commons.release.version>
</properties>
<scm>
<url>https://gitbox.apache.org/repos/asf/ignite-extensions.git</url>
<connection>scm:git:https://gitbox.apache.org/repos/asf/ignite-extensions.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/ignite-extensions.git</developerConnection>
<tag>HEAD</tag>
</scm>
<repositories>
<repository>
<id>snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-bom</artifactId>
<version>${ignite.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
<exclusions>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- The TestSuiteAwareTestsetReporter added to classpath for the maven-surefire-plugin. -->
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-tools</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<executions>
<execution>
<id>flatten</id>
<inherited>false</inherited>
<phase/>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>extension-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>source-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
<descriptors>
<descriptor>../../assembly/source-release.xml</descriptor>
</descriptors>
<finalName>ignite-${project.projectDirectory.name}-src</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
<id>binary-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorSourceDirectory>${project.basedir}/assembly</descriptorSourceDirectory>
<!-- Assembly id will be attached to the final name in favor the release name. -->
<finalName>${project.artifactId}</finalName>
<ignoreMissingDescriptor>true</ignoreMissingDescriptor>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<!-- We want to deploy the artifact to a staging location. -->
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.10</version>
<executions>
<execution>
<id>checksum</id>
<goals>
<goal>artifacts</goal>
</goals>
</execution>
</executions>
<configuration>
<algorithms>
<algorithm>SHA-512</algorithm>
</algorithms>
<appendFilename>true</appendFilename>
<excludeMainArtifact>true</excludeMainArtifact>
<failIfNoFiles>false</failIfNoFiles>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>