<?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>blaze-persistence-entity-view</artifactId>
    <groupId>com.blazebit</groupId>
    <version>1.6.11</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>blaze-persistence-entity-view-impl-jar</artifactId>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createSourcesJar>true</createSourcesJar>
              <filters>
                <filter>
                  <artifact>${project.groupId}:blaze-persistence-entity-view-impl</artifact>
                  <excludes>
                    <exclude>META-INF/versions/**</exclude>
                    <exclude>module-info.class</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>blazebit-release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <version>3.6.0</version>
            <executions>
              <execution>
                <id>shade-javadoc</id>
                <goals>
                  <goal>copy</goal>
                </goals>
                <configuration>
                  <artifactItems>
                    <artifactItem>
                      <groupId>com.blazebit</groupId>
                      <artifactId>blaze-persistence-entity-view-impl</artifactId>
                      <version>1.6.11</version>
                      <type>jar</type>
                      <classifier>javadoc</classifier>
                      <overWrite>true</overWrite>
                      <outputDirectory>C:\Users\chris\Documents\GitHub\blaze-persistence\target\checkout\entity-view\impl-jar\target</outputDirectory>
                      <destFileName>blaze-persistence-entity-view-impl-jar-1.6.11-javadoc.jar</destFileName>
                    </artifactItem>
                  </artifactItems>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <version>3.0.0</version>
            <executions>
              <execution>
                <id>attach-artifacts</id>
                <phase>package</phase>
                <goals>
                  <goal>attach-artifact</goal>
                </goals>
                <configuration>
                  <artifacts>
                    <artifact>
                      <file>C:\Users\chris\Documents\GitHub\blaze-persistence\target\checkout\entity-view\impl-jar\target/blaze-persistence-entity-view-impl-jar-1.6.11-javadoc.jar</file>
                      <classifier>javadoc</classifier>
                      <type>jar</type>
                    </artifact>
                  </artifacts>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <properties>
    <module.name>com.blazebit.persistence.view.impl</module.name>
  </properties>
</project>
