<?xml version="1.0" encoding="UTF-8"?>
<project 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.codehaus.griffon</groupId>
  <artifactId>application-master-pom</artifactId>
  <version>1.15.0</version>
  <packaging>pom</packaging>
  <name>${project.groupId}:${project.artifactId}</name>
  <description>Griffon Application Master POM</description>
  <url>http://griffon-framework.org</url>
  <inceptionYear>2008</inceptionYear>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <url>https://github.com/griffon/griffon</url>
  </scm>
  <developers>
    <developer>
      <id>aalmiray</id>
      <name>Andres Almiray</name>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
  </developers>
  <properties>
    <griffon.version>2.15.0</griffon.version>
    <groovy.version>2.4.15</groovy.version>
    <slf4j.version>1.7.25</slf4j.version>
    <spock.version>1.1-groovy-2.4</spock.version>
    <codenarc.version>0.21</codenarc.version>
    <spotbugs.version>3.1.0-RC3</spotbugs.version>
    <izpack-standalone.version>4.3.5</izpack-standalone.version>
    <izpack.staging.dir>${project.build.directory}/izpack</izpack.staging.dir>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <plugin.antrun.version>1.8</plugin.antrun.version>
    <plugin.appassembler.version>2.0.0</plugin.appassembler.version>
    <plugin.assembly.version>3.1.0</plugin.assembly.version>
    <plugin.buildhelper.version>3.0.0</plugin.buildhelper.version>
    <plugin.changes.version>2.12.1</plugin.changes.version>
    <plugin.checkstyle.version>2.17</plugin.checkstyle.version>
    <plugin.compiler.version>3.7.0</plugin.compiler.version>
    <plugin.coveralls.version>4.3.0</plugin.coveralls.version>
    <plugin.dependency.version>3.0.1</plugin.dependency.version>
    <plugin.exec.version>1.6.0</plugin.exec.version>
    <plugin.findbugs.version>3.0.5</plugin.findbugs.version>
    <plugin.git.commit.version>2.2.3</plugin.git.commit.version>
    <plugin.gmavenplus.version>1.6</plugin.gmavenplus.version>
    <plugin.javadoc.version>2.10.4</plugin.javadoc.version>
    <plugin.javafx.version>8.8.3</plugin.javafx.version>
    <plugin.jacoco.version>0.7.9</plugin.jacoco.version>
    <plugin.jdepend.version>2.0</plugin.jdepend.version>
    <plugin.jar.version>3.1.0</plugin.jar.version>
    <plugin.jxr.version>2.5</plugin.jxr.version>
    <plugin.osxappbundle.version>1.0.1</plugin.osxappbundle.version>
    <plugin.processor.version>3.3.2</plugin.processor.version>
    <plugin.project-info-reports.version>2.9</plugin.project-info-reports.version>
    <plugin.release.version>2.5.3</plugin.release.version>
    <plugin.shade.version>3.1.0</plugin.shade.version>
    <plugin.shade_ext_transformers.version>1.0.3</plugin.shade_ext_transformers.version>
    <plugin.site.version>3.6</plugin.site.version>
    <plugin.surefire.version>2.20</plugin.surefire.version>
    <plugin.versions.version>2.4</plugin.versions.version>
    <maven-checkstyle-plugin.configLocation>${project.basedir}/config/checkstyle/checkstyle.xml</maven-checkstyle-plugin.configLocation>
    <keystore.alias>example-user</keystore.alias>
    <keystore.password>example-password</keystore.password>
    <checkstyle.skip>false</checkstyle.skip>
    <codenarc.skip>true</codenarc.skip>
    <findbugs.skip>true</findbugs.skip>
    <javadocs.skip>false</javadocs.skip>
    <jacoco.skip>false</jacoco.skip>
    <pmd.skip>false</pmd.skip>
  </properties>
  <prerequisites>
    <maven>3.5.0</maven>
  </prerequisites>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-core</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-core-compile</artifactId>
        <version>${griffon.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-core-test</artifactId>
        <version>${griffon.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-groovy</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-groovy-compile</artifactId>
        <version>${griffon.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-swing</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-swing-groovy</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-fest-test</artifactId>
        <version>${griffon.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-javafx</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-javafx-groovy</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-javafx-test</artifactId>
        <version>${griffon.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-lanterna</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-lanterna-groovy</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-pivot</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-pivot-groovy</artifactId>
        <version>${griffon.version}</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-pivot-test</artifactId>
        <version>${griffon.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.griffon</groupId>
        <artifactId>griffon-guice</artifactId>
        <version>${griffon.version}</version>
        <scope>runtime</scope>
      </dependency>
      <dependency>
        <groupId>org.codehaus.groovy</groupId>
        <artifactId>groovy-all</artifactId>
        <version>${groovy.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.spockframework</groupId>
        <artifactId>spock-core</artifactId>
        <version>${spock.version}</version>
        <scope>test</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
    <finalName>${project.artifactId}-${project.version}</finalName>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>build-helper-maven-plugin</artifactId>
          <version>${plugin.buildhelper.version}</version>
          <executions>
            <execution>
              <id>add-source</id>
              <phase>generate-sources</phase>
              <goals>
                <goal>add-source</goal>
              </goals>
              <configuration>
                <sources>
                  <source>griffon-app/conf</source>
                  <source>griffon-app/controllers</source>
                  <source>griffon-app/models</source>
                  <source>griffon-app/services</source>
                  <source>griffon-app/views</source>
                  <source>griffon-app/lifecycle</source>
                </sources>
              </configuration>
            </execution>
            <execution>
              <id>add-resource</id>
              <phase>generate-resources</phase>
              <goals>
                <goal>add-resource</goal>
              </goals>
              <configuration>
                <resources>
                  <resource>
                    <directory>griffon-app/resources</directory>
                    <directory>griffon-app/i18n</directory>
                  </resource>
                </resources>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>${plugin.compiler.version}</version>
          <inherited>true</inherited>
          <configuration>
            <verbose>false</verbose>
            <fork>true</fork>
            <source>${maven.compiler.source}</source>
            <target>${maven.compiler.target}</target>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.gmavenplus</groupId>
          <artifactId>gmavenplus-plugin</artifactId>
          <version>${plugin.gmavenplus.version}</version>
          <inherited>true</inherited>
          <executions>
            <execution>
              <goals>
                <goal>compile</goal>
                <goal>compileTests</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <targetBytecode>${maven.compiler.target}</targetBytecode>
            <sources>
              <source>
                <directory>${project.basedir}/griffon-app</directory>
                <includes>
                  <include>conf/**/*.groovy</include>
                  <include>conf/**/*.java</include>
                  <include>controllers/**/*.groovy</include>
                  <include>controllers/**/*.java</include>
                  <include>models/**/*.groovy</include>
                  <include>models/**/*.java</include>
                  <include>services/**/*.groovy</include>
                  <include>services/**/*.java</include>
                  <include>views/**/*.groovy</include>
                  <include>views/**/*.java</include>
                  <include>lifecycle/**/*.groovy</include>
                  <include>lifecycle/**/*.java</include>
                </includes>
              </source>
              <source>
                <directory>${project.basedir}/src/main/groovy</directory>
                <includes>
                  <include>**/*.groovy</include>
                  <include>**/*.java</include>
                </includes>
              </source>
            </sources>
            <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.bsc.maven</groupId>
          <artifactId>maven-processor-plugin</artifactId>
          <version>${plugin.processor.version}</version>
          <inherited>true</inherited>
          <executions>
            <execution>
              <phase>process-sources</phase>
              <goals>
                <goal>process</goal>
              </goals>
              <configuration>
                <addCompileSourceRoots>true</addCompileSourceRoots>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>${plugin.jar.version}</version>
          <configuration>
            <archive>
              <manifestEntries>
                <Build-Jdk>${java.version} (${java.vendor} ${java.vm.version})</Build-Jdk>
                <Build-Timestamp>${git.build.time}</Build-Timestamp>
                <Build-Revision>${git.commit.id}</Build-Revision>
                <Build-OS>${os.name} ${os.arch} ${os.version}</Build-OS>
              </manifestEntries>
            </archive>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${plugin.surefire.version}</version>
          <inherited>true</inherited>
          <configuration>
            <includes>
              <include>**/*Test.*</include>
              <include>**/*Spec.*</include>
            </includes>
            <classpathDependencyExcludes>
              <classpathDependencyExclude>
                                org.codehaus.griffon:griffon-core-compile
                            </classpathDependencyExclude>
              <classpathDependencyExclude>
                                org.codehaus.griffon:griffon-groovy-compile
                            </classpathDependencyExclude>
            </classpathDependencyExcludes>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-report-plugin</artifactId>
          <version>${plugin.surefire.version}</version>
          <inherited>true</inherited>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-project-info-reports-plugin</artifactId>
          <version>${plugin.project-info-reports.version}</version>
          <inherited>true</inherited>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jxr-plugin</artifactId>
          <version>${plugin.jxr.version}</version>
          <inherited>true</inherited>
          <configuration>
            <aggregate>true</aggregate>
            <linkJavadoc>true</linkJavadoc>
            <javadocDir>${project.build.directory}/site/apidocs</javadocDir>
          </configuration>
          <executions>
            <execution>
              <phase>process-resources</phase>
              <goals>
                <goal>jxr</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <version>${plugin.checkstyle.version}</version>
          <inherited>true</inherited>
          <configuration>
            <skip>${checkstyle.skip}</skip>
            <configLocation>${maven-checkstyle-plugin.configLocation}</configLocation>
            <failsOnError>false</failsOnError>
            <enableRulesSummary>true</enableRulesSummary>
            <includeTestSourceDirectory>true</includeTestSourceDirectory>
          </configuration>
          <executions>
            <execution>
              <id>run-checkstyle</id>
              <phase>verify</phase>
              <goals>
                <goal>checkstyle</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>jdepend-maven-plugin</artifactId>
          <version>${plugin.jdepend.version}</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>findbugs-maven-plugin</artifactId>
          <version>${plugin.findbugs.version}</version>
          <inherited>true</inherited>
          <dependencies>
            <dependency>
              <groupId>com.github.spotbugs</groupId>
              <artifactId>spotbugs</artifactId>
              <version>${spotbugs.version}</version>
            </dependency>
          </dependencies>
          <configuration>
            <skip>${findbugs.skip}</skip>
            <maxHeap>512</maxHeap>
            <xmlOutput>true</xmlOutput>
            <includeTests>true</includeTests>
            <effort>max</effort>
            <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>${plugin.javadoc.version}</version>
          <inherited>true</inherited>
          <configuration>
            <skip>${javadocs.skip}</skip>
            <failOnError>false</failOnError>
            <splitindex>true</splitindex>
            <links>
              <link>http://www.slf4j.org/apidocs/</link>
              <link>http://junit.org/junit4/javadoc/latest/</link>
              <link>http://aalmiray.github.io/jsr-305/apidocs/</link>
              <link>http://javax-inject.github.io/javax-inject/api/</link>
              <link>http://docs.oracle.com/javase/8/docs/api/</link>
              <link>http://griffon-framework.org/guide/latest/api/</link>
            </links>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>versions-maven-plugin</artifactId>
          <version>${plugin.versions.version}</version>
          <inherited>true</inherited>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>${plugin.dependency.version}</version>
          <inherited>true</inherited>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>${plugin.release.version}</version>
          <inherited>true</inherited>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>${plugin.antrun.version}</version>
          <inherited>true</inherited>
          <executions>
            <execution>
              <id>post-site</id>
              <phase>site</phase>
              <goals>
                <goal>run</goal>
              </goals>
              <configuration>
                <tasks>
                  <ant antfile="maven/post-site.xml"/>
                </tasks>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>com.zenjava</groupId>
          <artifactId>javafx-maven-plugin</artifactId>
          <version>${plugin.javafx.version}</version>
          <inherited>true</inherited>
          <configuration>
            <mainClass>${application.main.class}</mainClass>
            <keyStoreAlias>${keystore.alias}</keyStoreAlias>
            <keyStorePassword>${keystore.password}</keyStorePassword>
            <vendor>${project.name}</vendor>
            <appName>${project.name}</appName>
            <allPermissions/>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-site-plugin</artifactId>
          <version>${plugin.site.version}</version>
          <inherited>true</inherited>
          <configuration>
            <attach>true</attach>
            <reportPlugins>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changes-plugin</artifactId>
                <version>${plugin.changes.version}</version>
                <reportSets>
                  <reportSet>
                    <reports>
                      <report>changes-report</report>
                    </reports>
                  </reportSet>
                </reportSets>
              </plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>${plugin.project-info-reports.version}</version>
                <configuration>
                  <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                  <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                </configuration>
                <reports>
                  <report>summary</report>
                  <report>cim</report>
                  <report>index</report>
                  <report>license</report>
                  <report>project-team</report>
                  <report>dependencies</report>
                  <report>dependency-convergence</report>
                  <report>issue-tracking</report>
                  <report>scm</report>
                  <report>modules</report>
                  <report>plugins</report>
                </reports>
              </plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>${plugin.checkstyle.version}</version>
                <configuration>
                  <skip>${checkstyle.skip}</skip>
                  <configLocation>${maven-checkstyle-plugin.configLocation}</configLocation>
                  <failsOnError>false</failsOnError>
                  <enableRulesSummary>true</enableRulesSummary>
                  <includeTestSourceDirectory>true</includeTestSourceDirectory>
                </configuration>
                <reportSets>
                  <reportSet>
                    <reports>
                      <report>checkstyle</report>
                    </reports>
                  </reportSet>
                </reportSets>
              </plugin>
              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jdepend-maven-plugin</artifactId>
                <version>${plugin.jdepend.version}</version>
              </plugin>
              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <version>${plugin.findbugs.version}</version>
                <configuration>
                  <skip>${findbugs.skip}</skip>
                  <maxHeap>512</maxHeap>
                  <includeTests>true</includeTests>
                  <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
                  <xrefTestLocation>xref-test</xrefTestLocation>
                  <xrefLocation>xref</xrefLocation>
                </configuration>
              </plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>${plugin.javadoc.version}</version>
              </plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
                <configuration>
                  <aggregate>true</aggregate>
                  <linkJavadoc>true</linkJavadoc>
                  <javadocDir>${project.build.directory}/site/apidocs</javadocDir>
                </configuration>
              </plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>${plugin.surefire.version}</version>
              </plugin>
              <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>${plugin.jacoco.version}</version>
                <configuration>
                  <skip>${jacoco.skip}</skip>
                </configuration>
              </plugin>
              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <version>${plugin.versions.version}</version>
                <configuration>
                  <skip>${versions.skip}</skip>
                </configuration>
                <reportSets>
                  <reportSet>
                    <reports>
                      <report>dependency-updates-report</report>
                      <report>plugin-updates-report</report>
                      <report>property-updates-report</report>
                    </reports>
                  </reportSet>
                </reportSets>
              </plugin>
            </reportPlugins>
          </configuration>
          <executions>
            <execution>
              <id>attach-descriptor</id>
              <goals>
                <goal>attach-descriptor</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.eluder.coveralls</groupId>
          <artifactId>coveralls-maven-plugin</artifactId>
          <version>${plugin.coveralls.version}</version>
          <inherited>true</inherited>
        </plugin>
        <plugin>
          <groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
          <version>${plugin.jacoco.version}</version>
          <inherited>true</inherited>
          <configuration>
            <skip>${jacoco.skip}</skip>
          </configuration>
          <executions>
            <execution>
              <id>prepare-agent</id>
              <goals>
                <goal>prepare-agent</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>pl.project13.maven</groupId>
          <artifactId>git-commit-id-plugin</artifactId>
          <version>${plugin.git.commit.version}</version>
          <executions>
            <execution>
              <id>get-the-git-infos</id>
              <goals>
                <goal>revision</goal>
              </goals>
              <phase>validate</phase>
            </execution>
          </executions>
          <configuration>
            <verbose>false</verbose>
            <failOnNoGitDirectory>false</failOnNoGitDirectory>
            <generateGitPropertiesFile>true</generateGitPropertiesFile>
            <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
            <dateFormat>yyyy-MM-dd'T'HH:mm:ss.SSSZ</dateFormat>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.bsc.maven</groupId>
        <artifactId>maven-processor-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>versions-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>pl.project13.maven</groupId>
        <artifactId>git-commit-id-plugin</artifactId>
      </plugin>
    </plugins>
    <resources>
      <resource>
        <directory>griffon-app/resources</directory>
        <filtering>true</filtering>
      </resource>
      <resource>
        <directory>griffon-app/i18n</directory>
        <filtering>true</filtering>
      </resource>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
  </build>
  <profiles>
    <profile>
      <id>binary</id>
      <build>
        <defaultGoal>package</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>appassembler-maven-plugin</artifactId>
            <version>${plugin.appassembler.version}</version>
            <configuration>
              <assembleDirectory>${project.build.directory}/binary</assembleDirectory>
              <repositoryLayout>flat</repositoryLayout>
              <repositoryName>lib</repositoryName>
              <extraJvmArguments>-Dgriffon.env=prod</extraJvmArguments>
              <programs>
                <program>
                  <mainClass>${application.main.class}</mainClass>
                  <id>${project.artifactId}</id>
                </program>
              </programs>
            </configuration>
            <executions>
              <execution>
                <id>make-distribution</id>
                <phase>package</phase>
                <goals>
                  <goal>assemble</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>distribution</id>
      <build>
        <defaultGoal>package</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-assembly-plugin</artifactId>
            <version>${plugin.assembly.version}</version>
            <configuration>
              <descriptors>
                <descriptor>maven/assembly-descriptor.xml</descriptor>
              </descriptors>
              <outputDirectory>${project.build.directory}/distributions</outputDirectory>
              <workDirectory>${project.build.directory}/assembly/work</workDirectory>
            </configuration>
            <executions>
              <execution>
                <id>make-distribution</id>
                <phase>package</phase>
                <goals>
                  <goal>single</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>izpack</id>
      <dependencies>
        <dependency>
          <groupId>org.codehaus.izpack</groupId>
          <artifactId>izpack-standalone-compiler</artifactId>
          <version>${izpack-standalone.version}</version>
          <optional>true</optional>
          <scope>provided</scope>
        </dependency>
      </dependencies>
      <build>
        <defaultGoal>process-sources</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <version>${plugin.antrun.version}</version>
            <executions>
              <execution>
                <id>process-sources</id>
                <phase>process-sources</phase>
                <goals>
                  <goal>run</goal>
                </goals>
                <configuration>
                  <target>
                    <ant antfile="maven/prepare-izpack.xml"/>
                  </target>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>run</id>
      <build>
        <defaultGoal>process-classes</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>${plugin.exec.version}</version>
            <inherited>true</inherited>
            <configuration>
              <mainClass>${application.main.class}</mainClass>
              <systemProperties>
                <systemProperty>
                  <key>griffon.env</key>
                  <value>dev</value>
                </systemProperty>
              </systemProperties>
            </configuration>
            <executions>
              <execution>
                <id>run-app</id>
                <phase>process-classes</phase>
                <goals>
                  <goal>java</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>shade</id>
      <build>
        <defaultGoal>package</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-shade-plugin</artifactId>
            <version>${plugin.shade.version}</version>
            <inherited>true</inherited>
            <configuration>
              <transformers>
                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                  <manifestEntries>
                    <Main-Class>${application.main.class}</Main-Class>
                  </manifestEntries>
                </transformer>
                <transformer implementation="org.kordamp.shade.resources.ServicesResourceTransformer"/>
                <transformer implementation="org.kordamp.shade.resources.ServicesResourceTransformer">
                  <path>META-INF/griffon</path>
                </transformer>
                <transformer implementation="org.kordamp.shade.resources.ServicesResourceTransformer">
                  <path>META-INF/types</path>
                </transformer>
                <transformer implementation="org.kordamp.shade.resources.PropertiesFileTransformer">
                  <paths>
                    <path>META-INF/editors/java.beans.PropertyEditor</path>
                  </paths>
                </transformer>
              </transformers>
            </configuration>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>shade</goal>
                </goals>
              </execution>
            </executions>
            <dependencies>
              <dependency>
                <groupId>org.kordamp.shade</groupId>
                <artifactId>maven-shade-ext-transformers</artifactId>
                <version>${plugin.shade_ext_transformers.version}</version>
              </dependency>
            </dependencies>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
