mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-04 21:18:22 +08:00
142 lines
6.2 KiB
XML
142 lines
6.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>io.edurt.datacap</groupId>
|
|
<artifactId>datacap</artifactId>
|
|
<version>2024.3.11-SNAPSHOT</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>datacap-shaded-ydb</artifactId>
|
|
<description>DataCap - Shaded for YDB</description>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<ydb.version>1.45.6</ydb.version>
|
|
<datacap.shade.packageName>io.edurt.datacap.ydb</datacap.shade.packageName>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.yandex.ydb</groupId>
|
|
<artifactId>ydb-sdk-jdbc</artifactId>
|
|
<version>${ydb.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<configuration>
|
|
<minimizeJar>false</minimizeJar>
|
|
<createSourcesJar>true</createSourcesJar>
|
|
<shadeSourcesContent>true</shadeSourcesContent>
|
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>com.google.code.findbugs:jsr305</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
<exclude>META-INF/DEPENDENCIES</exclude>
|
|
<exclude>META-INF/LICENSE.txt</exclude>
|
|
<exclude>META-INF/NOTICE.txt</exclude>
|
|
<exclude>META-INF/maven/**</exclude>
|
|
<exclude>META-INF/native-image/**</exclude>
|
|
<exclude>LICENSE.txt</exclude>
|
|
<exclude>NOTICE.txt</exclude>
|
|
<exclude>mozilla/**</exclude>
|
|
<exclude>arrow-git.properties</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>codegen</pattern>
|
|
<shadedPattern>${datacap.shade.packageName}.codegen</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>io.grpc</pattern>
|
|
<shadedPattern>${datacap.shade.packageName}.io.grpc</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.google</pattern>
|
|
<shadedPattern>${datacap.shade.packageName}.com.google</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>io.netty</pattern>
|
|
<shadedPattern>${datacap.shade.packageName}.io.netty</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"></transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<goals>
|
|
<goal>attach-artifact</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<artifacts>
|
|
<artifact>
|
|
<file>${basedir}/target/${project.artifactId}-${project.version}.jar</file>
|
|
<type>jar</type>
|
|
<classifier>optional</classifier>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.alchim31.maven</groupId>
|
|
<artifactId>scala-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-scaladocs</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.sonatype.plugins</groupId>-->
|
|
<!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
|
|
<!-- <version>${plugin.maven.nexus.version}</version>-->
|
|
<!-- <extensions>true</extensions>-->
|
|
<!-- <configuration>-->
|
|
<!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|