damsel/pom.xml

106 lines
3.9 KiB
XML
Raw Normal View History

2016-07-04 18:58:46 +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>1.0.0</version>
2016-07-04 18:58:46 +00:00
</parent>
<artifactId>damsel</artifactId>
<version>SNAPSHOT</version>
2016-07-04 18:58:46 +00:00
<packaging>jar</packaging>
<name>Damsel</name>
<description>Generates jar artifact containing compiled thrift classes based on generated thrift IDL files</description>
<url>https://github.com/valitydev/damsel.git</url>
<developers>
<developer>
<organization>Vality</organization>
<organizationUrl>https://github.com/valitydev</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/valitydev/damsel.git</connection>
<developerConnection>scm:git:ssh://github.com/valitydev/damsel.git</developerConnection>
<url>https://github.com/valitydev/damsel/tree/master</url>
</scm>
2016-07-04 18:58:46 +00:00
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>dev.vality.woody</groupId>
2016-07-04 18:58:46 +00:00
<artifactId>woody-thrift</artifactId>
2020-07-14 09:26:49 +00:00
<version>[1.1.21,)</version>
2016-07-05 08:32:36 +00:00
<scope>provided</scope>
2016-07-04 18:58:46 +00:00
</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>
2016-07-04 18:58:46 +00:00
<plugins>
<plugin>
<groupId>org.apache.thrift</groupId>
<artifactId>thrift-maven-plugin</artifactId>
<version>0.10.0</version>
2016-07-04 18:58:46 +00:00
<configuration>
<generator>java:fullcamel</generator>
<thriftSourceRoot>${project.basedir}/proto</thriftSourceRoot>
2016-07-06 15:55:10 +00:00
<thriftExecutable>${path_to_thrift}</thriftExecutable>
2016-07-04 18:58:46 +00:00
</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>dev.vality.damsel</pattern>
<shadedPattern>dev.vality.damsel.v${commit.number}</shadedPattern>
</relocation>
</relocations>
<shadedArtifactAttached>true</shadedArtifactAttached>
2017-03-17 16:06:38 +00:00
<shadedClassifierName>v${commit.number}</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
2016-07-04 18:58:46 +00:00
</plugins>
</build>
</project>