1442 lines
66 KiB
XML
1442 lines
66 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Waffle (https://github.com/Waffle/waffle)
|
|
|
|
Copyright (c) 2010-2018 Application Security, Inc.
|
|
|
|
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse
|
|
Public License v1.0 which accompanies this distribution, and is available at
|
|
https://www.eclipse.org/legal/epl-v10.html.
|
|
|
|
Contributors: Application Security, Inc.
|
|
|
|
-->
|
|
<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>com.github.waffle</groupId>
|
|
<artifactId>waffle-parent</artifactId>
|
|
<version>1.9.1</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>waffle-parent</name>
|
|
<description>Parent POM for WAFFLE</description>
|
|
<url>https://waffle.github.io/waffle/</url>
|
|
<inceptionYear>2010</inceptionYear>
|
|
<organization>
|
|
<name>com.github.waffle</name>
|
|
<url>https://github.com/waffle/</url>
|
|
</organization>
|
|
<licenses>
|
|
<license>
|
|
<name>Eclipse Public License</name>
|
|
<url>https://raw.github.com/Waffle/waffle/master/LICENSE</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>dblock</id>
|
|
<name>Daniel Doubrovkine</name>
|
|
<email>dblock@dblock.org</email>
|
|
<url>https://github.com/dblock/</url>
|
|
<organization>dblock</organization>
|
|
<organizationUrl>http://code.dblock.org</organizationUrl>
|
|
<roles>
|
|
<role>Architect</role>
|
|
<role>Developer</role>
|
|
</roles>
|
|
<timezone>-5</timezone>
|
|
<properties>
|
|
<picUrl>https://avatars3.githubusercontent.com/u/542335?s=400</picUrl>
|
|
</properties>
|
|
</developer>
|
|
</developers>
|
|
<contributors>
|
|
<contributor>
|
|
<name>Jeremy Landis</name>
|
|
<email>jeremylandis@hotmail.com</email>
|
|
<url>https://www.linkedin.com/in/jeremy-landis-548b2719</url>
|
|
<organization>hazendaz</organization>
|
|
<organizationUrl>https://github.com/hazendaz</organizationUrl>
|
|
<roles>
|
|
<role>Developer</role>
|
|
</roles>
|
|
<timezone>-5</timezone>
|
|
<properties>
|
|
<picUrl>https://media.licdn.com/mpr/mpr/shrinknp_200_200/p/1/000/128/174/30cff69.jpg</picUrl>
|
|
</properties>
|
|
</contributor>
|
|
</contributors>
|
|
|
|
<modules>
|
|
<module>waffle-demo</module>
|
|
<module>waffle-distro</module>
|
|
<module>waffle-jetty</module>
|
|
<module>waffle-jna</module>
|
|
<module>waffle-shiro</module>
|
|
<module>waffle-spring-boot</module>
|
|
<module>waffle-spring-boot2</module>
|
|
<module>waffle-spring-security4</module>
|
|
<module>waffle-spring-security5</module>
|
|
<module>waffle-tests</module>
|
|
<module>waffle-tomcat7</module>
|
|
<module>waffle-tomcat8</module>
|
|
<module>waffle-tomcat85</module>
|
|
<module>waffle-tomcat9</module>
|
|
</modules>
|
|
|
|
<scm>
|
|
<connection>scm:git:ssh://git@github.com/waffle/waffle.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/waffle/waffle.git</developerConnection>
|
|
<url>https://github.com/Waffle/waffle</url>
|
|
<tag>waffle-parent-1.9.1</tag>
|
|
</scm>
|
|
<issueManagement>
|
|
<system>Github</system>
|
|
<url>https://github.com/Waffle/waffle/issues</url>
|
|
</issueManagement>
|
|
<ciManagement>
|
|
<system>travis</system>
|
|
<url>https://travis-ci.org/Waffle/waffle/</url>
|
|
</ciManagement>
|
|
<distributionManagement>
|
|
<site>
|
|
<id>gh-pages</id>
|
|
<name>Waffle GitHub Pages</name>
|
|
<url>github:ssh://waffle.github.io/waffle/</url>
|
|
</site>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<properties>
|
|
<!-- Project Level -->
|
|
<copyright>2018</copyright>
|
|
|
|
<!-- Remember to adjust this up as you add unit tests -->
|
|
<jacoco.minimum.coverage>0.0</jacoco.minimum.coverage>
|
|
|
|
<!-- Maven Settings -->
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<maven.compiler.testSource>1.8</maven.compiler.testSource>
|
|
<maven.compiler.testTarget>1.8</maven.compiler.testTarget>
|
|
|
|
<maven.min-version>3.5.3</maven.min-version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<!-- Checkstyle -->
|
|
<checkstyle.config>checkstyle.xml</checkstyle.config>
|
|
|
|
<!-- Third Party Versions -->
|
|
<assertj.version>3.10.0</assertj.version>
|
|
<error-prone.version>2.3.1</error-prone.version>
|
|
<j2objc.version>1.3</j2objc.version>
|
|
<jmh.version>1.21</jmh.version>
|
|
<jmockit.version>1.40</jmockit.version>
|
|
<jsr305.version>3.0.2</jsr305.version>
|
|
<junit.version>5.2.0</junit.version>
|
|
<junit-platform.version>1.2.0</junit-platform.version>
|
|
<slf4j.version>1.7.25</slf4j.version>
|
|
|
|
<!-- Signature Settings -->
|
|
<signature.artifact>java18</signature.artifact>
|
|
<signature.version>1.0</signature.version>
|
|
|
|
<!-- Plugin Dependency Versions -->
|
|
<bug-pattern.version>1.4.0</bug-pattern.version>
|
|
<checkstyle.version>8.10.1</checkstyle.version>
|
|
<fb-contrib.version>7.4.2.sb</fb-contrib.version>
|
|
<findsecbugs.version>1.7.1</findsecbugs.version>
|
|
<plexus-compiler.version>2.8.4</plexus-compiler.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency><!-- prevent warning: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". -->
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Sonar Needs Following for Scans -->
|
|
<dependency>
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
<artifactId>jsr305</artifactId>
|
|
<version>${jsr305.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.errorprone</groupId>
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
<version>${error-prone.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.j2objc</groupId>
|
|
<artifactId>j2objc-annotations</artifactId>
|
|
<version>${j2objc.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Test Dependencies -->
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>${assertj.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jmockit</groupId>
|
|
<artifactId>jmockit</artifactId>
|
|
<version>${jmockit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Performance Testing -->
|
|
<dependency>
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
<artifactId>jmh-core</artifactId>
|
|
<version>${jmh.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
<artifactId>jmh-generator-annprocess</artifactId>
|
|
<version>${jmh.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!-- Core plugins -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.7.0</version>
|
|
<configuration>
|
|
<compilerId>javac-with-errorprone</compilerId>
|
|
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
|
<!-- Slightly faster builds, see https://issues.apache.org/jira/browse/MCOMPILER-209 -->
|
|
<useIncrementalCompilation>false</useIncrementalCompilation>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-compiler-javac-errorprone</artifactId>
|
|
<version>${plexus-compiler.version}</version>
|
|
</dependency>
|
|
<!-- override plexus-compiler-javac-errorprone's dependency on
|
|
Error Prone with the latest version -->
|
|
<dependency>
|
|
<groupId>com.google.errorprone</groupId>
|
|
<artifactId>error_prone_core</artifactId>
|
|
<version>${error-prone.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.8.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.0.0-M1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.7.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.doxia</groupId>
|
|
<artifactId>doxia-module-markdown</artifactId>
|
|
<version>1.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.trajano.wagon</groupId>
|
|
<artifactId>wagon-git</artifactId>
|
|
<version>2.0.3</version> <!-- Do not upgrade to 2.0.4 with ssh as it is broken -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh</artifactId>
|
|
<version>3.1.0</version>
|
|
</dependency>
|
|
<!-- For reporting only of versions -->
|
|
<dependency>
|
|
<groupId>org.apache.maven.skins</groupId>
|
|
<artifactId>maven-fluido-skin</artifactId>
|
|
<version>1.7</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.22.0</version>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*Test.java</include>
|
|
<include>**/*Tests.java</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/*LoadTests.java</exclude>
|
|
</excludes>
|
|
<argLine>-Djdk.attach.allowAttachSelf</argLine>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.junit.platform</groupId>
|
|
<artifactId>junit-platform-surefire-provider</artifactId>
|
|
<version>${junit-platform.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<!-- Build Plugins -->
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
<version>2.2.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<!-- Packaging types / tools -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.2.2</version>
|
|
</plugin>
|
|
<!-- Reporting plugins -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<configuration>
|
|
<configLocation>${checkstyle.config}</configLocation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>3.10.0</version>
|
|
<configuration>
|
|
<analysisCache>true</analysisCache>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Tools -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>${project.basedir}/src/assembly/assembly.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.5.3</version>
|
|
<configuration>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
<useReleaseProfile>false</useReleaseProfile>
|
|
<releaseProfiles>release</releaseProfiles>
|
|
<goals>deploy</goals>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
</plugin>
|
|
<!-- External Tools -->
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>3.1.5</version>
|
|
<configuration>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.mebigfatguy.fb-contrib</groupId>
|
|
<artifactId>fb-contrib</artifactId>
|
|
<version>${fb-contrib.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.h3xstream.findsecbugs</groupId>
|
|
<artifactId>findsecbugs-plugin</artifactId>
|
|
<version>${findsecbugs.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>jp.skypencil.findbugs.slf4j</groupId>
|
|
<artifactId>bug-pattern</artifactId>
|
|
<version>${bug-pattern.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.tunyk.mvn.plugins.htmlcompressor</groupId>
|
|
<artifactId>htmlcompressor-maven-plugin</artifactId>
|
|
<version>1.3</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.googlecode.htmlcompressor</groupId>
|
|
<artifactId>htmlcompressor</artifactId>
|
|
<version>1.5.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.yahoo.platform.yui</groupId>
|
|
<artifactId>yuicompressor</artifactId>
|
|
<version>2.4.8</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
<version>4.3.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>tidy-maven-plugin</artifactId>
|
|
<version>1.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.alchim31.maven</groupId>
|
|
<artifactId>yuicompressor-maven-plugin</artifactId>
|
|
<version>1.5.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.yahoo.platform.yui</groupId>
|
|
<artifactId>yuicompressor</artifactId>
|
|
<version>2.4.8</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<version>2.7.3</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.hazendaz</groupId>
|
|
<artifactId>build-tools</artifactId>
|
|
<version>1.1.8</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<version>1.1.0</version>
|
|
<configuration>
|
|
<groups>com,java,javax,mockit,org,waffle</groups>
|
|
<staticGroups>java,*</staticGroups>
|
|
<!-- <removeUnused>true</removeUnused> (doesn't handle javadoc usage properly yet) -->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>3.0</version>
|
|
<configuration>
|
|
<header>${main.basedir}/license.txt</header>
|
|
<excludes>
|
|
<exclude>.factorypath</exclude>
|
|
<exclude>.gitattributes</exclude>
|
|
<exclude>license.txt</exclude>
|
|
</excludes>
|
|
<mapping>
|
|
<conf>DOUBLESLASH_STYLE</conf>
|
|
<policy>DOUBLESLASH_STYLE</policy>
|
|
</mapping>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin-git</artifactId>
|
|
<version>3.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<!-- Report Only -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jdepend-maven-plugin</artifactId>
|
|
<version>2.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changelog-plugin</artifactId>
|
|
<version>2.3</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changes-plugin</artifactId>
|
|
<version>2.12.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
<artifactId>maven-scm-provider-jgit</artifactId>
|
|
<version>1.10.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode.javaewah</groupId>
|
|
<artifactId>JavaEWAH</artifactId>
|
|
<version>1.1.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.jcraft</groupId>
|
|
<artifactId>jsch</artifactId>
|
|
<version>0.1.54</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
<version>4.11.0.201803080745-r</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-utils</artifactId>
|
|
<version>3.1.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<githubAPIScheme>https</githubAPIScheme>
|
|
<githubAPIPort>443</githubAPIPort>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
<version>2.5</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<version>2.22.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
<version>2.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>2.5</version>
|
|
</plugin>
|
|
<!-- SCM -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-scm-plugin</artifactId>
|
|
<version>1.10.0</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
<artifactId>maven-scm-provider-jgit</artifactId>
|
|
<version>1.10.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode.javaewah</groupId>
|
|
<artifactId>JavaEWAH</artifactId>
|
|
<version>1.1.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.jcraft</groupId>
|
|
<artifactId>jsch</artifactId>
|
|
<version>0.1.54</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
<version>4.11.0.201803080745-r</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-utils</artifactId>
|
|
<version>3.1.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<!-- Sonar -->
|
|
<plugin>
|
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
|
<version>3.4.0.905</version>
|
|
</plugin>
|
|
<!-- Wagon -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>wagon-maven-plugin</artifactId>
|
|
<version>2.0.0</version>
|
|
</plugin>
|
|
<!-- Animal Sniffer -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
<version>1.17</version>
|
|
<configuration>
|
|
<signature>
|
|
<groupId>org.codehaus.mojo.signature</groupId>
|
|
<artifactId>${signature.artifact}</artifactId>
|
|
<version>${signature.version}</version>
|
|
</signature>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Owasp Dependency Scan -->
|
|
<plugin>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<version>3.2.1</version>
|
|
</plugin>
|
|
<!-- Sonatype Release -->
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.8</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Find maven root -->
|
|
<plugin>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
<version>0.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.gaul</groupId>
|
|
<artifactId>modernizer-maven-plugin</artifactId>
|
|
<version>1.6.0</version>
|
|
<configuration>
|
|
<javaVersion>${maven.compiler.target}</javaVersion>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<!-- Core plugins -->
|
|
<!-- Delete all from target but not target itself -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<configuration>
|
|
<excludeDefaultDirectories>true</excludeDefaultDirectories>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>${project.build.directory}</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Build Plugins -->
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
<configuration>
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
<!-- Prevent issues, see https://github.com/ktoso/maven-git-commit-id-plugin/issues/61 -->
|
|
<gitDescribe>
|
|
<always>true</always>
|
|
</gitDescribe>
|
|
<runOnlyOnce>true</runOnlyOnce>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>git-commit-id</id>
|
|
<goals>
|
|
<goal>revision</goal>
|
|
</goals>
|
|
<phase>validate</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Packaging types / Tools -->
|
|
<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>
|
|
<Copyright>${copyright}</Copyright>
|
|
<Git-Revision>${git.commit.id}</Git-Revision>
|
|
<Os-Name>${os.name}</Os-Name>
|
|
<Os-Arch>${os.arch}</Os-Arch>
|
|
<Os-Version>${os.version}</Os-Version>
|
|
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Build-Number>${buildNumber}</Build-Number>
|
|
<Build-Time>${maven.build.timestamp}</Build-Time>
|
|
<Copyright>${copyright}</Copyright>
|
|
<Git-Revision>${git.commit.id}</Git-Revision>
|
|
<Os-Name>${os.name}</Os-Name>
|
|
<Os-Arch>${os.arch}</Os-Arch>
|
|
<Os-Version>${os.version}</Os-Version>
|
|
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Reporting Plugins -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Build-Time>${maven.build.timestamp}</Build-Time>
|
|
<Copyright>${copyright}</Copyright>
|
|
<Git-Revision>${git.commit.id}</Git-Revision>
|
|
<Os-Name>${os.name}</Os-Name>
|
|
<Os-Arch>${os.arch}</Os-Arch>
|
|
<Os-Version>${os.version}</Os-Version>
|
|
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>attach-test-javadocs</id>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Tools -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Build-Time>${maven.build.timestamp}</Build-Time>
|
|
<Copyright>${copyright}</Copyright>
|
|
<Git-Revision>${git.commit.id}</Git-Revision>
|
|
<Os-Name>${os.name}</Os-Name>
|
|
<Os-Arch>${os.arch}</Os-Arch>
|
|
<Os-Version>${os.version}</Os-Version>
|
|
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>attach-test-sources</id>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<configuration>
|
|
<rules>
|
|
<requireMavenVersion>
|
|
<version>[${maven.min-version},)</version>
|
|
</requireMavenVersion>
|
|
</rules>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-maven</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>enforce-clean</id>
|
|
<phase>pre-clean</phase>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>enforce-site</id>
|
|
<phase>pre-site</phase>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>test-sniffer</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Find maven root -->
|
|
<plugin>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>directories</id>
|
|
<goals>
|
|
<goal>highest-basedir</goal>
|
|
</goals>
|
|
<phase>initialize</phase>
|
|
<configuration>
|
|
<property>main.basedir</property>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Checkstyle dependencies required here or they won't be used (per maven) -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>${checkstyle.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.gaul</groupId>
|
|
<artifactId>modernizer-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>modernizer</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>modernizer</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh</artifactId>
|
|
<version>3.1.0</version>
|
|
</extension>
|
|
</extensions>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changelog-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changes-plugin</artifactId>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>github-report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jdepend-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>aggregate</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>checks</id>
|
|
<build>
|
|
<plugins>
|
|
<!-- Reporting Plugins -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<failOnViolation>false</failOnViolation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
<goal>cpd-check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<failOnViolation>false</failOnViolation>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- External Tools -->
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<configuration>
|
|
<spotbugsXmlOutput>true</spotbugsXmlOutput>
|
|
<effort>max</effort>
|
|
<includeTests>true</includeTests>
|
|
<failOnError>false</failOnError>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<rule>
|
|
<element>BUNDLE</element>
|
|
<limits>
|
|
<limit>
|
|
<counter>COMPLEXITY</counter>
|
|
<value>COVEREDRATIO</value>
|
|
<minimum>${jacoco.minimum.coverage}</minimum>
|
|
</limit>
|
|
</limits>
|
|
</rule>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>compression</id>
|
|
<activation>
|
|
<file>
|
|
<exists>compression.xml</exists>
|
|
</file>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.tunyk.mvn.plugins.htmlcompressor</groupId>
|
|
<artifactId>htmlcompressor-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>default-compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>html</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<compressCss>true</compressCss>
|
|
<compressJavaScript>true</compressJavaScript>
|
|
<javascriptHtmlSprite>false</javascriptHtmlSprite>
|
|
<yuiJsNoMunge>true</yuiJsNoMunge>
|
|
<removeIntertagSpaces>true</removeIntertagSpaces>
|
|
<srcFolder>${project.basedir}/src/main/resources</srcFolder>
|
|
<targetFolder>${project.basedir}/target/classes</targetFolder>
|
|
<fileExt>
|
|
<fileExt>html</fileExt>
|
|
<fileExt>jsp</fileExt>
|
|
<fileExt>xhtml</fileExt>
|
|
<fileExt>xml</fileExt>
|
|
</fileExt>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.alchim31.maven</groupId>
|
|
<artifactId>yuicompressor-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>default-compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>compress</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<nomunge>true</nomunge>
|
|
<nosuffix>true</nosuffix>
|
|
<excludes>
|
|
<exclude>**/*.min.js</exclude>
|
|
<exclude>**/*.min.css</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>eclipse</id>
|
|
<activation>
|
|
<property>
|
|
<name>m2e.version</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!--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>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>com.tunyk.mvn.plugins.htmlcompressor</groupId>
|
|
<artifactId>htmlcompressor-maven-plugin</artifactId>
|
|
<versionRange>[1.3,)</versionRange>
|
|
<goals>
|
|
<goal>html</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
<versionRange>[0.2,)</versionRange>
|
|
<goals>
|
|
<goal>highest-basedir</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute>
|
|
<runOnConfiguration>true</runOnConfiguration>
|
|
<runOnIncremental>true</runOnIncremental>
|
|
</execute>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>net.alchim31.maven</groupId>
|
|
<artifactId>yuicompressor-maven-plugin</artifactId>
|
|
<versionRange>[1.5.1,)</versionRange>
|
|
<goals>
|
|
<goal>compress</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<versionRange>[3.0,)</versionRange>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute>
|
|
<runOnConfiguration>true</runOnConfiguration>
|
|
<runOnIncremental>true</runOnIncremental>
|
|
</execute>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<versionRange>[0.8.1,)</versionRange>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<versionRange>[2.7.3,)</versionRange>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<versionRange>[1.1.0,)</versionRange>
|
|
<goals>
|
|
<goal>sort</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute>
|
|
<runOnConfiguration>true</runOnConfiguration>
|
|
<runOnIncremental>true</runOnIncremental>
|
|
</execute>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<versionRange>[3.0.0-M1,)</versionRange>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>format</id>
|
|
<activation>
|
|
<file>
|
|
<exists>format.xml</exists>
|
|
</file>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<configuration>
|
|
<configFile>eclipse-formatter-config.xml</configFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>sort</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>sort</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>tidy-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>pom</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<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>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|