Permalink
Fetching contributors…
Cannot retrieve contributors at this time
426 lines (412 sloc) 17.1 KB
<?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>io.cereebro</groupId>
<artifactId>cereebro</artifactId>
<version>1.2.5-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Cereebro</name>
<description>Cereebro Parent POM</description>
<url>http://cereebro.io</url>
<inceptionYear>2017</inceptionYear>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Michael Tecourt</name>
<email>michael.tecourt@gmail.com</email>
<url>https://github.com/michaeltecourt</url>
</developer>
<developer>
<name>Luc Warrot</name>
<email>warrotluc@gmail.com</email>
<url>https://github.com/lucwarrot</url>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/cereebro/cereebro.git</connection>
<developerConnection>scm:git:ssh://git@github.com/cereebro/cereebro.git</developerConnection>
<url>http://github.com/cereebro/cereebro/tree/master</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>
</distributionManagement>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Dependencies versions -->
<spring-boot.version>1.5.6.RELEASE</spring-boot.version>
<spring-cloud.version>Dalston.SR2</spring-cloud.version>
<equalsverifier.version>2.3.1</equalsverifier.version>
<linkurious.version>1.5.1</linkurious.version>
<d3js.version>3.5.17</d3js.version>
<d3-plugins.version>da342b6</d3-plugins.version>
<nvd3.version>1.8.2</nvd3.version>
<rest-assured.version>3.0.3</rest-assured.version>
<!-- In multi-module projects, install and deploy artifacts only if every module builds -->
<installAtEnd>true</installAtEnd>
<deployAtEnd>true</deployAtEnd>
</properties>
<modules>
<module>cereebro-core</module>
<module>cereebro-snitch</module>
<module>cereebro-snitch-spring-boot-starter</module>
<module>cereebro-server</module>
<module>cereebro-server-spring-boot-starter</module>
<module>cereebro-server-tests</module>
</modules>
<dependencyManagement>
<dependencies>
<!-- cereebro modules -->
<dependency>
<groupId>io.cereebro</groupId>
<artifactId>cereebro-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.cereebro</groupId>
<artifactId>cereebro-spring</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.cereebro</groupId>
<artifactId>cereebro-snitch</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.cereebro</groupId>
<artifactId>cereebro-snitch-spring-boot-starter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.cereebro</groupId>
<artifactId>cereebro-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.cereebro</groupId>
<artifactId>cereebro-server-spring-boot-starter</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Spring dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- JS WebJars -->
<dependency>
<groupId>org.webjars</groupId>
<artifactId>linkurious.js</artifactId>
<version>${linkurious.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>d3js</artifactId>
<version>${d3js.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>d3-plugins</artifactId>
<version>${d3-plugins.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>nvd3</artifactId>
<version>${nvd3.version}</version>
</dependency>
<!-- MISC -->
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>${rest-assured.version}</version>
</dependency>
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>${equalsverifier.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- dependency used to auto generate metadata files for starters properties -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!-- Lombok everywhere -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<!-- Common plugins -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<compilerArgument>-Xlint</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.20</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<!-- Signing -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
<!-- Java Documentation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
</plugin>
<!-- License -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
</plugin>
<!-- Code Quality -->
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.4.0.905</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.0</version>
</plugin>
<!-- Spring -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
<includes>
<include>**/*.java</include>
<include>**/*.js</include>
<include>**/*.html</include>
</includes>
<excludes>
<exclude>**/*d3.dependencyWheel.js</exclude>
</excludes>
<properties>
<owner>the original authors</owner>
<email>http://cereebro.io</email>
</properties>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>quality</id>
<properties>
<!-- Limit memory of CI builds -->
<!-- See : https://docs.sonarqube.org/display/PLUG/Usage+of+JaCoCo+with+Java+Plugin -->
<argLine>-Xmx1024M</argLine>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>jacoco-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</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</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>
<configuration>
<executable>gpg2</executable>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>