<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://maven.apache.org/POM/4.0.0"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>io.annot8</groupId>
    <artifactId>annot8-components</artifactId>
    <version>1.1.0</version>
  </parent>

  <artifactId>annot8-conventions</artifactId>
  <version>1.1.0</version>
  <name>Annot8 Conventions</name>
  <description>Naming conventions for Annot8 projects, recommended for compatibility</description>

  <profiles>
    <profile>
      <id>plugins</id>
      <!-- 
        This profile is used to build JAR which contain all dependencies.
        But we don't want it to run on conventions as that's not a plugin,
        so instead we override shading here and skip it.
      --> 
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-shade-plugin</artifactId>
            <version>${maven-shade-plugin.version}</version>
            <executions>
              <execution>
                <phase>none</phase>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
