mirror of
https://github.com/valitydev/wb-list-proto.git
synced 2024-11-06 02:45:17 +00:00
89 lines
3.2 KiB
XML
89 lines
3.2 KiB
XML
<?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>com.rbkmoney</groupId>
|
|
<artifactId>parent</artifactId>
|
|
<version>1.0.0</version>
|
|
</parent>
|
|
|
|
<artifactId>wb-list-proto</artifactId>
|
|
<version>SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<name>wb-list</name>
|
|
<description>Generates jar artifact containing compiled thrift classes based on generated thrift IDL files</description>
|
|
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.woody</groupId>
|
|
<artifactId>woody-thrift</artifactId>
|
|
<version>LATEST</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>damsel</artifactId>
|
|
<version>1.268-45c8524</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<!-- THRIFT -->
|
|
<plugin>
|
|
<groupId>org.apache.thrift</groupId>
|
|
<artifactId>thrift-maven-plugin</artifactId>
|
|
<version>0.9.3-1</version>
|
|
<configuration>
|
|
<generator>java:fullcamel</generator>
|
|
<thriftSourceRoot>${project.basedir}/proto</thriftSourceRoot>
|
|
<thriftExecutable></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.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.rbkmoney.damsel</pattern>
|
|
<shadedPattern>com.rbkmoney.damsel.v${commit.number}</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
<shadedClassifierName>v${commit.number}</shadedClassifierName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |