2019-04-29 13:02:49 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-05-16 11:19:31 +08:00
|
|
|
{auto_gen_header}
|
2019-04-29 13:02:49 +08:00
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
2020-04-12 17:59:34 +08:00
|
|
|
<groupId>io.ray</groupId>
|
2019-04-29 13:02:49 +08:00
|
|
|
<artifactId>ray-superpom</artifactId>
|
2022-05-05 19:34:59 +01:00
|
|
|
<version>1.13.0</version>
|
2019-04-29 13:02:49 +08:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>ray-runtime</artifactId>
|
|
|
|
<name>ray runtime</name>
|
|
|
|
<description>ray runtime implementation</description>
|
|
|
|
<packaging>jar</packaging>
|
2020-07-30 11:48:31 +08:00
|
|
|
<properties>
|
|
|
|
<output.directory>${basedir}/../../build/java</output.directory>
|
|
|
|
</properties>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>release</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>release</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<output.directory>${basedir}</output.directory>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2019-04-29 13:02:49 +08:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2020-04-12 17:59:34 +08:00
|
|
|
<groupId>io.ray</groupId>
|
2019-04-29 13:02:49 +08:00
|
|
|
<artifactId>ray-api</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-05-16 11:19:31 +08:00
|
|
|
{generated_bzl_deps}
|
2019-04-29 13:02:49 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>native_dependencies</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-dependencies-to-build</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/../../build/java</outputDirectory>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
<configuration>
|
2020-07-30 11:48:31 +08:00
|
|
|
<outputDirectory>${output.directory}</outputDirectory>
|
2019-04-29 13:02:49 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-12-23 16:54:31 +08:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.1.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>com.google.guava</include>
|
|
|
|
<include>com.google.protobuf</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.common</pattern>
|
|
|
|
<shadedPattern>io.ray.shaded.com.google.common</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.protobuf</pattern>
|
|
|
|
<shadedPattern>io.ray.shaded.com.google.protobuf</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.thirdparty</pattern>
|
|
|
|
<shadedPattern>io.ray.shaded.com.google.thirdparty</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-04-29 13:02:49 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|