provider-disputes-proto/pom.xml

125 lines
4.6 KiB
XML
Raw Normal View History

2024-07-11 10:59:54 +00:00
<?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>
<parent>
<groupId>dev.vality</groupId>
<artifactId>library-parent-pom</artifactId>
<version>2.0.3</version>
2024-07-11 10:59:54 +00:00
</parent>
2024-10-08 13:09:57 +00:00
<artifactId>disputes-proto</artifactId>
2024-07-11 10:59:54 +00:00
<version>${revision}</version>
<packaging>jar</packaging>
2024-10-08 13:09:57 +00:00
<name>disputes-proto</name>
2024-07-11 10:59:54 +00:00
<description>Generates jar artifact containing compiled thrift classes based on generated thrift IDL files
</description>
2024-10-08 13:09:57 +00:00
<url>https://github.com/valitydev/disputes-proto.git</url>
2024-07-11 10:59:54 +00:00
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<organization>Vality</organization>
<organizationUrl>https://github.com/valitydev</organizationUrl>
</developer>
</developers>
<scm>
2024-10-08 13:09:57 +00:00
<connection>scm:git:git://github.com/valitydev/disputes-proto.git</connection>
<developerConnection>scm:git:ssh://github.com/valitydev/disputes-proto.git</developerConnection>
<url>https://github.com/valitydev/disputes-proto/tree/master</url>
2024-07-11 10:59:54 +00:00
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>SNAPSHOT</revision>
</properties>
<dependencies>
<dependency>
<groupId>dev.vality.woody</groupId>
<artifactId>woody-thrift</artifactId>
<version>2.0.8</version>
2024-07-11 10:59:54 +00:00
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>dev.vality</groupId>
<artifactId>damsel</artifactId>
<version>1.648-ad715bd</version>
2024-07-11 10:59:54 +00:00
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>${project.basedir}/proto</directory>
<targetPath>${project.build.outputDirectory}/proto</targetPath>
<includes>
<include>*.thrift</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.thrift</groupId>
<artifactId>thrift-maven-plugin</artifactId>
<version>0.10.0</version>
<configuration>
<generator>java:fullcamel,jakarta_annotations,option_type=jdk8</generator>
<thriftSourceRoot>${project.basedir}/proto</thriftSourceRoot>
<thriftExecutable>${path_to_thrift}</thriftExecutable>
</configuration>
<executions>
<execution>
<id>thrift-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>dev.vality.disputes</pattern>
<shadedPattern>dev.vality.disputes.v${commit.number}</shadedPattern>
</relocation>
</relocations>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>v${commit.number}</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>