<?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>camel-quarkus-support-spring-shade</artifactId>
    <groupId>org.apache.camel.quarkus</groupId>
    <version>3.8.2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>camel-quarkus-support-spring-beans</artifactId>
  <name>Camel Quarkus :: Support :: Spring :: Beans</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createSourcesJar>true</createSourcesJar>
              <artifactSet>
                <includes>
                  <include>org.springframework:spring-beans</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>org.springframework:spring-beans</artifact>
                  <includes>
                    <include>META-INF/spring.factories</include>
                    <include>org/springframework/beans/*</include>
                    <include>org/springframework/beans/factory/**</include>
                    <include>org/springframework/beans/propertyeditors/**</include>
                    <include>org/springframework/beans/support/**</include>
                  </includes>
                  <excludes>
                    <exclude>org/springframework/beans/factory/groovy/**</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.apache.camel.quarkus</groupId>
      <artifactId>camel-quarkus-support-spring-core</artifactId>
      <version>3.8.2</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>
