blob: 578c4991df2d54fd8c14e6cf27f032082a10e060 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.flink</groupId>
<artifactId>flink-libraries</artifactId>
<version>1.8.3</version>
<relativePath>..</relativePath>
</parent>
<artifactId>flink-ml-uber_${scala.binary.version}</artifactId>
<name>flink-ml-uber</name>
<description>Utility module for packaging a fat flink-ml jar.</description>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-ml_${scala.binary.version}</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<!-- this is an intermediate build artifact and should not be deployed -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>shade-flink</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.apache.flink:flink-ml_*</include>
<include>com.chuusai:shapeless_*</include>
<include>net.sf.opencsv:opencsv</include>
<include>org.scalanlp:breeze_*</include>
<include>org.scalanlp:breeze-macros_*</include>
<include>org.typelevel:macro-compat_*</include>
<include>com.github.fommil.netlib:core</include>
<include>net.sourceforge.f2j:arpack_combined_all</include>
<include>org.spire-math:spire_*</include>
<include>org.spire-math:spire-macros_*</include>
<include>org.typelevel:machinist_*</include>
<include>com.github.rwl:jtransforms</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>