2024-04-26 13:51:21 +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>
|
2024-06-19 15:28:12 +00:00
|
|
|
<version>2.0.2</version>
|
2024-04-26 13:51:21 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>dominator-proto</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>dominator-proto</name>
|
|
|
|
<description>Generates jar artifact containing compiled thrift classes based on generated thrift IDL files
|
|
|
|
</description>
|
|
|
|
<url>https://github.com/valitydev/dominator-proto</url>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<email>devs@vality.dev</email>
|
|
|
|
<organization>Vality</organization>
|
|
|
|
<organizationUrl>https://vality.dev</organizationUrl>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git://github.com/valitydev/dominator-proto</connection>
|
|
|
|
<developerConnection>scm:git:ssh://github.com/valitydev/dominator-proto</developerConnection>
|
|
|
|
<url>https://github.com/valitydev/dominator-proto/tree/master</url>
|
|
|
|
</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>1.0.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
<version>1.3.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>dev.vality</groupId>
|
|
|
|
<artifactId>damsel</artifactId>
|
|
|
|
<version>1.597-bfedcb9</version>
|
|
|
|
<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>
|
|
|
|
<!-- THRIFT -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.thrift</groupId>
|
|
|
|
<artifactId>thrift-maven-plugin</artifactId>
|
|
|
|
<version>0.10.0</version>
|
|
|
|
<configuration>
|
|
|
|
<generator>java:fullcamel</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.4.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
2024-04-26 14:03:52 +00:00
|
|
|
<pattern>dev.vality.dominator</pattern>
|
|
|
|
<shadedPattern>dev.vality.dominator.v${commit.number}</shadedPattern>
|
2024-04-26 13:51:21 +00:00
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<shadedClassifierName>v${commit.number}</shadedClassifierName>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|