<?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>3.4</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>io.quarkus</groupId>
  <artifactId>quarkus-spring-data-commons-api</artifactId>
  <version>3.4</version>
  <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-commons</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>org.springframework.data:spring-data-commons</artifact>
                  <includes>
                    <include>org/springframework/data/repository/Repository**</include>
                    <include>org/springframework/data/util/Streamable**</include>
                    <include>org/springframework/data/util/StreamUtils**</include>
                    <include>org/springframework/data/util/MethodInvocationRecorder**</include>
                    <include>org/springframework/data/util/Optionals**</include>
                    <include>org/springframework/data/domain/Page**</include>
                    <include>org/springframework/data/domain/PageRequest**</include>
                    <include>org/springframework/data/domain/Pageable**</include>
                    <include>org/springframework/data/domain/Unpaged**</include>
                    <include>org/springframework/data/domain/Slice**</include>
                    <include>org/springframework/data/domain/Sort**</include>
                    <include>org/springframework/data/domain/Chunk**</include>
                    <include>org/springframework/data/domain/Auditable**</include>
                    <include>org/springframework/data/domain/Persistable**</include>
                    <include>org/springframework/data/repository/CrudRepository**</include>
                    <include>org/springframework/data/repository/ListCrudRepository**</include>
                    <include>org/springframework/data/repository/ListPagingAndSortingRepository**</include>
                    <include>org/springframework/data/repository/PagingAndSortingRepository**</include>
                    <include>org/springframework/data/repository/NoRepositoryBean**</include>
                    <include>org/springframework/data/repository/query/QueryByExampleExecutor**</include>
                    <include>org/springframework/data/repository/query/FluentQuery**</include>
                    <include>org/springframework/data/repository/query/Param**</include>
                    <include>org/springframework/data/annotation/Id**</include>
                    <include>org/springframework/data/annotation/QueryAnnotation**</include>
                    <include>org/springframework/data/domain/Example**</include>
                    <include>org/springframework/data/domain/AbstractPageRequest**</include>
                    <include>org/springframework/data/domain/Limit**</include>
                    <include>org/springframework/data/domain/OffsetScrollPosition**</include>
                    <include>org/springframework/data/domain/ScrollPosition**</include>
                  </includes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
