1445 lines
50 KiB
XML
1445 lines
50 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright 2010-2022 the original author or authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis-parent</artifactId>
|
|
<version>36</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>mybatis-parent</name>
|
|
<description>The MyBatis parent POM.</description>
|
|
<url>https://www.mybatis.org/</url>
|
|
<inceptionYear>2010</inceptionYear>
|
|
<organization>
|
|
<name>MyBatis.org</name>
|
|
<url>https://www.mybatis.org/</url>
|
|
</organization>
|
|
<licenses>
|
|
<license>
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<!-- committers are enlisted by name ASC, except Clinton who is the founder -->
|
|
<developer>
|
|
<id>cbegin</id>
|
|
<name>Clinton Begin</name>
|
|
<email>clinton.begin@gmail.com</email>
|
|
<roles>
|
|
<role>Owner</role>
|
|
<role>Founder</role>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>brandon.goodin</id>
|
|
<name>Brandon Goodin</name>
|
|
<email>brandon.goodin@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>christianpoitras</id>
|
|
<name>Christian Poitras</name>
|
|
<email>christian.poitras@ircm.qc.ca</email>
|
|
<timezone>-5</timezone>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>emacarron</id>
|
|
<name>Eduardo Macarron</name>
|
|
<email>eduardo.macarron@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>mnesarco</id>
|
|
<name>Frank Martinez</name>
|
|
<email>mnesarco@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>agustafson</id>
|
|
<name>Andrew Gustafson</name>
|
|
<email>gus4000@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>hpresnall</id>
|
|
<name>Hunter Presnall</name>
|
|
<email>hpresnall@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>harawata</id>
|
|
<name>Iwao Ave</name>
|
|
<email>harawata@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>jeffgbutler</id>
|
|
<name>Jeff Butler</name>
|
|
<email>jeffgbutler@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>hazendaz</id>
|
|
<name>Jeremy Landis</name>
|
|
<email>jeremylandis@hotmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
<timezone>-5</timezone>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>nospam@kaigrabfelder.de</id>
|
|
<name>Kai Grabfelder</name>
|
|
<email>nospam@kaigrabfelder.de</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>lmeadors</id>
|
|
<name>Larry Meadors</name>
|
|
<email>larry.meadors@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>marcosperanza</id>
|
|
<name>Marco Speranza</name>
|
|
<email>marco.speranza79@gmail.com</email>
|
|
<timezone>+1</timezone>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>nmaves</id>
|
|
<name>Nathan Maves</name>
|
|
<email>nathan.maves@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>pboonphong</id>
|
|
<name>Putthiphong Boonphong</name>
|
|
<email>putthiphong.boonphong@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>simonetripodi</id>
|
|
<name>Simone Tripodi</name>
|
|
<email>simone.tripodi@gmail.com</email>
|
|
<timezone>+1</timezone>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
|
|
<developer>
|
|
<id>h3adache</id>
|
|
<name>Tim Chen</name>
|
|
<email>chengt@gmail.com</email>
|
|
<roles>
|
|
<role>Committer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>mybatis-dev</name>
|
|
<archive>https://groups.google.com/forum/#!forum/mybatis-dev</archive>
|
|
<subscribe>https://groups.google.com/forum/#!forum/mybatis-dev/join</subscribe>
|
|
<unsubscribe>https://groups.google.com/forum/#!forum/mybatis-dev/join</unsubscribe>
|
|
<post>mybatis-dev@googlegroups.com</post>
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
<name>mybatis-user</name>
|
|
<archive>https://groups.google.com/forum/#!forum/mybatis-user</archive>
|
|
<subscribe>https://groups.google.com/forum/#!forum/mybatis-user/join</subscribe>
|
|
<unsubscribe>https://groups.google.com/forum/#!forum/mybatis-user/join</unsubscribe>
|
|
<post>mybatis-user@googlegroups.com</post>
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
<name>mybatis-commits</name>
|
|
<archive>https://groups.google.com/forum/#!forum/mybatis-commits</archive>
|
|
<subscribe>https://groups.google.com/forum/#!forum/mybatis-commits/join</subscribe>
|
|
<unsubscribe>https://groups.google.com/forum/#!forum/mybatis-commits/join</unsubscribe>
|
|
<post>mybatis-commits@googlegroups.com</post>
|
|
</mailingList>
|
|
</mailingLists>
|
|
|
|
<scm>
|
|
<url>https://github.com/mybatis/parent</url>
|
|
<connection>scm:git:ssh://github.com/mybatis/parent.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/mybatis/parent.git</developerConnection>
|
|
<tag>mybatis-parent-36</tag>
|
|
</scm>
|
|
<issueManagement>
|
|
<system>GitHub Issue Management</system>
|
|
<url>https://github.com/mybatis/parent/issues</url>
|
|
</issueManagement>
|
|
<ciManagement>
|
|
<system>Github Actions</system>
|
|
<url>https://github.com/mybatis/parent/actions</url>
|
|
</ciManagement>
|
|
<distributionManagement>
|
|
<site>
|
|
<id>gh-pages</id>
|
|
<name>Mybatis GitHub Pages</name>
|
|
<url>github:ssh://mybatis.github.io/parent/</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>
|
|
<!-- Copyright -->
|
|
<copyright>2022</copyright>
|
|
|
|
<!-- General configuration -->
|
|
<allowed.build.jdks>11,17,18,19,20</allowed.build.jdks>
|
|
<checkstyle.config>checkstyle.xml</checkstyle.config>
|
|
<clirr.comparisonVersion>34</clirr.comparisonVersion>
|
|
<formatter.config>eclipse-formatter-config-2space.xml</formatter.config>
|
|
<gcu.product>${project.name}</gcu.product>
|
|
<html.javadocType>-html5</html.javadocType>
|
|
<impsortGroups>au,com,de,java,javassist,javax,lombok,mockit,net,ognl,org</impsortGroups>
|
|
<module.name>org.mybatis.parent</module.name>
|
|
<spotbugs.onlyAnalyze />
|
|
|
|
<!-- Maven date configuration -->
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
|
|
|
|
<!-- Maven compiler options -->
|
|
<java.version>8</java.version>
|
|
<java.release.version>8</java.release.version>
|
|
<java.test.version>11</java.test.version>
|
|
<java.test.release.version>11</java.test.release.version>
|
|
|
|
<!-- source/target are deprecated, remove in future release -->
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<maven.compiler.testSource>${java.test.version}</maven.compiler.testSource>
|
|
<maven.compiler.testTarget>${java.test.version}</maven.compiler.testTarget>
|
|
|
|
<maven.compiler.release>${java.release.version}</maven.compiler.release>
|
|
<maven.compiler.testRelease>${java.test.release.version}</maven.compiler.testRelease>
|
|
|
|
<!-- Maven minimum version -->
|
|
<maven.min-version>3.3.9</maven.min-version>
|
|
|
|
<!-- Project Encoding -->
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<!-- Reproducible Builds -->
|
|
<project.build.outputTimestamp>1662409156</project.build.outputTimestamp>
|
|
|
|
<!-- Due to maven bug, fix timestamp -->
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
|
|
<!-- Dependency versions -->
|
|
<asm.version>9.3</asm.version>
|
|
<base-bundle.version>9</base-bundle.version>
|
|
<bind-api.version>2.3.3</bind-api.version>
|
|
<bnd.version>6.3.1</bnd.version>
|
|
<build-tools.version>1.3.0</build-tools.version>
|
|
<checkstyle.version>10.3.3</checkstyle.version>
|
|
<extra-enforcer-rules.version>1.6.1</extra-enforcer-rules.version>
|
|
<fluido.version>1.11.1</fluido.version>
|
|
<license.version>4.2.rc3</license.version>
|
|
<wagon-git.version note="Do not upgrade to 2.0.4 as it does not work with ssh properly">2.0.3</wagon-git.version>
|
|
<wagon.version>3.5.2</wagon.version>
|
|
|
|
<!-- Plugins versions -->
|
|
<antrun.plugin>3.1.0</antrun.plugin>
|
|
<assembly.plugin>3.4.2</assembly.plugin>
|
|
<bundle.plugin>5.1.8</bundle.plugin>
|
|
<changes.plugin>2.12.1</changes.plugin>
|
|
<checkstyle.plugin>3.2.0</checkstyle.plugin>
|
|
<clean.plugin>3.2.0</clean.plugin>
|
|
<clirr.plugin>2.8</clirr.plugin>
|
|
<compiler.plugin>3.10.1</compiler.plugin>
|
|
<coveralls.plugin>4.4.1</coveralls.plugin>
|
|
<dependency.plugin>3.3.0</dependency.plugin>
|
|
<deploy.plugin>3.0.0</deploy.plugin>
|
|
<enforcer.plugin>3.1.0</enforcer.plugin>
|
|
<formatter.plugin>2.20.0</formatter.plugin>
|
|
<git-commit.plugin>5.0.0</git-commit.plugin>
|
|
<gpg.plugin>3.0.1</gpg.plugin>
|
|
<impsort.plugin>1.7.0</impsort.plugin>
|
|
<install.plugin>3.0.1</install.plugin>
|
|
<jacoco.plugin>0.8.8</jacoco.plugin>
|
|
<jar.plugin>3.2.2</jar.plugin>
|
|
<javadoc.plugin>3.4.1</javadoc.plugin>
|
|
<jxr.plugin>3.3.0</jxr.plugin>
|
|
<license.plugin>4.2.rc3</license.plugin>
|
|
<lifecycle.plugin>1.0.0</lifecycle.plugin>
|
|
<modernizer.plugin>2.4.0</modernizer.plugin>
|
|
<pdf.plugin>1.6.1</pdf.plugin>
|
|
<pmd.plugin>3.19.0</pmd.plugin>
|
|
<project-info.plugin>3.4.1</project-info.plugin>
|
|
<release.plugin>3.0.0-M6</release.plugin>
|
|
<resources.plugin>3.3.0</resources.plugin>
|
|
<scm.plugin>1.12.2</scm.plugin>
|
|
<shade.plugin>3.3.0</shade.plugin>
|
|
<site.plugin>3.12.1</site.plugin>
|
|
<sortpom.plugin>3.2.0</sortpom.plugin>
|
|
<source.plugin>3.2.1</source.plugin>
|
|
<spotbugs.plugin>4.7.1.1</spotbugs.plugin>
|
|
<surefire.plugin>3.0.0-M7</surefire.plugin>
|
|
<taglist.plugin>3.0.0</taglist.plugin>
|
|
<versions.plugin>2.11.0</versions.plugin>
|
|
<whitespace.plugin>1.0.4</whitespace.plugin>
|
|
|
|
<!-- Surefire Argline -->
|
|
<argLine>-Djdk.attach.allowAttachSelf</argLine>
|
|
|
|
<!-- OSGi configuration properties -->
|
|
<osgi.symbolicName>${project.groupId}.${project.artifactId}</osgi.symbolicName>
|
|
<osgi.export>${project.groupId}.*;version=${project.version};-noimport:=true</osgi.export>
|
|
<osgi.import>*</osgi.import>
|
|
<osgi.dynamicImport />
|
|
<osgi.private />
|
|
|
|
<!-- Add slow test groups here and annotate classes similar to @Tag('groupName') which will auto enable on CI ONLY. -->
|
|
<excludedGroups />
|
|
</properties>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
|
|
<artifactId>whitespace-maven-plugin</artifactId>
|
|
<version>${whitespace.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.github.ekryd.sortpom</groupId>
|
|
<artifactId>sortpom-maven-plugin</artifactId>
|
|
<version>${sortpom.plugin}</version>
|
|
<configuration>
|
|
<createBackupFile>false</createBackupFile>
|
|
<expandEmptyElements>false</expandEmptyElements>
|
|
<nrOfIndentSpace>2</nrOfIndentSpace>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>io.github.git-commit-id</groupId>
|
|
<artifactId>git-commit-id-maven-plugin</artifactId>
|
|
<version>${git-commit.plugin}</version>
|
|
<configuration>
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
<!-- Fixes occassional issue in commit id plugin - see https://github.com/ktoso/maven-git-commit-id-plugin/issues/61 -->
|
|
<gitDescribe>
|
|
<always>true</always>
|
|
</gitDescribe>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${spotbugs.plugin}</version>
|
|
<configuration>
|
|
<xmlOutput>true</xmlOutput>
|
|
<xmlOutputDirectory>${project.build.directory}/spotbugs-reports</xmlOutputDirectory>
|
|
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs-reports</spotbugsXmlOutputDirectory>
|
|
<threshold>High</threshold>
|
|
<effort>Max</effort>
|
|
<visitors>FindDeadLocalStores,UnreadFields</visitors>
|
|
<onlyAnalyze>${spotbugs.onlyAnalyze}</onlyAnalyze>
|
|
<relaxed>true</relaxed>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>${license.plugin}</version>
|
|
<configuration>
|
|
<header>${project.basedir}/LICENSE_HEADER</header>
|
|
<excludes>
|
|
<!-- Default excludes located at https://github.com/mathieucarbou/license-maven-plugin/blob/master/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/Default.java -->
|
|
|
|
<!-- Exclude extra items used throughout mybatis -->
|
|
<exclude>**/*.ctrl</exclude>
|
|
<exclude>**/*.dat</exclude>
|
|
<exclude>ICLA</exclude>
|
|
<exclude>KEYS</exclude>
|
|
<exclude>NOTICE</exclude>
|
|
|
|
<!-- Exclude special folder to ignore license -->
|
|
<exclude>**/unlicensed/**</exclude>
|
|
</excludes>
|
|
<mapping>
|
|
<!-- Default mapping located at https://github.com/mathieucarbou/license-maven-plugin/blob/master/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/document/DocumentType.java -->
|
|
<xml.vm>XML_STYLE</xml.vm>
|
|
</mapping>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin-git</artifactId>
|
|
<version>${license.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>io.jsonwebtoken.coveralls</groupId>
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
<version>${coveralls.plugin}</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
<version>${bind-api.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<version>${impsort.plugin}</version>
|
|
<configuration>
|
|
<groups>${impsortGroups}</groups>
|
|
<staticGroups>java,*</staticGroups>
|
|
<removeUnused>true</removeUnused>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<version>${formatter.plugin}</version>
|
|
<configuration>
|
|
<configFile>${formatter.config}</configFile>
|
|
<skipXmlFormatting>true</skipXmlFormatting>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.hazendaz</groupId>
|
|
<artifactId>build-tools</artifactId>
|
|
<version>${build-tools.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<version>${bundle.plugin}</version>
|
|
<configuration>
|
|
<excludeDependencies>true</excludeDependencies>
|
|
<manifestLocation>${project.build.directory}/osgi</manifestLocation>
|
|
<supportedProjectTypes>
|
|
<supportedProjectType>jar</supportedProjectType>
|
|
<supportedProjectType>bundle</supportedProjectType>
|
|
<supportedProjectType>war</supportedProjectType>
|
|
<supportedProjectType>maven-plugin</supportedProjectType>
|
|
</supportedProjectTypes>
|
|
<instructions>
|
|
<!-- stops the "uses" clauses being added to "Export-Package" manifest entry -->
|
|
<_nouses>true</_nouses>
|
|
<!-- Stop the JAVA_1_n_HOME / JAVA_n_HOME variables from being treated as headers by Bnd if found in settings.xml (obsolete versions removed, if found, cleanup settings.xml) -->
|
|
<_removeheaders>JAVA_1_8_HOME,JAVA_8_HOME,JAVA_11_HOME,JAVA_17_HOME,JAVA_18_HOME,JAVA_19_HOME,JAVA_20_HOME</_removeheaders>
|
|
<Bundle-SymbolicName>${osgi.symbolicName}</Bundle-SymbolicName>
|
|
<Export-Package>${osgi.export}</Export-Package>
|
|
<Private-Package>${osgi.private}</Private-Package>
|
|
<Import-Package>${osgi.import}</Import-Package>
|
|
<DynamicImport-Package>${osgi.dynamicImport}</DynamicImport-Package>
|
|
<Bundle-DocURL>${project.url}</Bundle-DocURL>
|
|
<Git-Revision>${git.commit.id}</Git-Revision>
|
|
</instructions>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>biz.aQute.bndlib</artifactId>
|
|
<version>${bnd.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<!-- Antrun here only to override eclipse settings -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>${antrun.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${assembly.plugin}</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>base-bundle-descriptor</artifactId>
|
|
<version>${base-bundle.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changes-plugin</artifactId>
|
|
<version>${changes.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>${checkstyle.plugin}</version>
|
|
<configuration>
|
|
<failOnViolation>false</failOnViolation>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>${clean.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${compiler.plugin}</version>
|
|
<configuration>
|
|
<optimize>true</optimize>
|
|
<!-- Slightly faster builds, see https://issues.apache.org/jira/browse/MCOMPILER-209 -->
|
|
<useIncrementalCompilation>false</useIncrementalCompilation>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${dependency.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>${deploy.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>${enforcer.plugin}</version>
|
|
<configuration>
|
|
<rules>
|
|
<enforceBytecodeVersion>
|
|
<maxJdkVersion>${java.version}</maxJdkVersion>
|
|
<ignoredScopes>test</ignoredScopes>
|
|
</enforceBytecodeVersion>
|
|
<requireJavaVersion>
|
|
<version>${allowed.build.jdks}</version>
|
|
</requireJavaVersion>
|
|
<requireMavenVersion>
|
|
<version>[${maven.min-version},)</version>
|
|
</requireMavenVersion>
|
|
<requirePluginVersions>
|
|
<message>[ERROR] Best Practice is to always define plugin versions!</message>
|
|
<banLatest>true</banLatest>
|
|
<banRelease>true</banRelease>
|
|
<banSnapshots>true</banSnapshots>
|
|
<phases>clean,deploy,site</phases>
|
|
</requirePluginVersions>
|
|
</rules>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>extra-enforcer-rules</artifactId>
|
|
<version>${extra-enforcer-rules.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>${gpg.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>${install.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${jar.plugin}</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>${project.build.directory}/osgi/MANIFEST.MF</manifestFile>
|
|
<manifest>
|
|
<addBuildEnvironmentEntries>false</addBuildEnvironmentEntries>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
|
|
<Copyright>${copyright}</Copyright>
|
|
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
|
|
<X-Compile-Release-JDK>${maven.compiler.release}</X-Compile-Release-JDK>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${javadoc.plugin}</version>
|
|
<configuration>
|
|
<additionalOptions>
|
|
<option>${html.javadocType}</option>
|
|
</additionalOptions>
|
|
<archive>
|
|
<manifest>
|
|
<addBuildEnvironmentEntries>false</addBuildEnvironmentEntries>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
|
|
<Copyright>${copyright}</Copyright>
|
|
<Git-Revision>${git.commit.id}</Git-Revision>
|
|
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
|
|
<X-Compile-Release-JDK>${maven.compiler.release}</X-Compile-Release-JDK>
|
|
</manifestEntries>
|
|
</archive>
|
|
<additionalparam>-Xdoclint:-missing</additionalparam>
|
|
<notimestamp>true</notimestamp>
|
|
<quiet>true</quiet>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
<version>${jxr.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pdf-plugin</artifactId>
|
|
<version>${pdf.plugin}</version>
|
|
<!-- Execution such as this in plugin management requires plugin definition in build to work -->
|
|
<executions>
|
|
<execution>
|
|
<id>pdf</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>pdf</goal>
|
|
</goals>
|
|
<configuration>
|
|
<includeReports>false</includeReports>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>${pmd.plugin}</version>
|
|
<configuration>
|
|
<analysisCache>true</analysisCache>
|
|
<linkXRef>true</linkXRef>
|
|
<minimumTokens>100</minimumTokens>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>${project-info.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${release.plugin}</version>
|
|
<configuration>
|
|
<arguments>-Daether.checksums.algorithms=SHA-512,SHA-256,SHA-1,MD5</arguments>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
<mavenExecutorId>forked-path</mavenExecutorId>
|
|
<useReleaseProfile>false</useReleaseProfile>
|
|
<releaseProfiles>release</releaseProfiles>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>${resources.plugin}</version>
|
|
<configuration>
|
|
<!-- Defaults to source, use resources as this is a resource -->
|
|
<propertiesEncoding>${project.build.resourceEncoding}</propertiesEncoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>${shade.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>${site.plugin}</version>
|
|
<!-- Execution like this will pick up in the normal site cycle -->
|
|
<executions>
|
|
<execution>
|
|
<id>attach-descriptor</id>
|
|
<goals>
|
|
<goal>attach-descriptor</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>net.trajano.wagon</groupId>
|
|
<artifactId>wagon-git</artifactId>
|
|
<version>${wagon-git.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh</artifactId>
|
|
<version>${wagon.version}</version>
|
|
</dependency>
|
|
<!-- Additional entries for version site tracking only -->
|
|
<dependency>
|
|
<groupId>org.apache.maven.skins</groupId>
|
|
<artifactId>maven-fluido-skin</artifactId>
|
|
<version>${fluido.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${source.plugin}</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addBuildEnvironmentEntries>false</addBuildEnvironmentEntries>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
|
|
<Copyright>${copyright}</Copyright>
|
|
<Git-Revision>${git.commit.id}</Git-Revision>
|
|
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
|
|
<X-Compile-Release-JDK>${maven.compiler.release}</X-Compile-Release-JDK>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${surefire.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<version>${surefire.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
|
<version>${clirr.plugin}</version>
|
|
<configuration>
|
|
<comparisonVersion>${clirr.comparisonVersion}</comparisonVersion>
|
|
<failOnError>false</failOnError>
|
|
<failOnWarning>false</failOnWarning>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
<version>${taglist.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>${versions.plugin}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.gaul</groupId>
|
|
<artifactId>modernizer-maven-plugin</artifactId>
|
|
<version>${modernizer.plugin}</version>
|
|
<configuration>
|
|
<failOnViolations>false</failOnViolations>
|
|
<javaVersion>${maven.compiler.target}</javaVersion>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<version>${asm.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<!-- 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>
|
|
<dependency>
|
|
<groupId>com.github.hazendaz</groupId>
|
|
<artifactId>build-tools</artifactId>
|
|
<version>${build-tools.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-java</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>bundle-manifest</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>manifest</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>
|
|
|
|
<plugin>
|
|
<groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
|
|
<artifactId>whitespace-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>trim</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>io.github.git-commit-id</groupId>
|
|
<artifactId>git-commit-id-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>git-commit-id</id>
|
|
<goals>
|
|
<goal>revision</goal>
|
|
</goals>
|
|
<phase>validate</phase>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>${project.basedir}</directory>
|
|
<targetPath>META-INF</targetPath>
|
|
<includes>
|
|
<include>LICENSE</include>
|
|
<include>NOTICE</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<reportSets>
|
|
<reportSet>
|
|
<id>default</id>
|
|
<reports>
|
|
<report>javadoc</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changes-plugin</artifactId>
|
|
<configuration>
|
|
<issueLinkTemplate>%URL%/issues/%ISSUE%</issueLinkTemplate>
|
|
</configuration>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>changes-report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<configuration>
|
|
<configLocation>${checkstyle.config}</configLocation>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
<configuration>
|
|
<tagListOptions>
|
|
<tagClasses>
|
|
<tagClass>
|
|
<displayName>Todo Work</displayName>
|
|
<tags>
|
|
<tag>
|
|
<matchString>TODO</matchString>
|
|
<matchType>ignoreCase</matchType>
|
|
</tag>
|
|
<tag>
|
|
<matchString>FIXME</matchString>
|
|
<matchType>ignoreCase</matchType>
|
|
</tag>
|
|
</tags>
|
|
</tagClass>
|
|
</tagClasses>
|
|
</tagListOptions>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<!-- This plugin will fail if any POM is marked as Byte Order Mark is UTF-8 (BOM).
|
|
| If this occurs, create a new POM and move the contents in order to fix.
|
|
| For reference, this was a problem with mybatis/mybatis-spring poms. -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<!-- select non-aggregate reports -->
|
|
<report>report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>format</id>
|
|
<activation>
|
|
<file>
|
|
<!-- project.basedir is invalid in this location as not resolved by this point, use basedir -->
|
|
<exists>${basedir}/format.xml</exists>
|
|
</file>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<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>release</id>
|
|
<build>
|
|
<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>
|
|
</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>
|
|
|
|
<!-- Skip license plugin during release as maven release is now shallow cloned -->
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<!-- Run slow tests only on CI ONLY, to force run otherwise use -D"env.CI_ONLY_TEST_GROUPS" -->
|
|
<id>ci-only</id>
|
|
<activation>
|
|
<property>
|
|
<name>env.CI_ONLY_TEST_GROUPS</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<excludedGroups />
|
|
</properties>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>bundle</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<attach>true</attach>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<descriptorRefs>
|
|
<descriptorRef>base-bundle</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>sort</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.ekryd.sortpom</groupId>
|
|
<artifactId>sortpom-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>sort</goal>
|
|
</goals>
|
|
<phase>verify</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>license</id>
|
|
<activation>
|
|
<file>
|
|
<!-- project.basedir is invalid in this location as not resolved by this point, use basedir -->
|
|
<exists>${basedir}/LICENSE_HEADER</exists>
|
|
</file>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
<!-- Keep version here as fake version and maven report info has problems defining it in dependency management -->
|
|
<version>${lifecycle.plugin}</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<versionRange>[${bundle.version},)</versionRange>
|
|
<goals>
|
|
<goal>manifest</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<versionRange>[${jacoco.version},)</versionRange>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<versionRange>[${enforcer.version},)</versionRange>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<versionRange>[${license.version},)</versionRange>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<versionRange>[${formatter.version},)</versionRange>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<versionRange>[${impsort.plugin},)</versionRange>
|
|
<goals>
|
|
<goal>sort</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute>
|
|
<runOnConfiguration>true</runOnConfiguration>
|
|
<runOnIncremental>true</runOnIncremental>
|
|
</execute>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
|
|
<artifactId>whitespace-maven-plugin</artifactId>
|
|
<versionRange>[${whitespace.plugin},)</versionRange>
|
|
<goals>
|
|
<goal>trim</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute>
|
|
<runOnConfiguration>true</runOnConfiguration>
|
|
<runOnIncremental>true</runOnIncremental>
|
|
</execute>
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Force Eclipse to use test side in order to ensure no compilation errors (generally these are same and make no difference) -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${maven.compiler.testSource}</source>
|
|
<target>${maven.compiler.testTarget}</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|