<?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/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>net.aequologica.neo</groupId>
    <artifactId>meios</artifactId>
    <version>0.7.2</version>

    <packaging>pom</packaging>

    <name>μείωση</name>

    <description>La méiose est une figure rhétorique euphémisante consistant à rapetisser l'importance d'une réalité qui est grande ou importante.</description>

    <url>http://aequologica.net/${project.artifactId}/</url>

    <licenses>
        <license>
            <name>MIT License</name>
            <url>http://www.opensource.org/licenses/mit-license.php</url>
        </license>
    </licenses>

    <organization>
        <name>aequologica</name>
        <url>https://github.com/aequologica</url>
    </organization>

    <developers>
        <developer>
            <id>cthiebaud</id>
            <name>Christophe Thiebaud</name>
            <email>christophe.thiebaud@aequologica.net</email>
            <url>https://github.com/cthiebaud</url>
            <organization>aequologica</organization>
            <organizationUrl>https://github.com/aequologica</organizationUrl>
        </developer>
    </developers>

    <scm>
        <connection>scm:git:https://github.com/aequologica/meios.git</connection>
        <developerConnection>scm:git:https://github.com/aequologica/meios.git</developerConnection>
        <url>https://github.com/aequologica/meios</url>
    </scm>

    <distributionManagement>

        <repository>
            <uniqueVersion>false</uniqueVersion>
            <id>local_releases</id>
            <url>${distributionManagement.repository.local_releases.url}</url>
            <layout>default</layout>
        </repository>
        <snapshotRepository>
            <!-- in my .m2/settings.xml, these two env values are expected: export CI_DEPLOY_USERNAME=cthiebaud export CI_DEPLOY_PASSWORD=<usual password> -->
            <uniqueVersion>false</uniqueVersion>
            <id>sonatype-nexus-snapshots</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <layout>default</layout>
        </snapshotRepository>

        <site>
            <!-- in my .m2/settings.xml, these two env values are expected: export GITHUB_USERNAME=cthiebaud export GITHUB_PASSWORD=<usual password> -->
            <id>aequologica.website</id>
            <name>Æquologica Website</name>
            <url>http://aequologica.net/meios/</url>
        </site>

    </distributionManagement>

    <pluginRepositories>
        <pluginRepository>
            <id>sonatype-nexus-plugin-snapshots</id>
            <name>Sonatype Nexus Plugin Snapshots</name>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <layout>default</layout>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
                <checksumPolicy>fail</checksumPolicy>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>net.aequologica.neo</groupId>
                <artifactId>holos</artifactId>
            <version>${holos.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>net.aequologica.neo</groupId>
            <artifactId>holos</artifactId>
            <version>${holos.version}</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>com.github.olivergondza</groupId>
            <artifactId>maven-jdk-tools-wrapper</artifactId>
            <version>0.1</version>
        </dependency>
    </dependencies>

    <properties>
        <holos.version>0.8.3</holos.version>

        <!-- cf. https://dzone.com/articles/stamping-version-number-and -->
        <timestamp>${maven.build.timestamp}</timestamp>
        <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss.SSSZZ</maven.build.timestamp.format>

        <distributionManagement.repository.local_releases.url>http://localhost:1082/nexus/content/repositories/releases/</distributionManagement.repository.local_releases.url>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

        <!-- http://maven.apache.org/plugins/maven-release-plugin/faq.html#credentials -->
        <project.scm.id>cthiebaud@github.com</project.scm.id>

        <!-- https://github.com/github/maven-plugins -->
        <github.global.server>cthiebaud@github.com</github.global.server>

        <!-- BEGIN version properties
             each property should be in the form 
             ([a-z][0-9a-z\-_]*\.)+(\.|\.([a-z][0-9a-z\-_]*\.)+)(\.version)
        -->
        <ant-contrib..ant-contrib..version>1.0b3</ant-contrib..ant-contrib..version>
        <au.com.alderaan..eclipselink-staticweave-maven-plugin..version>1.0.4</au.com.alderaan..eclipselink-staticweave-maven-plugin..version>
        <com.amashchenko.maven.plugin..gitflow-maven-plugin..version>1.11.0</com.amashchenko.maven.plugin..gitflow-maven-plugin..version>
        <com.github.github..site-maven-plugin..version>0.12</com.github.github..site-maven-plugin..version>
        <com.heroku.sdk..heroku-maven-plugin..version>2.0.7</com.heroku.sdk..heroku-maven-plugin..version>
        <com.sap.cloud..neo-java-web..version>3.77.10</com.sap.cloud..neo-java-web..version>
        <com.sebastian-daschner..jaxrs-analyzer-maven-plugin..version>0.17</com.sebastian-daschner..jaxrs-analyzer-maven-plugin..version>
        <de.empulse.eclipselink..staticweave-maven-plugin..version>1.0.0</de.empulse.eclipselink..staticweave-maven-plugin..version>
        <external.atlassian.jgitflow..jgitflow-maven-plugin..version>1.0-m5.1</external.atlassian.jgitflow..jgitflow-maven-plugin..version>
        <lt.velykis.maven.skins...version>1.1.1</lt.velykis.maven.skins...version>
        <maven-antrun-plugin...version>1.8</maven-antrun-plugin...version>
        <maven-assembly-plugin...version>3.1.1</maven-assembly-plugin...version>
        <maven-changelog-plugin...version>2.3</maven-changelog-plugin...version>
        <maven-changes-plugin...version>2.12.1</maven-changes-plugin...version>
        <maven-checkstyle-plugin...version>3.0.0</maven-checkstyle-plugin...version>
        <maven-clean-plugin...version>3.1.0</maven-clean-plugin...version>
        <maven-compiler-plugin...version>3.8.0</maven-compiler-plugin...version>
        <maven-dependency-plugin...version>3.1.1</maven-dependency-plugin...version>
        <maven-deploy-plugin...version>3.0.0-M1</maven-deploy-plugin...version>
        <maven-enforcer-plugin...version>3.0.0-M2</maven-enforcer-plugin...version>
        <maven-failsafe-plugin...version>3.0.0-M3</maven-failsafe-plugin...version>
        <maven-gpg-plugin...version>1.6</maven-gpg-plugin...version>
        <maven-help-plugin...version>3.1.1</maven-help-plugin...version>
        <maven-install-plugin...version>3.0.0-M1</maven-install-plugin...version>
        <maven-invoker-plugin...version>3.2.0</maven-invoker-plugin...version>
        <maven-jar-plugin...version>3.1.1</maven-jar-plugin...version>
        <maven-javadoc-plugin...version>3.1.0</maven-javadoc-plugin...version>
        <maven-plugin-plugin...version>3.6.0</maven-plugin-plugin...version>
        <maven-project-info-reports-plugin...version>2.9</maven-project-info-reports-plugin...version>
        <maven-release-plugin...version>2.5.3</maven-release-plugin...version>
        <maven-resources-plugin...version>3.1.0</maven-resources-plugin...version>
        <maven-scm-plugin...version>1.11.2</maven-scm-plugin...version>
        <maven-shade-plugin...version>3.2.1</maven-shade-plugin...version>
        <maven-site-plugin...version>3.7.1</maven-site-plugin...version>
        <maven-source-plugin...version>3.0.1</maven-source-plugin...version>
        <maven-surefire-plugin...version>3.0.0-M3</maven-surefire-plugin...version>
        <maven-surefire-report-plugin...version>3.0.0-M3</maven-surefire-report-plugin...version>
        <maven-toolchains-plugin...version>1.1</maven-toolchains-plugin...version>
        <maven-verifier-plugin...version>1.1</maven-verifier-plugin...version>
        <maven-war-plugin...version>3.2.2</maven-war-plugin...version>
        <net.orfjackal.retrolambda..retrolambda-maven-plugin..version>2.5.6</net.orfjackal.retrolambda..retrolambda-maven-plugin..version>
        <org.apache.ant..ant-nodeps..version>1.8.1</org.apache.ant..ant-nodeps..version>
        <org.apache.velocity...version>1.7</org.apache.velocity...version>
        <org.bsc.maven..maven-processor-plugin..version>3.3.3</org.bsc.maven..maven-processor-plugin..version>
        <org.codehaus.mojo..build-helper-maven-plugin..version>3.0.0</org.codehaus.mojo..build-helper-maven-plugin..version>
        <org.codehaus.mojo..buildnumber-maven-plugin..version>1.4</org.codehaus.mojo..buildnumber-maven-plugin..version>
        <org.codehaus.mojo..cobertura-maven-plugin..version>2.7</org.codehaus.mojo..cobertura-maven-plugin..version>
        <org.codehaus.mojo..cobertura-maven-plugin..version>2.7</org.codehaus.mojo..cobertura-maven-plugin..version>
        <org.codehaus.mojo..exec-maven-plugin..version>1.6.0</org.codehaus.mojo..exec-maven-plugin..version>
        <org.codehaus.mojo..findbugs-maven-plugin..version>3.0.5</org.codehaus.mojo..findbugs-maven-plugin..version>
        <org.codehaus.mojo..versions-maven-plugin..version>2.7</org.codehaus.mojo..versions-maven-plugin..version>
        <org.codehaus.plexus..plexus-compiler..version>2.8.5</org.codehaus.plexus..plexus-compiler..version>
        <org.codehaus.plexus..plexus-component-metadata..version>2.0.0</org.codehaus.plexus..plexus-component-metadata..version>
        <org.eclipse.m2e..lifecycle-mapping..version>1.0.0</org.eclipse.m2e..lifecycle-mapping..version>
        <org.eclipse.persistence..eclipselink..version>2.7.4</org.eclipse.persistence..eclipselink..version>
        <org.eclipse.sisu..sisu-maven-plugin..version>0.3.3</org.eclipse.sisu..sisu-maven-plugin..version>
        <org.hibernate..hibernate-jpamodelgen..version>5.4.2.Final</org.hibernate..hibernate-jpamodelgen..version>
        <org.sonatype.plugins..nexus-staging-maven-plugin..version>1.6.8</org.sonatype.plugins..nexus-staging-maven-plugin..version>
        <pl.project13.maven..git-commit-id-plugin..version>2.2.6</pl.project13.maven..git-commit-id-plugin..version>

        <!-- END version properties -->

    </properties>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-antrun-plugin</artifactId>
                    <version>${maven-antrun-plugin...version}</version>
                    <dependencies>
                        <dependency>
                            <groupId>ant-contrib</groupId>
                            <artifactId>ant-contrib</artifactId>
                            <version>${ant-contrib..ant-contrib..version}</version>
                            <exclusions>
                                <exclusion>
                                    <groupId>ant</groupId>
                                    <artifactId>ant</artifactId>
                                </exclusion>
                            </exclusions>
                        </dependency>
                        <dependency>
                            <groupId>org.apache.ant</groupId>
                            <artifactId>ant-nodeps</artifactId>
                            <version>${org.apache.ant..ant-nodeps..version}</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>${maven-assembly-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-changelog-plugin</artifactId>
                    <version>${maven-changelog-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-changes-plugin</artifactId>
                    <version>${maven-changes-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>${maven-checkstyle-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>${maven-clean-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${maven-compiler-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>${maven-dependency-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>${maven-deploy-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-enforcer-plugin</artifactId>
                    <version>${maven-enforcer-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>${maven-failsafe-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-gpg-plugin</artifactId>
                    <version>${maven-gpg-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-help-plugin</artifactId>
                    <version>${maven-help-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>${maven-install-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-invoker-plugin</artifactId>
                    <version>${maven-invoker-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>${maven-jar-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>${maven-javadoc-plugin...version}</version>
                    <!-- http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete -->
                    <configuration>
                        <doclint>none</doclint>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-plugin-plugin</artifactId>
                    <version>${maven-plugin-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>${maven-release-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>${maven-resources-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-scm-plugin</artifactId>
                    <version>${maven-scm-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-shade-plugin</artifactId>
                    <version>${maven-shade-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>${maven-site-plugin...version}</version>
                    <dependencies>
                        <dependency>
                            <groupId>lt.velykis.maven.skins</groupId>
                            <artifactId>reflow-velocity-tools</artifactId>
                            <version>${lt.velykis.maven.skins...version}</version>
                        </dependency>
                        <!-- Reflow skin requires Velocity >= 1.7 -->
                        <dependency>
                            <groupId>org.apache.velocity</groupId>
                            <artifactId>velocity</artifactId>
                            <version>${org.apache.velocity...version}</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>${maven-source-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${maven-surefire-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-surefire-report-plugin</artifactId>
                    <version>${maven-surefire-report-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-toolchains-plugin</artifactId>
                    <version>${maven-toolchains-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-verifier-plugin</artifactId>
                    <version>${maven-verifier-plugin...version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-war-plugin</artifactId>
                    <version>${maven-war-plugin...version}</version>
                </plugin>
                <plugin>
                    <groupId>au.com.alderaan</groupId>
                    <artifactId>eclipselink-staticweave-maven-plugin</artifactId>
                    <version>${au.com.alderaan..eclipselink-staticweave-maven-plugin..version}</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.eclipse.persistence</groupId>
                            <artifactId>eclipselink</artifactId>
                            <version>${org.eclipse.persistence..eclipselink..version}</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <groupId>com.amashchenko.maven.plugin</groupId>
                    <artifactId>gitflow-maven-plugin</artifactId>
                    <version>${com.amashchenko.maven.plugin..gitflow-maven-plugin..version}</version>
                    <configuration>
                        <!-- optional configuration -->
                        <gitFlowConfig>
                            <productionBranch>master</productionBranch>
                            <developmentBranch>develop</developmentBranch>
                        </gitFlowConfig>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>com.github.github</groupId>
                    <artifactId>site-maven-plugin</artifactId>
                    <version>${com.github.github..site-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>com.heroku.sdk</groupId>
                    <artifactId>heroku-maven-plugin</artifactId>
                    <version>${com.heroku.sdk..heroku-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>com.sap.cloud</groupId>
                    <artifactId>neo-java-web-maven-plugin</artifactId>
                    <version>${com.sap.cloud..neo-java-web..version}</version>
                </plugin>
                <plugin>
                    <groupId>com.sebastian-daschner</groupId>
                    <artifactId>jaxrs-analyzer-maven-plugin</artifactId>
                    <version>${com.sebastian-daschner..jaxrs-analyzer-maven-plugin..version}</version>
                    <configuration>
                        <!-- Available backends are plaintext (default), swagger and asciidoc -->
                        <backend>swagger</backend>
                        <!--  Domain of the deployed project, defaults to "" -->
                        <deployedDomain />
                        <swaggerSchemes>HTTPS</swaggerSchemes>
                        <renderSwaggerTags>true</renderSwaggerTags>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>de.empulse.eclipselink</groupId>
                    <artifactId>staticweave-maven-plugin</artifactId>
                    <version>${de.empulse.eclipselink..staticweave-maven-plugin..version}</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.eclipse.persistence</groupId>
                            <artifactId>org.eclipse.persistence.jpa</artifactId>
                            <version>${org.eclipse.persistence..eclipselink..version}</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <groupId>external.atlassian.jgitflow</groupId>
                    <artifactId>jgitflow-maven-plugin</artifactId>
                    <version>${external.atlassian.jgitflow..jgitflow-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>net.orfjackal.retrolambda</groupId>
                    <artifactId>retrolambda-maven-plugin</artifactId>
                    <version>${net.orfjackal.retrolambda..retrolambda-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.bsc.maven</groupId>
                    <artifactId>maven-processor-plugin</artifactId>
                    <version>${org.bsc.maven..maven-processor-plugin..version}</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.hibernate</groupId>
                            <artifactId>hibernate-jpamodelgen</artifactId>
                            <version>${org.hibernate..hibernate-jpamodelgen..version}</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>${org.codehaus.mojo..build-helper-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>buildnumber-maven-plugin</artifactId>
                    <version>${org.codehaus.mojo..buildnumber-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>cobertura-maven-plugin</artifactId>
                    <version>${org.codehaus.mojo..cobertura-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>exec-maven-plugin</artifactId>
                    <version>${org.codehaus.mojo..exec-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>findbugs-maven-plugin</artifactId>
                    <version>${org.codehaus.mojo..findbugs-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>versions-maven-plugin</artifactId>
                    <version>${org.codehaus.mojo..versions-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.plexus</groupId>
                    <artifactId>plexus-component-metadata</artifactId>
                    <version>${org.codehaus.plexus..plexus-component-metadata..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.eclipse.sisu</groupId>
                    <artifactId>sisu-maven-plugin</artifactId>
                    <version>${org.eclipse.sisu..sisu-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>org.sonatype.plugins</groupId>
                    <artifactId>nexus-staging-maven-plugin</artifactId>
                    <version>${org.sonatype.plugins..nexus-staging-maven-plugin..version}</version>
                </plugin>
                <plugin>
                    <groupId>pl.project13.maven</groupId>
                    <artifactId>git-commit-id-plugin</artifactId>
                    <version>${pl.project13.maven..git-commit-id-plugin..version}</version>
                </plugin>
                <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
                <plugin>
                    <groupId>org.eclipse.m2e</groupId>
                    <artifactId>lifecycle-mapping</artifactId>
                    <version>${org.eclipse.m2e..lifecycle-mapping..version}</version>
                    <configuration>
                        <lifecycleMappingMetadata>
                            <pluginExecutions>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>au.com.alderaan</groupId>
                                        <artifactId>eclipselink-staticweave-maven-plugin</artifactId>
                                        <versionRange>[1.0.4,)</versionRange>
                                        <goals>
                                            <goal>weave</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <execute>
                                            <runOnIncremental>true</runOnIncremental>
                                            <runOnConfiguration>false</runOnConfiguration>
                                        </execute>
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>com.sebastian-daschner</groupId>
                                        <artifactId>jaxrs-analyzer-maven-plugin</artifactId>
                                        <versionRange>[0.9,)</versionRange>
                                        <goals>
                                            <goal>analyze-jaxrs</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <execute>
                                            <runOnIncremental>false</runOnIncremental>
                                            <runOnConfiguration>false</runOnConfiguration>
                                        </execute>
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-antrun-plugin</artifactId>
                                        <versionRange>[1.8,)</versionRange>
                                        <goals>
                                            <goal>run</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <execute>
                                            <runOnIncremental>false</runOnIncremental>
                                            <runOnConfiguration>false</runOnConfiguration>
                                        </execute>
                                    </action>
                                </pluginExecution>
                            </pluginExecutions>
                        </lifecycleMappingMetadata>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>io.takari.maven.plugins</groupId>
                    <artifactId>takari-lifecycle-plugin</artifactId>
                    <version>1.13.9</version>
                </plugin>

            </plugins>
        </pluginManagement>

        <plugins>
            <!--
            <plugin>
                <groupId>io.takari.maven.plugins</groupId>
                <artifactId>takari-lifecycle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    < ! - - accessRulesViolation>error</accessRulesViolation>
                    <compilerId>jdt</compilerId - - >
                    <proc>proc</proc>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
            -->

            <plugin>
                <artifactId>maven-enforcer-plugin</artifactId>
                <executions>
                    <execution>
                        <id>enforce-versions</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <rules>
                        <requireJavaVersion>
                            <version>[1.8,)</version>
                        </requireJavaVersion>
                        <requireMavenVersion>
                            <version>[3.5.4,)</version>
                        </requireMavenVersion>
                        <!-- DependencyConvergence / -->
                    </rules>
                </configuration>
            </plugin>
            
            <!-- cf. http://stackoverflow.com/questions/283489/is-there-a-way-to-hide-maven-2-target-folder-in-eclipse-3 -->
            <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <configuration>
                    <excludeDefaultDirectories>true</excludeDefaultDirectories>
                    <filesets>
                        <!-- delete target folder contents, but not target folder itself -->
                        <fileset>
                            <directory>target</directory>
                            <includes>
                                <include>**/*</include>
                            </includes>
                        </fileset>
                    </filesets>
                </configuration>
            </plugin>

            <!-- default is java 8. -->
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>

            <!-- generate plugin descriptor -->
            <plugin>
                <artifactId>maven-plugin-plugin</artifactId>
                <executions>
                    <execution>
                        <phase />
                    </execution>
                </executions>
            </plugin>

            <!-- generates plexus components.xml descriptor from source (javadoc) or class annotations -->
            <plugin>
                <groupId>org.codehaus.plexus</groupId>
                <artifactId>plexus-component-metadata</artifactId>
                <executions>
                    <execution>
                        <phase />
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <phase />
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <executions>
                    <execution>
                        <phase />
                    </execution>
                </executions>
                <!-- http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete -->
                <configuration>
                    <doclint>none</doclint>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <executions>
                    <execution>
                        <phase />
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                        <manifestEntries>
                            <Build-Time>${maven.build.timestamp}</Build-Time>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <!-- no default value -->
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                    <dependentWarExcludes>WEB-INF/web.xml,WEB-INF/lib/*geppaequo*.*,WEB-INF/lib/geppaequo*.*,WEB-INF/classes/META-INF/persistence.xml,META-INF/persistence.xml</dependentWarExcludes>
                    <outputFileNameMapping>@{groupId}@...@{artifactId}@-@{version}@@{dashClassifier?}@.@{extension}@</outputFileNameMapping>
                    <attachClasses>true</attachClasses>
                    <!-- cf. http://goo.gl/OV8Cu9 -->
                    <packagingExcludes>*.png, META-INF/MANIFEST.MF, WEB-INF/lib/*slf4j-*.jar,WEB-INF/lib/*log4j-*.jar,WEB-INF/lib/*commons-logging-*.jar</packagingExcludes>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                        <manifestEntries>
                            <Build-Time>${maven.build.timestamp}</Build-Time>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
                <configuration>
                    <!-- cf. http://jira.codehaus.org/browse/SUREFIRE-951 -->
                    <forkCount>0</forkCount>
                    <argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <!-- cf. http://jira.codehaus.org/browse/SUREFIRE-951 -->
                    <forkCount>0</forkCount>
                    <argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
                </configuration>
            </plugin>

            <!-- https://github.com/ktoso/maven-git-commit-id-plugin -->
            <plugin>
                <groupId>pl.project13.maven</groupId>
                <artifactId>git-commit-id-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>revision</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <!-- true is default here, it prints some more information during the build -->
                    <verbose>false</verbose>
                    <!-- this is false by default, forces the plugin to generate the git.properties file -->
                    <generateGitPropertiesFile>true</generateGitPropertiesFile>
                    <!-- The path for the to be generated properties file, it's relative to ${project.basedir} -->
                    <generateGitPropertiesFilename>target/classes/META-INF/resources/metadata/${project.groupId}/${project.artifactId}/git.properties</generateGitPropertiesFilename>
                    <!-- true by default, controls whether the plugin will fail when no .git directory is found, when set to false the plugin
                        will just skip execution -->
                    <!-- @since 2.0.4 -->
                    <failOnNoGitDirectory>false</failOnNoGitDirectory>
                    <!-- this is true by default; You may want to set this to false, if the plugin should run inside a <packaging>pom</packaging>
                        project. Most projects won't need to override this property. For an use-case for this kind of behaviour see: https://github.com/ktoso/maven-git-commit-id-plugin/issues/21 -->
                    <skipPoms>false</skipPoms>
                    <!-- @since 2.1.0 -->
                    <!-- read up about git-describe on the in man, or it's homepage - it's a really powerful versioning helper and the recommended
                        way to use git-commit-id-plugin. The configuration bellow is optional, by default describe will run "just like git-describe on the command line",
                        even though it's a JGit reimplementation. -->
                    <gitDescribe>
                        <!-- https://github.com/ktoso/maven-git-commit-id-plugin/issues/61#issuecomment-27995746 -->
                        <!-- don't generate the describe property -->
                        <skip>true</skip>
                    </gitDescribe>
                    <!-- ISO date format, as described in http://joda-time.sourceforge.net/userguide.html -->
                    <dateFormat>yyyy-MM-dd'T'HH:mm:ss.SSSZZ</dateFormat>
                </configuration>
            </plugin>

            <!-- http://mojo.codehaus.org/build-helper-maven-plugin/ -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <!-- http://stackoverflow.com/a/39139979/1070215 -->
                        <id>build-helper-regex-is-snapshot-used</id>
                        <phase>validate</phase>
                        <goals>
                            <goal>regex-property</goal>
                        </goals>
                        <configuration>
                            <name>is.snapshot</name>
                            <value>${project.version}</value>
                            <regex>.*-SNAPSHOT</regex>
                            <replacement>true</replacement>
                            <failIfNoMatch>false</failIfNoMatch>
                        </configuration>
                    </execution>
                    <execution>
                        <id>attach-artifacts</id>
                        <phase>package</phase>
                        <goals>
                            <goal>attach-artifact</goal>
                        </goals>
                        <configuration>
                            <artifacts>
                                <artifact>
                                    <file>target/classes/META-INF/resources/metadata/${project.groupId}/${project.artifactId}/git.properties</file>
                                    <type>properties</type>
                                    <classifier>git</classifier>
                                </artifact>
                            </artifacts>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!-- https://bitbucket.org/atlassian/jgit-flow/wiki/Home -->
            <plugin>
                <groupId>external.atlassian.jgitflow</groupId>
                <artifactId>jgitflow-maven-plugin</artifactId>
                <configuration>
                    <!-- see goals wiki page for configuration options -->
                </configuration>
            </plugin>

            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <id>1</id>
                        <phase>generate-resources</phase>
                        <configuration>
                            <target name="generate_maven_properties_in_jar">

<ac:if xmlns:ac="antlib:net.sf.antcontrib">
<equals arg1="${project.packaging}" arg2="jar" />
<then>
<echo file="${project.build.outputDirectory}/META-INF/resources/metadata/${project.groupId}/${project.artifactId}/build.properties" append="false">version=${project.version}
timestamp=${timestamp}
</echo>
</then>
<else>
<echo>
not a jar: doing nothing.
</echo>
</else>
</ac:if>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>2</id>
                        <phase>prepare-package</phase>
                        <configuration>
                            <target name="copy_swagger_json_2_jar_or_war">


<ac:if xmlns:ac="antlib:net.sf.antcontrib">
    <equals arg1="${project.packaging}" arg2="war" />
    <then>
        <copy failonerror="false" file="${project.build.directory}/jaxrs-analyzer/swagger.json" tofile="${project.build.directory}/${project.build.finalName}/swaggers/${project.groupId}/${project.artifactId}/swagger.json" />
    </then>
    <else>
        <ac:if>
        <equals arg1="${project.packaging}" arg2="jar" />
        <then>
        <copy failonerror="false" file="${project.build.directory}/jaxrs-analyzer/swagger.json" tofile="${project.build.outputDirectory}/META-INF/resources/swaggers/${project.groupId}/${project.artifactId}/swagger.json" />
        </then>
        <else>
            <echo>
            neither a jar, nor a war: doing nothing.
            </echo>
        </else>
        </ac:if>
    </else>
</ac:if>



                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

        </plugins>

        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
                <includes>
                    <include>**/build.properties</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>false</filtering>
                <excludes>
                    <exclude>**/build.properties</exclude>
                </excludes>
            </resource>
        </resources>

    </build>

    <reporting>
        <plugins>
            <plugin>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>${maven-project-info-reports-plugin...version}</version>
                <configuration>
                    <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                    <!-- waiting for MPIR-267 -->
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-plugin-plugin</artifactId>
                <version>${maven-plugin-plugin...version}</version>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>${maven-surefire-report-plugin...version}</version>
            </plugin>
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>${maven-javadoc-plugin...version}</version>
                <!-- http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete -->
                <configuration>
                    <doclint>none</doclint>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <version>${org.codehaus.mojo..versions-maven-plugin..version}</version>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <version>${org.codehaus.mojo..findbugs-maven-plugin..version}</version>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>${org.codehaus.mojo..cobertura-maven-plugin..version}</version>
            </plugin>
            <plugin>
                <groupId>org.eclipse.sisu</groupId>
                <artifactId>sisu-maven-plugin</artifactId>
                <version>${org.eclipse.sisu..sisu-maven-plugin..version}</version>
            </plugin>
        </plugins>
    </reporting>

    <profiles>
        <profile>
            <id>i051108</id>
            <properties>
                <target.host>hanatrial.ondemand.com</target.host>
                <target.account>i051108trial</target.account>
            </properties>
        </profile>

        <profile>
            <!-- site -->
            <id>site</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <!-- create site as a jar with a 'site' classifier
                    <plugin>
                        <artifactId>maven-site-plugin</artifactId>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <id>site-jar</id>
                                <goals>
                                    <goal>attach-descriptor</goal>
                                    <goal>site</goal>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                        <dependencies>
                            <dependency>
                                <groupId>org.apache.maven.doxia</groupId>
                                <artifactId>doxia-module-markdown</artifactId>
                                <version>1.7</version>
                            </dependency>
                        </dependencies>
                        <configuration>
                            <stagingDirectory>/tmp/stage</stagingDirectory>
                            <skipDeploy>false</skipDeploy>
                            <outputEncoding>UTF-8</outputEncoding>
                            <generateSitemap>true</generateSitemap>
                            <finalName>${project.artifactId}-${project.version}</finalName>
                            <jarOutputDirectory>${project.build.directory}</jarOutputDirectory>
                            <attach>true</attach>
                        </configuration>
                    </plugin>
                    -->
                </plugins>
            </build>
        </profile>

        <profile>
            <id>m2e</id>
            <!-- This profile is only active when the property "m2e.version" is set, which is the case when building in Eclipse with m2e. -->
            <activation>
                <property>
                    <name>m2e.version</name>
                </property>
            </activation>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>pl.project13.maven</groupId>
                            <artifactId>git-commit-id-plugin</artifactId>
                            <executions>
                                <execution>
                                    <phase />
                                </execution>
                            </executions>
                        </plugin>
                        <plugin>
                            <artifactId>maven-plugin-plugin</artifactId>
                            <executions>
                                <execution>
                                    <phase />
                                </execution>
                            </executions>
                        </plugin>
                        <plugin>
                            <groupId>org.codehaus.plexus</groupId>
                            <artifactId>plexus-component-metadata</artifactId>
                            <executions>
                                <execution>
                                    <phase />
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>

        <profile>
            <id>snapshotFreeZone</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-enforcer-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>enforce-no-snapshots</id>
                                <goals>
                                    <goal>enforce</goal>
                                </goals>
                                <configuration>
                                    <rules>
                                        <requireReleaseDeps>
                                            <message>No Snapshots
                                                Allowed!</message>
                                        </requireReleaseDeps>
                                    </rules>
                                    <fail>true</fail>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>not-eclipse</id>
            <activation>
                <property>
                    <name>!m2e.version</name>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-compiler-plugin</artifactId>
                        <configuration>
                            <source>1.8</source>
                            <target>1.8</target>
                            <compilerId>eclipse</compilerId>
                        </configuration>
                        <dependencies>
                            <dependency>
                                <groupId>org.codehaus.plexus</groupId>
                                <artifactId>plexus-compiler-eclipse</artifactId>
                                <version>${org.codehaus.plexus..plexus-compiler..version}</version>
                            </dependency>
                            <dependency>
                                <groupId>org.codehaus.plexus</groupId>
                                <artifactId>plexus-compiler-api</artifactId>
                                <version>${org.codehaus.plexus..plexus-compiler..version}</version>
                                <exclusions>
                                    <exclusion>
                                        <groupId>org.codehaus.plexus</groupId>
                                        <artifactId>plexus-component-api</artifactId>
                                    </exclusion>
                                </exclusions>
                            </dependency>
                            <dependency>
                                <groupId>org.codehaus.plexus</groupId>
                                <artifactId>plexus-compiler-manager</artifactId>
                                <version>${org.codehaus.plexus..plexus-compiler..version}</version>
                                <exclusions>
                                    <exclusion>
                                        <groupId>org.codehaus.plexus</groupId>
                                        <artifactId>plexus-component-api</artifactId>
                                    </exclusion>
                                </exclusions>
                            </dependency>
                            <dependency>
                                <groupId>org.codehaus.plexus</groupId>
                                <artifactId>plexus-compiler-javac</artifactId>
                                <version>${org.codehaus.plexus..plexus-compiler..version}</version>
                                <scope>runtime</scope>
                                <exclusions>
                                    <exclusion>
                                        <groupId>org.codehaus.plexus</groupId>
                                        <artifactId>plexus-component-api</artifactId>
                                    </exclusion>
                                </exclusions>
                            </dependency>
                        </dependencies>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>snapshot</id>
            <activation>
                <property>
                    <name>!performRelease</name>
                </property>
            </activation>
            <repositories>
                <repository>
                    <id>java.net-snapshot</id>
                    <url>https://maven.java.net/content/repositories/snapshots/</url>
                    <snapshots />
                </repository>
                <repository>
                    <id>sonatype-nexus-snapshots</id>
                    <name>Sonatype Snpashots</name>
                    <snapshots>
                        <enabled>true</enabled>
                        <updatePolicy>daily</updatePolicy>
                        <checksumPolicy>fail</checksumPolicy>
                    </snapshots>
                    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                </repository>
            </repositories>
        </profile>

        <profile>
            <id>source_javadoc_gpg</id>
            <activation>
                <property>
                    <name>performRelease</name>
                </property>
            </activation>
            <properties>
                <gpg.executable>gpg2</gpg.executable>
            </properties>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <version>${maven-javadoc-plugin...version}</version>
                            <!-- http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete -->
                            <configuration>
                                <doclint>none</doclint>
                            </configuration>
                        </plugin>
                        <plugin>
                            <artifactId>maven-source-plugin</artifactId>
                            <version>${maven-source-plugin...version}</version>
                        </plugin>
                    </plugins>
                </pluginManagement>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <doclint>none</doclint>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.sonatype.plugins</groupId>
                        <artifactId>nexus-staging-maven-plugin</artifactId>
                        <extensions>true</extensions>
                        <configuration>
                            <!-- The Base URL of Nexus instance where we want to stage -->
                            <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                            <!-- The server "id" element from settings to use authentication from -->
                            <serverId>sonatype-nexus</serverId>
                            <!-- as recommended in http://central.sonatype.org/pages/apache-maven.html -->
                            <autoReleaseAfterClose>true</autoReleaseAfterClose>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>

    </profiles>

</project>
