mirror of
https://github.com/NationalSecurityAgency/timely.git
synced 2026-11-08 01:07:08 -10:00
840 lines
30 KiB
XML
840 lines
30 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>timely</groupId>
|
|
<artifactId>timely</artifactId>
|
|
<version>1.3.1-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>Timely</name>
|
|
<description>A secure and scalable time series database based on Apache Accumulo</description>
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
|
</license>
|
|
</licenses>
|
|
<modules>
|
|
<module>common</module>
|
|
<module>client</module>
|
|
<module>server</module>
|
|
<module>grafana</module>
|
|
<module>analytics</module>
|
|
<module>balancer</module>
|
|
<module>grafana-auth</module>
|
|
</modules>
|
|
<scm>
|
|
<connection>scm:git:https://github.com/NationalSecurityAgency/timely.git</connection>
|
|
<developerConnection>scm:git:[email protected]:NationalSecurityAgency/timely.git</developerConnection>
|
|
<url>https://github.com/NationalSecurityAgency/timely</url>
|
|
</scm>
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/NationalSecurityAgency/timely/issues</url>
|
|
</issueManagement>
|
|
<properties>
|
|
<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>
|
|
<collectd-api-jar>/usr/share/collectd/java/collectd-api.jar</collectd-api-jar>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<!-- Configure the os-maven-plugin extension to expand the classifier on -->
|
|
<!-- Fedora-"like" systems. -->
|
|
<os.detection.classifierWithLikes>fedora</os.detection.classifierWithLikes>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<version.accumulo>1.9.3</version.accumulo>
|
|
<version.buildnumber-maven>1.4</version.buildnumber-maven>
|
|
<version.caffeine>2.6.2</version.caffeine>
|
|
<version.collectd>5.7.1</version.collectd>
|
|
<version.commons-collections4>4.3</version.commons-collections4>
|
|
<version.commons-lang3>3.8.1</version.commons-lang3>
|
|
<version.commons-pool2>2.6.1</version.commons-pool2>
|
|
<version.curator>4.1.0</version.curator>
|
|
<version.disruptor>3.4.2</version.disruptor>
|
|
<version.easymock>4.0.2</version.easymock>
|
|
<version.eclipse-lifecycle>1.0.0</version.eclipse-lifecycle>
|
|
<version.fast-classpath-scanner>3.1.13</version.fast-classpath-scanner>
|
|
<version.flink>1.1.4</version.flink>
|
|
<version.google-flatbuffers>1.10.0</version.google-flatbuffers>
|
|
<version.guava>27.1-jre</version.guava>
|
|
<version.hadoop>2.7.7</version.hadoop>
|
|
<version.httpcomponents>4.5.6</version.httpcomponents>
|
|
<version.impsort>1.4.1</version.impsort>
|
|
<version.jackson>2.10.0</version.jackson>
|
|
<version.jackson.databind>2.10.0</version.jackson.databind>
|
|
<version.jacoco>0.8.4</version.jacoco>
|
|
<version.javacsv>2.0</version.javacsv>
|
|
<version.javassist>3.24.1-GA</version.javassist>
|
|
<version.jcip-annotations>1.0</version.jcip-annotations>
|
|
<version.jjwt>0.11.2</version.jjwt>
|
|
<version.jsoup>1.11.3</version.jsoup>
|
|
<version.junit>4.12</version.junit>
|
|
<version.log4j>2.13.3</version.log4j>
|
|
<version.maven-assembly>3.1.1</version.maven-assembly>
|
|
<version.maven-build-helper>3.0.0</version.maven-build-helper>
|
|
<version.maven-compiler>3.8.1</version.maven-compiler>
|
|
<version.maven-dependency>3.1.1</version.maven-dependency>
|
|
<version.maven-jar>3.1.2</version.maven-jar>
|
|
<version.maven-pmd>3.12.0</version.maven-pmd>
|
|
<version.maven-rpm>2.2.0</version.maven-rpm>
|
|
<version.maven-shade>3.2.1</version.maven-shade>
|
|
<version.maven-surefire>3.0.0-M3</version.maven-surefire>
|
|
<version.netty>4.1.42.Final</version.netty>
|
|
<version.netty-tcnative>2.0.25.Final</version.netty-tcnative>
|
|
<version.os-maven>1.5.0.Final</version.os-maven>
|
|
<version.powermock>1.6.4</version.powermock>
|
|
<version.slf4j>1.7.26</version.slf4j>
|
|
<version.spotbugs-maven>4.0.0</version.spotbugs-maven>
|
|
<version.spring-boot>2.1.3.RELEASE</version.spring-boot>
|
|
<version.tyrus>1.15</version.tyrus>
|
|
</properties>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${version.jackson.databind}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-guava</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jdk8</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
<artifactId>caffeine</artifactId>
|
|
<version>${version.caffeine}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.flatbuffers</groupId>
|
|
<artifactId>flatbuffers-java</artifactId>
|
|
<version>${version.google-flatbuffers}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${version.guava}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
<version>1.9.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>fi.iki.yak</groupId>
|
|
<artifactId>compression-gorilla</artifactId>
|
|
<version>2.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.lukehutch</groupId>
|
|
<artifactId>fast-classpath-scanner</artifactId>
|
|
<version>${version.fast-classpath-scanner}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
<version>${version.jjwt}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
<version>${version.jjwt}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-all</artifactId>
|
|
<version>${version.netty}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-tcnative-boringssl-static</artifactId>
|
|
<version>${version.netty-tcnative}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sourceforge.javacsv</groupId>
|
|
<artifactId>javacsv</artifactId>
|
|
<version>${version.javacsv}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.accumulo</groupId>
|
|
<artifactId>accumulo-core</artifactId>
|
|
<version>${version.accumulo}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.accumulo</groupId>
|
|
<artifactId>accumulo-minicluster</artifactId>
|
|
<version>${version.accumulo}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-collections4</artifactId>
|
|
<version>${version.commons-collections4}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${version.commons-lang3}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>${version.commons-pool2}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-client</artifactId>
|
|
<version>${version.curator}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-framework</artifactId>
|
|
<version>${version.curator}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-recipes</artifactId>
|
|
<version>${version.curator}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-x-discovery</artifactId>
|
|
<version>${version.curator}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.flink</groupId>
|
|
<artifactId>flink-clients_2.11</artifactId>
|
|
<version>${version.flink}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.flink</groupId>
|
|
<artifactId>flink-java</artifactId>
|
|
<version>${version.flink}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.flink</groupId>
|
|
<artifactId>flink-streaming-java_2.11</artifactId>
|
|
<version>${version.flink}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-client</artifactId>
|
|
<version>${version.hadoop}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty-util</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-common</artifactId>
|
|
<version>${version.hadoop}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty-util</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-minicluster</artifactId>
|
|
<version>${version.hadoop}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty-util</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>${version.httpcomponents}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.tyrus</groupId>
|
|
<artifactId>tyrus-client</artifactId>
|
|
<version>${version.tyrus}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.tyrus</groupId>
|
|
<artifactId>tyrus-container-grizzly-client</artifactId>
|
|
<version>${version.tyrus}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>${version.jsoup}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${version.slf4j}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>timely</groupId>
|
|
<artifactId>collectd-plugin-parent</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>timely</groupId>
|
|
<artifactId>timely-balancer</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>timely</groupId>
|
|
<artifactId>timely-client</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>timely</groupId>
|
|
<artifactId>timely-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>timely</groupId>
|
|
<artifactId>timely-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>collectd</groupId>
|
|
<artifactId>collectd-api</artifactId>
|
|
<version>${version.collectd}</version>
|
|
<scope>system</scope>
|
|
<systemPath>${collectd-api-jar}</systemPath>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.lmax</groupId>
|
|
<artifactId>disruptor</artifactId>
|
|
<version>${version.disruptor}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>${version.log4j}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>${version.log4j}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
<version>${version.log4j}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
<version>${version.javassist}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- Import dependency management from Spring Boot -->
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${version.spring-boot}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${version.junit}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.jcip</groupId>
|
|
<artifactId>jcip-annotations</artifactId>
|
|
<version>${version.jcip-annotations}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymock</artifactId>
|
|
<version>${version.easymock}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-easymock-release-full</artifactId>
|
|
<version>${version.powermock}</version>
|
|
<classifier>full</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<version>2.11.0</version>
|
|
<configuration>
|
|
<compilerCompliance>${maven.compiler.source}</compilerCompliance>
|
|
<compilerSource>${maven.compiler.source}</compilerSource>
|
|
<compilerTargetPlatform>${maven.compiler.target}</compilerTargetPlatform>
|
|
<configFile>${project.parent.basedir}/eclipse/Eclipse-Formatter.xml</configFile>
|
|
<lineEnding>LF</lineEnding>
|
|
<overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
|
|
<skipCssFormatting>true</skipCssFormatting>
|
|
<skipHtmlFormatting>true</skipHtmlFormatting>
|
|
<skipJsFormatting>true</skipJsFormatting>
|
|
<skipJsonFormatting>true</skipJsonFormatting>
|
|
<skipXmlFormatting>true</skipXmlFormatting>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.ekryd.sortpom</groupId>
|
|
<artifactId>sortpom-maven-plugin</artifactId>
|
|
<version>2.10.0</version>
|
|
<configuration>
|
|
<predefinedSortOrder>recommended_2008_06</predefinedSortOrder>
|
|
<createBackupFile>false</createBackupFile>
|
|
<lineSeparator>\n</lineSeparator>
|
|
<expandEmptyElements>false</expandEmptyElements>
|
|
<nrOfIndentSpace>2</nrOfIndentSpace>
|
|
<sortDependencies>scope,groupId,artifactId</sortDependencies>
|
|
<sortProperties>true</sortProperties>
|
|
<verifyFail>Stop</verifyFail>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${version.maven-assembly}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${version.maven-compiler}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${version.maven-dependency}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${version.maven-surefire}</version>
|
|
<configuration>
|
|
<argLine>${failsafeArgLine} -Djava.library.path=${project.build.directory}/native/META-INF/native/libnetty_tcnative_linux_x86_64.so -Dzookeeper.sasl.client=false</argLine>
|
|
<includes>
|
|
<include>**/*.java</include>
|
|
</includes>
|
|
<groups>timely.test.IntegrationTest</groups>
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${version.maven-jar}</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Implementation-Build>${buildNumber}</Implementation-Build>
|
|
<Implementation-Timestamp>${timestamp}</Implementation-Timestamp>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>${version.maven-shade}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${version.maven-surefire}</version>
|
|
<configuration>
|
|
<argLine>${sureFireArgLine} -Djava.library.path=${project.build.directory}/native/META-INF/native/libnetty-tcnative_linux_x86_64.so -Dzookeeper.sasl.client=false</argLine>
|
|
<excludedGroups>timely.test.IntegrationTest</excludedGroups>
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>${version.maven-build-helper}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<version>${version.buildnumber-maven}</version>
|
|
<configuration>
|
|
<doCheck>false</doCheck>
|
|
<doUpdate>false</doUpdate>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${version.spotbugs-maven}</version>
|
|
<configuration>
|
|
<effort>Max</effort>
|
|
<threshold>Medium</threshold>
|
|
<xmlOutput>true</xmlOutput>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${version.jacoco}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>rpm-maven-plugin</artifactId>
|
|
<version>${version.maven-rpm}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<version>${version.impsort}</version>
|
|
<configuration>
|
|
<groups>java.,javax.,*</groups>
|
|
<removeUnused>true</removeUnused>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.0.0-M2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-maven</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireMavenVersion>
|
|
<version>3.5.0</version>
|
|
</requireMavenVersion>
|
|
<requireJavaVersion>
|
|
<version>[${maven.compiler.target},)</version>
|
|
</requireJavaVersion>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-buildnumber</id>
|
|
<goals>
|
|
<goal>create</goal>
|
|
</goals>
|
|
<phase>validate</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>jacoco-prepare-ut</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
<phase>process-test-classes</phase>
|
|
<configuration>
|
|
<destFile>${project.build.directory}/coverage/jacoco-ut.exec</destFile>
|
|
<propertyName>sureFireArgLine</propertyName>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>jacoco-prepare-it</id>
|
|
<goals>
|
|
<goal>prepare-agent-integration</goal>
|
|
</goals>
|
|
<phase>pre-integration-test</phase>
|
|
<configuration>
|
|
<destFile>${project.build.directory}/coverage/jacoco-it.exec</destFile>
|
|
<propertyName>failsafeArgLine</propertyName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.ekryd.sortpom</groupId>
|
|
<artifactId>sortpom-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sort-pom</id>
|
|
<goals>
|
|
<goal>sort</goal>
|
|
</goals>
|
|
<phase>process-sources</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code.formatter</groupId>
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>format-java-source</id>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sort-imports</id>
|
|
<goals>
|
|
<goal>sort</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>spotbugs</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<phase>prepare-package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${version.spotbugs-maven}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<configuration>
|
|
<targetJdk>${maven.compiler.target}</targetJdk>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${version.jacoco}</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<id>JaCoCo Unit Test Coverage</id>
|
|
<reports>
|
|
<report>report</report>
|
|
</reports>
|
|
<configuration>
|
|
<dataFile>${project.build.directory}/coverage/jacoco-ut.exec</dataFile>
|
|
</configuration>
|
|
</reportSet>
|
|
<reportSet>
|
|
<id>JaCoCo Integration Test Coverage</id>
|
|
<reports>
|
|
<report>report-integration</report>
|
|
</reports>
|
|
<configuration>
|
|
<dataFile>${project.build.directory}/coverage/jacoco-it.exec</dataFile>
|
|
</configuration>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
<profiles>
|
|
<profile>
|
|
<id>collectd</id>
|
|
<modules>
|
|
<module>collectd-timely-plugin</module>
|
|
<module>collectd-nsq-plugin</module>
|
|
<module>collectd-plugin-parent</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>add-spotbugs-excludes</id>
|
|
<activation>
|
|
<file>
|
|
<exists>src/main/spotbugs/excludes.xml</exists>
|
|
</file>
|
|
</activation>
|
|
<properties>
|
|
<spotbugs.excludeFilterFile>src/main/spotbugs/excludes.xml</spotbugs.excludeFilterFile>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>m2e</id>
|
|
<activation>
|
|
<property>
|
|
<name>m2e.version</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<maven.compiler.release>8</maven.compiler.release>
|
|
</properties>
|
|
<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>${version.eclipse-lifecycle}</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<versionRange>[0,)</versionRange>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<versionRange>[0,)</versionRange>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>com.github.ekryd.sortpom</groupId>
|
|
<artifactId>sortpom-maven-plugin</artifactId>
|
|
<versionRange>[0,)</versionRange>
|
|
<goals>
|
|
<goal>sort</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>jdk-release-flag</id>
|
|
<activation>
|
|
<jdk>[9,)</jdk>
|
|
</activation>
|
|
<properties>
|
|
<maven.compiler.release>8</maven.compiler.release>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|