core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.capitalone.dashboard</groupId> <artifactId>core</artifactId> <version>4.0.2</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You 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 http://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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.capitalone.dashboard</groupId> <artifactId>core</artifactId> <packaging>jar</packaging> <version>4.0.2</version> <name>${project.groupId}:${project.artifactId}</name> <description>Core package shared by API layer and Microservices</description> <url>https://github.com/hygieia/hygieia-core</url> <organization> <name>Hygieia</name> <url>https://www.github.com/Hygieia</url> </organization> <properties> <!-- Dependencies --> <spring-security.version>5.5.7</spring-security.version> <springweb.version>5.3.20</springweb.version> <springbeans.version>5.3.20</springbeans.version> <tomcat.version>10.1.2</tomcat.version> <commons-beanutils.version>1.9.4</commons-beanutils.version> <commons-codec.version>1.15</commons-codec.version> <commons-collections4.version>4.1</commons-collections4.version> <commons-io.version>2.11.0</commons-io.version> <commons-lang.version>3.12.0</commons-lang.version> <fongo.version>2.2.0-RC2</fongo.version> <guava.version>31.1-jre</guava.version> <hibernate-validator.version>6.1.5.Final</hibernate-validator.version> <jackson.version>2.14.0</jackson.version> <jasypt.version>1.18</jasypt.version> <logback.version>1.2.9</logback.version> <mongodb.version>4.0.6</mongodb.version> <assertj.version>3.9.0</assertj.version> <jaxbapi.version>2.2.12</jaxbapi.version> <!-- Plugins --> <apache.rat.plugin.version>0.13</apache.rat.plugin.version> <coveralls.maven.plugin.version>4.3.0</coveralls.maven.plugin.version> <jacoco.maven.plugin.version>0.8.7</jacoco.maven.plugin.version> <jacoco.coverage.percentage.minimum>0.000</jacoco.coverage.percentage.minimum> <jacoco.classes.missed.minimum>500</jacoco.classes.missed.minimum> <japicmp.skip>true</japicmp.skip> <java.compilation.source>11</java.compilation.source> <java.compilation.target>11</java.compilation.target> <maven.compiler.plugin.version>3.8.1</maven.compiler.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.javadoc.plugin.version>3.1.0</maven.javadoc.plugin.version> <maven.pmd.plugin.version>3.11.0</maven.pmd.plugin.version> <maven.project-info.version>3.0.0</maven.project-info.version> <maven.scm.publish.plugin.version>3.0.0</maven.scm.publish.plugin.version> <maven.site.plugin.version>3.7.1</maven.site.plugin.version> <pmd.version>3.6</pmd.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <site.publish.url>https://github.com/Hygieia/hygieia-core</site.publish.url> <site.publish.checkout.directory>site-content</site.publish.checkout.directory> <spotbugs.plugin.version>3.1.11</spotbugs.plugin.version> </properties> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.12</version> </parent> <scm> <connection>scm:git:http://github.com/hygieia/hygieia-core.git</connection> <developerConnection>scm:git:http://github.com/hygieia/hygieia-core.git </developerConnection> <url>http://github.com/hygieia/hygieia-core</url> <tag>HEAD</tag> </scm> <distributionManagement> <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> <site> <id>hygieia.core.website</id> <name>Capital One Maven Plugins Site</name> <!--suppress UnresolvedMavenProperty --> <url>scm:git:https://${github.username}@github.com/Hygieia/hygieia-core</url> </site> </distributionManagement> <developers> <developer> <id>tabladrum</id> <name>Tapabrata "Topo" Pal</name> <url>https://github.com/tabladrum</url> <timezone>America/New_York</timezone> </developer> <developer> <id>rvema</id> <name>Raghavendra Vema</name> <email>ragha.vema@capitalone.com</email> <url>https://github.com/rvema</url> <timezone>America/New_York</timezone> </developer> <developer> <id>nireeshT</id> <name>Nireesh Thiruveedula</name> <email>nireesh.thiruveedula@capitalone.com</email> <url>https://github.com/nireesht</url> <timezone>America/New_York</timezone> </developer> <developer> <id>nameisaravind</id> <name>Aravindhan Murugan</name> <email>aravindhan.murugan@capitalone.com</email> <url>https://github.com/nameisaravind</url> </developer> <developer> <id>sbrenthughes</id> <name>Stephen Hughes</name> <email>stephen.hughes@capitalone.com</email> <url>https://github.com/sbrenthughes</url> <timezone>America/New_York</timezone> </developer> <developer> <name>Matthew Beasley</name> <email>matthew.beasley@capitalone.com</email> <id>matthewbeasley</id> </developer> <developer> <name>Rob Tompkins</name> <url>https://github.com/chtompki</url> <id>chtompki</id> </developer> </developers> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <version>2.5.13</version> <exclusions> <exclusion> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> </exclusion> <exclusion> <artifactId>spring-beans</artifactId> <groupId>org.springframework</groupId> </exclusion> <exclusion> <artifactId>spring-web</artifactId> <groupId>org.springframework</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-websocket</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId> <version>${tomcat.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${springweb.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${springbeans.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>5.3.20</version> </dependency> <!-- Misc Deps --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> <!-- apache commons --> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <version>${commons-collections4.version}</version> </dependency> <!-- spring --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>2.5.12</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-mongodb</artifactId> <version>2.6.8</version> <exclusions> <exclusion> <artifactId>spring-data-mongodb</artifactId> <groupId>org.springframework.data</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-mongodb</artifactId> <version>3.4.1</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.3.20</version> </dependency> <dependency> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator</artifactId> <version>${hibernate-validator.version}</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>4.0.1</version> <scope>provided</scope> </dependency> <!-- Query DSL --> <dependency> <groupId>com.querydsl</groupId> <artifactId>querydsl-apt</artifactId> <scope>provided</scope> <version>5.0.0</version> </dependency> <dependency> <groupId>com.querydsl</groupId> <artifactId>querydsl-mongodb</artifactId> <version>5.0.0</version> </dependency> <dependency> <groupId>com.googlecode.json-simple</groupId> <artifactId>json-simple</artifactId> <version>1.1.1</version> </dependency> <!-- jasypt spring boot --> <dependency> <groupId>com.github.ulisesbocchio</groupId> <artifactId>jasypt-spring-boot-starter</artifactId> <version>${jasypt.version}</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.9.4</version> <exclusions> <exclusion> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.2.2</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.9</version> </dependency> <dependency> <groupId>com.github.fakemongo</groupId> <artifactId>fongo</artifactId> <version>${fongo.version}</version> <exclusions> <exclusion> <artifactId>geojson-jackson</artifactId> <groupId>de.grundid.opendatalab</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>4.6.1</version> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <version>1.12.12</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.7.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.7.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>2.23.0</version> <scope>test</scope> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>2.3</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> </dependency> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>${jaxbapi.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <dependencies> <dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-cipher</artifactId> <version>1.4</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.2.2</version> <executions> <execution> <goals> <goal>jar</goal> </goals> <phase>package</phase> <configuration> <!--to be imported on other projects--> <classifier>embed</classifier> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.7.2</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.6.7</version> <executions> <execution> <id>repackage</id> <configuration> <classifier>exec</classifier> <mainClass>com.capitalone.dashboard.Application</mainClass> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.mysema.maven</groupId> <artifactId>apt-maven-plugin</artifactId> <version>1.1.3</version> <executions> <execution> <goals> <goal>process</goal> </goals> <configuration> <outputDirectory>target/generated-sources/java</outputDirectory> <processor>org.springframework.data.mongodb.repository.support.MongoAnnotationProcessor </processor> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <configuration> <source>11</source> <target>11</target> </configuration> </plugin> <plugin> <groupId>com.github.siom79.japicmp</groupId> <artifactId>japicmp-maven-plugin</artifactId> <version>0.15.3</version> <configuration> <parameter> <!-- see documentation --> </parameter> <skip>${japicmp.skip}</skip> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>cmp</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven.checkstyle.plugin.version}</version> <configuration> <configLocation>src/devops/checkstyle.xml</configLocation> <suppressionsLocation>src/devops/checkstyle-suppressions.xml</suppressionsLocation> <encoding>UTF-8</encoding> <consoleOutput>true</consoleOutput> <failsOnError>false</failsOnError> <linkXRef>false</linkXRef> </configuration> <executions> <execution> <id>validate</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>${apache.rat.plugin.version}</version> <configuration> <excludes> <exclude>.tests/**</exclude> <exclude>.tests/**</exclude> <exclude>logs/**</exclude> <exclude>src/test/resources/org/tmatesoft/svn/test/apache.config.template</exclude> <exclude>src/test/resources/org/tmatesoft/svn/test/test.properties.template</exclude> <exclude>src/test/resources/org/tmatesoft/svn/test/svnserve.config.template</exclude> <exclude>src/main/resources/banner.txt</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>${spotbugs.plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>${maven.pmd.plugin.version}</version> <configuration> <failOnViolation>false</failOnViolation> <rulesets> <ruleset>src/devops/pmd.xml</ruleset> </rulesets> <targetJdk>${java.compilation.target}</targetJdk> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.maven.plugin.version}</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>INSTRUCTION</counter> <value>COVEREDRATIO</value> <minimum>${jacoco.coverage.percentage.minimum}</minimum> </limit> <limit> <counter>CLASS</counter> <value>MISSEDCOUNT</value> <maximum>${jacoco.classes.missed.minimum}</maximum> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-publish-plugin</artifactId> <version>${maven.scm.publish.plugin.version}</version> <configuration> <content>${project.build.directory}/site</content> <checkoutDirectory>${site.publish.checkout.directory}</checkoutDirectory> <scmBranch>gh-pages</scmBranch> <tryUpdate>true</tryUpdate> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.9.5</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-cipher</artifactId> <version>1.4</version> </dependency> </dependencies> <executions> <execution> <id>scm-publish</id> <phase>site-deploy</phase> <!-- deploy site with maven-scm-publish-plugin --> <goals> <goal>publish-scm</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${maven.site.plugin.version}</version> <configuration> <!-- don't deploy site with maven-site-plugin --> <skipDeploy>true</skipDeploy> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> <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> <autoDropAfterRelease>true</autoDropAfterRelease> <stagingProfileId>26a9600c05a6d3</stagingProfileId> </configuration> </plugin> </plugins> <testResources> <testResource> <directory>src/test/resources</directory> </testResource> </testResources> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc.plugin.version}</version> <configuration> <failOnError>false</failOnError> <failOnWarnings>false</failOnWarnings> <excludes>**/*Test*.java</excludes> </configuration> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven.checkstyle.plugin.version}</version> <configuration> <configLocation>${basedir}/src/devops/checkstyle.xml</configLocation> <suppressionsLocation>${basedir}/src/devops/checkstyle-suppressions.xml</suppressionsLocation> <includeTestSourceDirectory>false</includeTestSourceDirectory> <enableRulesSummary>false</enableRulesSummary> </configuration> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.maven.plugin.version}</version> <reportSets> <reportSet> <reports> <report>report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>com.github.siom79.japicmp</groupId> <artifactId>japicmp-maven-plugin</artifactId> <version>0.13.1</version> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>${apache.rat.plugin.version}</version> <configuration> <excludes> <exclude>.tests/**</exclude> <exclude>logs/**</exclude> <exclude>src/test/resources/org/tmatesoft/svn/test/apache.config.template</exclude> <exclude>src/test/resources/org/tmatesoft/svn/test/test.properties.template</exclude> <exclude>src/test/resources/org/tmatesoft/svn/test/svnserve.config.template</exclude> <exclude>src/main/resources/banner.txt</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>${spotbugs.plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>${maven.pmd.plugin.version}</version> <configuration> <failOnViolation>false</failOnViolation> <rulesets> <ruleset>src/devops/pmd.xml</ruleset> </rulesets> <targetJdk>${java.compilation.target}</targetJdk> </configuration> <reportSets> <reportSet> <reports> <report>pmd</report> <report>cpd</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>${maven.changes.plugin.version}</version> <configuration> <xmlPath>${basedir}/src/changes/changes.xml</xmlPath> <columnNames>Fix Version,Key,Component,Summary,Type,Resolution,Status</columnNames> <!-- Sort cols in natural order when using JQL for JIRA 5.1 --> <sortColumnNames>Fix Version DESC,Type,Key DESC</sortColumnNames> <resolutionIds>Fixed</resolutionIds> <statusIds>Closed</statusIds> <!-- Don't include sub-task --> <typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds> <!-- For JIRA >= 5.1 --> <useJql>true</useJql> <onlyCurrentVersion>false</onlyCurrentVersion> <maxEntries>100</maxEntries> <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot> <issueLinkTemplatePerSystem> <github>http://github.com/Hygieia/hygieia-subversion-scm-collector/issues/%ISSUE%</github> </issueLinkTemplatePerSystem> </configuration> <reportSets> <reportSet> <reports> <report>changes-report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>${maven.project-info.version}</version> <!-- Unfortunately it does not appear to be possible to override reports configured in a parent POM. See https://jira.codehaus.org/browse/MPIR-241 and https://issues.apache.org/jira/browse/MPOM-32 So we define here all those reports that are suitable for all components. Components can add extra reports if they wish, but cannot disable any. --> <reportSets> <reportSet> <reports> <report>index</report> <report>summary</report> <report>modules</report> <!-- <report>license</report> site must link to ASF page instead --> <report>team</report> <report>scm</report> <report>issue-management</report> <report>mailing-lists</report> <report>dependency-info</report> <report>dependency-management</report> <report>dependencies</report> <report>dependency-convergence</report> <report>ci-management</report> <!-- <report>plugin-management</report> not very useful for end users --> <!-- <report>plugins</report> not very useful for end users --> <report>distribution-management</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${maven.site.plugin.version}</version> <configuration> <!-- Exclude the navigation file for Maven 1 sites and the changes file used by the changes-plugin, as they interfere with the site generation. --> <moduleExcludes> <xdoc>navigation.xml,changes.xml</xdoc> </moduleExcludes> </configuration> </plugin> </plugins> </reporting> <profiles> <profile> <!-- Generate release notes in top-level directory from src/changes/changes.xml Usage: mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn] Defining changes.version allows one to create the RN without first removing the SNAPSHOT suffix. Requires file src/changes/release-notes.vm. A sample template is available from: https://svn.apache.org/repos/asf/commons/proper/commons-parent/trunk/src/changes/release-notes.vm --> <id>release-notes</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>${maven.changes.plugin.version}</version> <configuration> <template>release-notes.vm</template> <templateDirectory>src/changes</templateDirectory> <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> <announcementDirectory>.</announcementDirectory> <announcementFile>RELEASE-NOTES.txt</announcementFile> <announceParameters> <releaseVersion>${project.version}</releaseVersion> </announceParameters> </configuration> <executions> <execution> <id>create-release-notes</id> <phase>generate-resources</phase> <goals> <goal>announcement-generate</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>setup-checkout</id> <activation> <file> <missing>site-content</missing> </file> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>prepare-checkout</id> <phase>pre-site</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <exec executable="git"> <arg line="clone -b gh-pages --single-branch ${site.publish.url} ${site.publish.checkout.directory}" /> </exec> <exec executable="git" dir="site-content"> <arg line="fetch origin gh-pages" /> </exec> <exec executable="git" dir="site-content"> <arg line="reset --hard origin/gh-pages" /> </exec> <pathconvert pathsep=" " property="dirs"> <dirset dir="${site.publish.checkout.directory}" includes="*" /> </pathconvert> </tasks> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>travis-jacoco</id> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.maven.plugin.version}</version> </plugin> <plugin> <groupId>org.eluder.coveralls</groupId> <artifactId>coveralls-maven-plugin</artifactId> <version>${coveralls.maven.plugin.version}</version> <configuration> <timestampFormat>EpochMillis</timestampFormat> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <configuration> <source>${java.compilation.source}</source> <target>${java.compilation.target}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <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> <version>${maven.javadoc.plugin.version}</version> <configuration> <doclint>none</doclint> </configuration> <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> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>