<?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/maven-v4_0_0.xsd">
  <parent>
    <artifactId>quarkus-spring-data-api</artifactId>
    <groupId>io.quarkus</groupId>
    <version>2.1.SP2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>quarkus-spring-data-rest-api</artifactId>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>${maven-shade-plugin.version}</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createSourcesJar>true</createSourcesJar>
              <artifactSet>
                <includes>
                  <include>org.springframework.data:spring-data-rest-core</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>org.springframework.data:spring-data-rest-core</artifact>
                  <includes>
                    <include>org/springframework/data/rest/core/annotation/RestResource**</include>
                    <include>org/springframework/data/rest/core/annotation/RepositoryRestResource**</include>
                    <include>org/springframework/data/rest/core/annotation/Description**</include>
                  </includes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
