<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- ~ Copyright (c) 2020 Kentyou. ~ All rights reserved. This program and the accompanying materials ~ are made available under the terms of the Eclipse Public License v1.0 ~ which accompanies this distribution, and is available at ~ http://www.eclipse.org/legal/epl-v10.html ~ ~ Contributors: * Kentyou - initial API and implementation --> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.eclipse.sensinact</groupId> <artifactId>gateway</artifactId> <version>2.0-SNAPSHOT</version> <packaging>pom</packaging> <name>sensiNact IoT Gateway - Gateway Project</name> <!-- ================================================================== --> <!-- MAVEN GOALS --> <!-- ================================================================== --> <!-- versions:display-dependency-updates --> <!-- versions:display-plugin-updates --> <!-- ================================================================== --> <properties> <!-- Maven enforcer plugin configuration --> <minimum.maven.version>3.3.9</minimum.maven.version> <!-- IMPORTANT --> <!-- some version numbers are duplicated here: --> <!-- integration-tests/mqtt-it/src/test/java/org/eclipse/sensinact/gateway/device/mqtt/lite/it/util/MqttTestITAbstract.java --> <!-- OSGi release --> <org.osgi.version>6.0.0</org.osgi.version> <org.osgi.compendium.version>7.0.0</org.osgi.compendium.version> <!-- OSGi specifications --> <org.osgi.annotation.version>7.0.0</org.osgi.annotation.version> <org.osgi.namespace.extender.version>1.0.1</org.osgi.namespace.extender.version> <org.osgi.service.cm.version>1.6.0</org.osgi.service.cm.version> <org.osgi.service.component.version>1.4.0</org.osgi.service.component.version> <org.osgi.service.log.version>1.4.0</org.osgi.service.log.version> <org.osgi.service.metatype.version>1.4.0</org.osgi.service.metatype.version> <org.osgi.service.remoteserviceadmin.version>1.1.0</org.osgi.service.remoteserviceadmin.version> <org.osgi.service.http.whiteboeard.version>1.1.0</org.osgi.service.http.whiteboeard.version> <org.osgi.util.function.version>1.1.0</org.osgi.util.function.version> <org.osgi.util.promise.version>1.1.1</org.osgi.util.promise.version> <org.osgi.util.pushstream.version>1.0.1</org.osgi.util.pushstream.version> <org.osgi.util.converter.version>1.0.8</org.osgi.util.converter.version> <!-- Apache Felix Version --> <org.apache.felix.version>6.0.3</org.apache.felix.version> <!-- Apache Felix Dependencies --> <org.apache.felix.bundlerepository.version>2.0.10</org.apache.felix.bundlerepository.version> <org.apache.felix.configadmin.version>1.9.16</org.apache.felix.configadmin.version> <org.apache.felix.fileinstall.version>3.6.4</org.apache.felix.fileinstall.version> <org.apache.felix.framework.security.version>2.8.1</org.apache.felix.framework.security.version> <org.apache.felix.gogo.command.version>1.1.2</org.apache.felix.gogo.command.version> <org.apache.felix.gogo.shell.version>1.1.4</org.apache.felix.gogo.shell.version> <org.apache.felix.gogo.jline.version>1.1.8</org.apache.felix.gogo.jline.version> <org.apache.felix.gogo.runtime.version>1.1.4</org.apache.felix.gogo.runtime.version> <org.apache.felix.http.api.version>3.0.0</org.apache.felix.http.api.version> <org.apache.felix.http.servlet-api.version>1.1.4</org.apache.felix.http.servlet-api.version> <org.apache.felix.log.version>1.2.2</org.apache.felix.log.version> <org.apache.felix.scr.version>2.1.16</org.apache.felix.scr.version> <org.apache.felix.shell.remote.version>1.2.0</org.apache.felix.shell.remote.version> <!-- Jetty --> <org.apache.felix.http.jetty.version>4.1.10</org.apache.felix.http.jetty.version> <org.eclipse.jetty.version>9.4.25.v20191220</org.eclipse.jetty.version> <!-- Logs --> <logback.version>1.2.3</logback.version> <log4j.version>1.2.17</log4j.version> <slf4j.version>1.7.30</slf4j.version> <slf4j.simple.version>1.7.30</slf4j.simple.version> <commons-logging.version>1.2</commons-logging.version> <!-- Tests --> <jsonassert.version>1.5.0</jsonassert.version> <com.h2database.version>1.4.200</com.h2database.version> <com.puppycrawl.tools.checkstyle.version>8.28</com.puppycrawl.tools.checkstyle.version> <junit-jupiter.compile.version>5.6.0</junit-jupiter.compile.version> <junit-platform.compile.version>1.6.0</junit-platform.compile.version> <junit-jupiter.version>5.7.2</junit-jupiter.version> <junit-platform.version>1.7.2</junit-platform.version> <assertj.version>3.20.2</assertj.version> <osgi.test.version>1.0.1</osgi.test.version> <!-- Apache Aries --> <org.apache.aries.jax.rs.version>1.0.3</org.apache.aries.jax.rs.version> <org.fusesource.hawtbuf.version>1.11</org.fusesource.hawtbuf.version> <org.fusesource.hawtdispatch.version>1.22</org.fusesource.hawtdispatch.version> <org.apache.aries.rsa.version>1.14.0</org.apache.aries.rsa.version> <org.apache.zookeeper.version>3.5.6</org.apache.zookeeper.version> <!-- Eclipse Aether --> <org.eclipse.aether.version>1.1.0</org.eclipse.aether.version> <maven-aether-provider.version>3.3.9</maven-aether-provider.version> <!-- HTTP --> <com.sun.jersey.version>1.19.4</com.sun.jersey.version> <org.apache.httpcomponents.fluent-hc.version>4.5.11</org.apache.httpcomponents.fluent-hc.version> <org.apache.httpcomponents.httpclient.version>4.5.11</org.apache.httpcomponents.httpclient.version> <org.apache.httpcomponents.httpclient-cache.version>4.5.11</org.apache.httpcomponents.httpclient-cache.version> <org.apache.httpcomponents.httpclient-osgi.version>4.5.11</org.apache.httpcomponents.httpclient-osgi.version> <org.apache.httpcomponents.httpcore-osgi.version>4.4.13</org.apache.httpcomponents.httpcore-osgi.version> <org.apache.httpcomponents.httpmime.version>4.5.11</org.apache.httpcomponents.httpmime.version> <!-- Jackson --> <com.fasterxml.jackson.core.version>2.10.0</com.fasterxml.jackson.core.version> <!-- Misc --> <bnd.lib.version>5.3.0</bnd.lib.version> <com.hazelcast.version>3.12.5</com.hazelcast.version> <commons-codec.version>1.14</commons-codec.version> <javax.inject.version>1</javax.inject.version> <javax.jmdns.version>3.4.1</javax.jmdns.version> <javax.mail.version>1.6.2</javax.mail.version> <jsr311-api.version>1.1.1</jsr311-api.version> <org.eclipse.paho.client.mqttv3.version>1.2.2</org.eclipse.paho.client.mqttv3.version> <org.fusesource.jansi.version>1.18</org.fusesource.jansi.version> <org.jline.version>3.13.2</org.jline.version> <org.json.version>20190722</org.json.version> <org.mapdb.version>1.0.8</org.mapdb.version> <org.xerial.sqlite-jdbc.version>3.30.1</org.xerial.sqlite-jdbc.version> <keycloak.version>9.0.0-SNAPSHOT-stage-20191219-003332</keycloak.version> <io.moquette.version>0.9</io.moquette.version> <io.netty.version>4.1.45.Final</io.netty.version> <org.bouncycastle.version>1.66</org.bouncycastle.version> <biz.aQute.gogo.commands.provider.verion>1.7.0</biz.aQute.gogo.commands.provider.verion> <!-- BUILD: org.apache.maven.plugins --> <maven-antrun-plugin.version>1.8</maven-antrun-plugin.version> <maven-assembly-plugin.version>3.2.0</maven-assembly-plugin.version> <maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version> <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version> <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version> <maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version> <maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version> <maven-failsafe-plugin.version>2.22.2</maven-failsafe-plugin.version> <maven-install-plugin.version>3.0.0-M1</maven-install-plugin.version> <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version> <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version> <org.apache.maven.shared.maven-filtering.version>3.1.1</org.apache.maven.shared.maven-filtering.version> <maven-scm-plugin.version>1.11.2</maven-scm-plugin.version> <maven-site-plugin.version>3.8.2</maven-site-plugin.version> <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> <!-- BUILD: BND Maven plugins --> <bnd-maven-plugin.version>6.1.0-SNAPSHOT</bnd-maven-plugin.version> <!-- BUILD: Mojos --> <mojo-build-helper-maven-plugin.version>3.0.0</mojo-build-helper-maven-plugin.version> <mojo-license-maven-plugin.version>1.20</mojo-license-maven-plugin.version> <mojo-sql-maven-plugin.version>1.5</mojo-sql-maven-plugin.version> <mojo-versions-maven-plugin.version>2.7</mojo-versions-maven-plugin.version> <mojo-xml-maven-plugin.version>1.0.2</mojo-xml-maven-plugin.version> <directory-maven-plugin.version>0.3.1</directory-maven-plugin.version> <!-- BUILD: other plugins --> <depends-maven-plugin.version>1.4.0</depends-maven-plugin.version> <download-maven-plugin>1.5.0</download-maven-plugin> <gradle-maven-plugin.version>1.0.8</gradle-maven-plugin.version> <gradle-tooling-api.version>2.13</gradle-tooling-api.version> <!-- <org.apache.maven.surefire.junit48.version>2.22.2</org.apache.maven.surefire.junit48.version> --> <org.jacoco.maven-plugin.version>0.8.5</org.jacoco.maven-plugin.version> <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version> <!-- Properties --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.build.timestamp.format>yyyyMMd</maven.build.timestamp.format> <sonar.jacoco.itReportPath>${project.basedir}/../../target/jacoco-it.exec</sonar.jacoco.itReportPath> <checkstyle.suppressions.file>checkstyle-suppressions.xml</checkstyle.suppressions.file> <checkstyle.header.file>checkstyle-sun.xml</checkstyle.header.file> <timestamp>${maven.build.timestamp}</timestamp> <!-- Connectors --> <mongodb.driver.version>3.12.0</mongodb.driver.version> <influxdb.driver.version>2.15</influxdb.driver.version> </properties> <repositories> <repository> <id>repo1.maven.org</id> <url>https://repo1.maven.org/maven2/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>bndtools.jfrog.io-snapshot</id> <url>https://bndtools.jfrog.io/bndtools/libs-snapshot</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <!-- provides moquette --> <!-- bintray is deprecated and does not server anything anymore --> <!-- <repository> --> <!-- <id>andsel</id> --> <!-- <url>https://dl.bintray.com/andsel/maven/</url> --> <!-- <releases> --> <!-- <enabled>true</enabled> --> <!-- </releases> --> <!-- <snapshots> --> <!-- <enabled>false</enabled> --> <!-- </snapshots> --> <!-- </repository> --> <!-- <repository> --> <!-- <id>jboss-ea</id> --> <!-- <url>https://repository.jboss.org/nexus/content/repositories/ea</url> --> <!-- <name>jboss repository ea</name> --> <!-- <releases> --> <!-- <enabled>true</enabled> --> <!-- </releases> --> <!-- <snapshots> --> <!-- <enabled>true</enabled> --> <!-- </snapshots> --> <!-- </repository> --> <repository> <id>jbosss-staging</id> <url>https://repository.jboss.org/nexus/content/groups/staging</url> <name>jboss repository staging</name> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <!-- provides gradle-tooling-api --> <!-- <repository> --> <!-- <id>gradle</id> --> <!-- <url>https://repo.gradle.org/gradle/libs-releases-local/</url> --> <!-- </repository> --> </repositories> <pluginRepositories> <pluginRepository> <id>repo1.maven.org</id> <url>https://repo1.maven.org/maven2/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>bndtools.jfrog.io-snapshot</id> <url>https://bndtools.jfrog.io/bndtools/libs-snapshot</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> <distributionManagement> <repository> <id>repo.eclipse.org</id> <name>sensiNact Repository - Releases</name> <url>https://repo.eclipse.org/content/repositories/sensinact-releases/</url> </repository> <snapshotRepository> <id>repo.eclipse.org</id> <name>sensiNact Repository - Snapshots</name> <url>https://repo.eclipse.org/content/repositories/sensinact-snapshots/</url> <uniqueVersion>true</uniqueVersion> </snapshotRepository> </distributionManagement> <developers> <developer> <id>lguergen</id> <name>Levent Gürgen</name> <email>levent@kentyou.com</email> <organization>Kentyou</organization> <roles> <role>Documentation</role> <role>Project Admin</role> </roles> </developer> <developer> <id>skleisarchaki</id> <name>Sofia Kleisarchaki</name> <email>sofia.kleisarchaki@kentyou.com</email> <organization>Kentyou</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>cmunilla</id> <name>Christophe Munilla</name> <email>cmunilla@kentyou.com</email> <organization>Kentyou</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>rdruilhe</id> <name>Remi Druilhe</name> <organization>CEA</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>egandrille</id> <name>Etienne Gandrille</name> <organization>CEA</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>sbergeon</id> <name>Stéphane Bergeon</name> <organization>CEA</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>jbnascimento</id> <name>Jander Botelho do Nascimento</name> <organization>CEA</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>mgalissot</id> <name>Mathieu Galissot</name> <organization>CEA</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>oganalp</id> <name>Ozan Gunalp</name> <organization>CEA</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>ybanazzouz</id> <name>Yazid Benazzouz</name> <organization>CEA</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> <developer> <id>dmoreno</id> <name>Diana Moreno</name> <organization>CEA</organization> <roles> <role>Developer</role> <role>Documentation</role> </roles> </developer> </developers> <dependencyManagement> <dependencies> <!-- ===================== --> <!-- External dependencies --> <!-- ===================== --> <!-- OSGi release --> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> <version>${org.osgi.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.cmpn</artifactId> <version>${org.osgi.compendium.version}</version> <scope>compile</scope> </dependency> <!-- OSGi specifications --> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.annotation</artifactId> <version>${org.osgi.annotation.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.namespace.extender</artifactId> <version>${org.osgi.namespace.extender.version} </version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.cm</artifactId> <version>${org.osgi.service.cm.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.component</artifactId> <version>${org.osgi.service.component.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.log</artifactId> <version>${org.osgi.service.log.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.metatype</artifactId> <version>${org.osgi.service.metatype.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.remoteserviceadmin</artifactId> <version>${org.osgi.service.remoteserviceadmin.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.http.whiteboard</artifactId> <version>${org.osgi.service.http.whiteboeard.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.util.function</artifactId> <version>${org.osgi.util.function.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.util.promise</artifactId> <version>${org.osgi.util.promise.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.util.pushstream</artifactId> <version>${org.osgi.util.pushstream.version}</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.util.converter</artifactId> <version>${org.osgi.util.converter.version}</version> </dependency> <!-- Apache Aries --> <dependency> <groupId>org.apache.aries.spec</groupId> <artifactId>org.apache.aries.javax.jax.rs-api</artifactId> <version>${org.apache.aries.jax.rs.version}</version> </dependency> <!-- Apache Felix Version --> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.framework</artifactId> <version>${org.apache.felix.version}</version> </dependency> <!-- <dependency> --> <!-- <groupId>org.apache.felix</groupId> --> <!-- <artifactId>org.apache.felix.main</artifactId> --> <!-- <version>${org.apache.felix.version}</version> --> <!-- </dependency> --> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.main.distribution</artifactId> <version>${org.apache.felix.version}</version> <type>zip</type> </dependency> <!-- Apache Felix Dependencies --> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.bundlerepository</artifactId> <version>${org.apache.felix.bundlerepository.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.configadmin</artifactId> <version>${org.apache.felix.configadmin.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.fileinstall</artifactId> <version>${org.apache.felix.fileinstall.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.framework.security</artifactId> <version>${org.apache.felix.framework.security.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.gogo.command</artifactId> <version>${org.apache.felix.gogo.command.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.gogo.jline</artifactId> <version>${org.apache.felix.gogo.jline.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.gogo.runtime</artifactId> <version>${org.apache.felix.gogo.runtime.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.http.api</artifactId> <version>${org.apache.felix.http.api.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.http.servlet-api</artifactId> <version>${org.apache.felix.http.servlet-api.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.log</artifactId> <version>${org.apache.felix.log.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.scr</artifactId> <version>${org.apache.felix.scr.version}</version> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.shell.remote</artifactId> <version>${org.apache.felix.shell.remote.version}</version> </dependency> <!-- Jetty --> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.http.jetty</artifactId> <version>${org.apache.felix.http.jetty.version}</version> <!-- <classifier>light</classifier> --> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>${org.eclipse.jetty.version}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-http</artifactId> <version>${org.eclipse.jetty.version}</version> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-api</artifactId> <version>${org.eclipse.jetty.version}</version> </dependency> <!-- Logs --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback.version}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>${logback.version}</version> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.simple.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>osgi-over-slf4j</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>${commons-logging.version}</version> </dependency> <!-- Tests --> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.common</artifactId> <version>${osgi.test.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.assertj.framework</artifactId> <version>${osgi.test.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.assertj.promise</artifactId> <version>${osgi.test.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.junit5</artifactId> <version>${osgi.test.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.junit5.cm</artifactId> <version>${osgi.test.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-commons</artifactId> <version>${junit-platform.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-engine</artifactId> <version>${junit-platform.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <version>${junit-platform.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-testkit</artifactId> <version>${junit-platform.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>3.11.2</version> <scope>test</scope> </dependency> <dependency> <groupId>biz.aQute.bnd</groupId> <artifactId>biz.aQute.tester.junit-platform</artifactId> <version>5.3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> <version>${jsonassert.version}</version> <exclusions> <exclusion> <groupId>com.vaadin.external.google</groupId> <artifactId>android-json</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>${com.h2database.version}</version> </dependency> <!-- Apache Aries --> <dependency> <groupId>org.fusesource.hawtbuf</groupId> <artifactId>hawtbuf</artifactId> <version>${org.fusesource.hawtbuf.version}</version> </dependency> <dependency> <groupId>org.fusesource.hawtdispatch</groupId> <artifactId>hawtdispatch</artifactId> <version>${org.fusesource.hawtdispatch.version}</version> </dependency> <dependency> <groupId>org.apache.aries.rsa</groupId> <artifactId>org.apache.aries.rsa.core</artifactId> <version>${org.apache.aries.rsa.version}</version> </dependency> <dependency> <groupId>org.apache.aries.rsa.discovery</groupId> <artifactId>org.apache.aries.rsa.discovery.local</artifactId> <version>${org.apache.aries.rsa.version}</version> </dependency> <dependency> <groupId>org.apache.aries.rsa.discovery</groupId> <artifactId>org.apache.aries.rsa.discovery.zookeeper</artifactId> <version>${org.apache.aries.rsa.version}</version> </dependency> <dependency> <groupId>org.apache.aries.rsa.provider</groupId> <artifactId>org.apache.aries.rsa.provider.fastbin</artifactId> <version>${org.apache.aries.rsa.version}</version> </dependency> <dependency> <groupId>org.apache.aries.rsa</groupId> <artifactId>org.apache.aries.rsa.spi</artifactId> <version>${org.apache.aries.rsa.version}</version> </dependency> <dependency> <groupId>org.apache.aries.rsa</groupId> <artifactId>org.apache.aries.rsa.topology-manager</artifactId> <version>${org.apache.aries.rsa.version}</version> </dependency> <dependency> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> <version>${org.apache.zookeeper.version}</version> </dependency> <!-- Eclipse Aether --> <dependency> <groupId>org.eclipse.aether</groupId> <artifactId>aether-api</artifactId> <version>${org.eclipse.aether.version}</version> </dependency> <dependency> <groupId>org.eclipse.aether</groupId> <artifactId>aether-impl</artifactId> <version>${org.eclipse.aether.version}</version> </dependency> <dependency> <groupId>org.eclipse.aether</groupId> <artifactId>aether-util</artifactId> <version>${org.eclipse.aether.version}</version> </dependency> <dependency> <groupId>org.eclipse.aether</groupId> <artifactId>aether-transport-http</artifactId> <version>${org.eclipse.aether.version}</version> </dependency> <dependency> <groupId>org.eclipse.aether</groupId> <artifactId>aether-transport-file</artifactId> <version>${org.eclipse.aether.version}</version> </dependency> <dependency> <groupId>org.eclipse.aether</groupId> <artifactId>aether-spi</artifactId> <version>${org.eclipse.aether.version}</version> </dependency> <dependency> <groupId>org.eclipse.aether</groupId> <artifactId>aether-connector-basic</artifactId> <version>${org.eclipse.aether.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-aether-provider</artifactId> <version>${maven-aether-provider.version}</version> </dependency> <!-- HTTP --> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-client</artifactId> <version>${com.sun.jersey.version}</version> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-core</artifactId> <version>${com.sun.jersey.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>fluent-hc</artifactId> <version>${org.apache.httpcomponents.fluent-hc.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>${org.apache.httpcomponents.httpclient.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient-cache</artifactId> <version>${org.apache.httpcomponents.httpclient-cache.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient-osgi</artifactId> <version>${org.apache.httpcomponents.httpclient-osgi.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore-osgi</artifactId> <version>${org.apache.httpcomponents.httpcore-osgi.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>${org.apache.httpcomponents.httpmime.version}</version> </dependency> <!-- Jackson --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${com.fasterxml.jackson.core.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${com.fasterxml.jackson.core.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${com.fasterxml.jackson.core.version}</version> </dependency> <!-- Misc --> <dependency> <groupId>biz.aQute.bnd</groupId> <artifactId>biz.aQute.bndlib</artifactId> <version>${bnd.lib.version}</version> </dependency> <dependency> <groupId>biz.aQute.bnd</groupId> <artifactId>biz.aQute.bnd.annotation</artifactId> <version>${bnd-maven-plugin.version}</version> </dependency> <dependency> <groupId>com.hazelcast</groupId> <artifactId>hazelcast</artifactId> <version>${com.hazelcast.version}</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>${commons-codec.version}</version> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>${javax.inject.version}</version> </dependency> <dependency> <groupId>javax.jmdns</groupId> <artifactId>jmdns</artifactId> <version>${javax.jmdns.version}</version> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>javax.mail-api</artifactId> <version>${javax.mail.version}</version> </dependency> <dependency> <groupId>com.sun.mail</groupId> <artifactId>javax.mail</artifactId> <version>${javax.mail.version}</version> </dependency> <dependency> <groupId>javax.ws.rs</groupId> <artifactId>jsr311-api</artifactId> <version>${jsr311-api.version}</version> </dependency> <dependency> <groupId>org.eclipse.paho</groupId> <artifactId>org.eclipse.paho.client.mqttv3</artifactId> <version>${org.eclipse.paho.client.mqttv3.version}</version> </dependency> <dependency> <groupId>org.fusesource.jansi</groupId> <artifactId>jansi</artifactId> <version>${org.fusesource.jansi.version}</version> </dependency> <dependency> <groupId>org.jline</groupId> <artifactId>jline</artifactId> <version>${org.jline.version}</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>${org.json.version}</version> </dependency> <dependency> <groupId>org.mapdb</groupId> <artifactId>mapdb</artifactId> <version>${org.mapdb.version}</version> </dependency> <dependency> <groupId>org.xerial</groupId> <artifactId>sqlite-jdbc</artifactId> <version>${org.xerial.sqlite-jdbc.version}</version> </dependency> <!-- <dependency> --> <!-- <groupId>io.moquette</groupId> --> <!-- <artifactId>moquette-broker</artifactId> --> <!-- <version>${io.moquette.version}</version> --> <!-- </dependency> --> <!-- <dependency> --> <!-- <groupId>io.moquette</groupId> --> <!-- <artifactId>moquette-netty-parser</artifactId> --> <!-- <version>${io.moquette.version}</version> --> <!-- </dependency> --> <!-- Specific subproducts used are netty-transport,netty-common,netty-buffer,netty-handler,netty-codec --> <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>${io.netty.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> <version>${org.bouncycastle.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcmail-jdk15on</artifactId> <version>${org.bouncycastle.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk15on</artifactId> <version>${org.bouncycastle.version}</version> </dependency> <dependency> <groupId>biz.aQute</groupId> <artifactId>biz.aQute.gogo.commands.provider</artifactId> <version>${biz.aQute.gogo.commands.provider.verion}</version> </dependency> <!-- Gradle --> <!-- dirty trick to avoid to change the settings.xml file --> <!-- @see jsonpath-filtering:jsonpath-filter module --> <!-- <dependency> --> <!-- <groupId>org.gradle</groupId> --> <!-- <artifactId>gradle-tooling-api</artifactId> --> <!-- <version>${gradle-tooling-api.version}</version> --> <!-- </dependency> --> <!-- Connectors --> <dependency> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> <version>${mongodb.driver.version}</version> </dependency> <dependency> <groupId>org.influxdb</groupId> <artifactId>influxdb-java</artifactId> <version>${influxdb.driver.version}</version> </dependency> <!-- Misc --> <!-- <dependency> --> <!-- <groupId>org.eclipse.sensinact.integration.tests</groupId> --> <!-- <artifactId>integration-tests</artifactId> --> <!-- <version>${project.version}</version> --> <!-- </dependency> --> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.cmpn</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.annotation</artifactId> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.common</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.assertj.framework</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.assertj.promise</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.junit5</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.test.junit5.cm</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>biz.aQute.bnd</groupId> <artifactId>biz.aQute.bnd.annotation</artifactId> </dependency> </dependencies> <build> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.commonjava.maven.plugins</groupId> <artifactId>directory-maven-plugin</artifactId> <versionRange>0.3.1</versionRange> <goals> <goal>highest-basedir</goal> </goals> </pluginExecutionFilter> <action> <execute> <runOnIncremental>true</runOnIncremental> </execute> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <versionRange>1.8</versionRange> <goals> <goal>run</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> <plugin> <groupId>org.commonjava.maven.plugins</groupId> <artifactId>directory-maven-plugin</artifactId> <version>0.3.1</version> <executions> <execution> <id>directories</id> <goals> <goal>highest-basedir</goal> </goals> <phase>initialize</phase> <configuration> <property>sensinact.root.dir</property> </configuration> </execution> </executions> </plugin> <!-- BUILD: org.apache.maven.plugins --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>${maven-antrun-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>${maven-assembly-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven-checkstyle-plugin.version}</version> <executions> <!-- <execution> <id>validate</id> <phase>validate</phase> <configuration> <configLocation>${sensinact.root.dir}/checkstyle-sun.xml</configLocation> <suppressionsLocation>${sensinact.root.dir}/checkstyle-suppressions.xml</suppressionsLocation> <encoding>UTF-8</encoding> <consoleOutput>false</consoleOutput> <failsOnError>false</failsOnError> </configuration> <goals> <goal>check</goal> </goals> </execution> --> </executions> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${com.puppycrawl.tools.checkstyle.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>${maven-clean-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven-enforcer-plugin.version}</version> <executions> <execution> <id>enforce</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <banDuplicatePomDependencyVersions /> <requireMavenVersion> <version>${minimum.maven.version}</version> <message>INVALID MAVEN VERSION: It must be at least ${minimum.maven.version}</message> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-failsafe-plugin.version}</version> <executions> <execution> <id>default-integration-test</id> <goals> <goal>integration-test</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>${maven-install-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <excludePackageNames>*.internal:*.internal.*</excludePackageNames> <links> <link>https://docs.oracle.com/javase/8/docs/api/</link> </links> <version>true</version> <show>protected</show> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${maven-resources-plugin.version}</version> <!-- This maven-filtering has been added for maven-resources-plugin v2.7 --> <dependencies> <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-filtering</artifactId> <version>${org.apache.maven.shared.maven-filtering.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <version>${maven-scm-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${maven-site-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <!-- We let bnd-testing-maven-plugin do all the testing --> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <!-- <plugin> --> <!-- <groupId>org.apache.maven.plugins</groupId> --> <!-- <artifactId>maven-surefire-plugin</artifactId> --> <!-- <version>${maven-surefire-plugin.version}</version> --> <!-- <configuration> --> <!-- <classpathDependencyScopeExclude>provided</classpathDependencyScopeExclude> --> <!-- <forkCount>1</forkCount> --> <!-- <reuseForks>false</reuseForks> --> <!-- </configuration> --> <!-- <dependencies> --> <!-- <dependency> --> <!-- <groupId>org.apache.maven.surefire</groupId> --> <!-- <artifactId>common-junit48</artifactId> --> <!-- <version>${org.apache.maven.surefire.junit48.version}</version> --> <!-- </dependency> --> <!-- </dependencies> --> <!-- </plugin> --> <!-- BUILD: Mojos --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${mojo-build-helper-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>${mojo-license-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sql-maven-plugin</artifactId> <version>${mojo-sql-maven-plugin.version}</version> <dependencies> <dependency> <groupId>org.xerial</groupId> <artifactId>sqlite-jdbc</artifactId> <version>${org.xerial.sqlite-jdbc.version}</version> </dependency> </dependencies> <configuration> <driver>org.sqlite.JDBC</driver> <url>jdbc:sqlite:${sensinact.root.dir}/platform/sensinact-security/sensinact-security-core/src/test/resources/sensinact.sqlite</url> <autocommit>true</autocommit> <printResultSet>true</printResultSet> <delimiter>;</delimiter> <escapeProcessing>false</escapeProcessing> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>${mojo-versions-maven-plugin.version}</version> </plugin> <!-- BUILD: Other plugins --> <plugin> <groupId>org.apache.servicemix.tooling</groupId> <artifactId>depends-maven-plugin</artifactId> <version>${depends-maven-plugin.version}</version> <executions> <execution> <id>generate-depends-file</id> <phase>generate-resources</phase> <goals> <goal>generate-depends-file</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.googlecode.maven-download-plugin</groupId> <artifactId>download-maven-plugin</artifactId> <version>${download-maven-plugin}</version> </plugin> <plugin> <groupId>org.fortasoft</groupId> <artifactId>gradle-maven-plugin</artifactId> <version>${gradle-maven-plugin.version}</version> </plugin> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-maven-plugin</artifactId> <version>${bnd-maven-plugin.version}</version> <executions> <execution> <goals> <goal>bnd-process</goal> </goals> <configuration> <bndfile>bnd.bnd</bndfile> </configuration> </execution> <execution> <id>bnd-process-tests</id> <phase>process-test-classes</phase> <goals> <goal>bnd-process-tests</goal> </goals> <configuration> <bndfile>tests.bnd</bndfile> <artifactFragment>true</artifactFragment> <testCases>junit5</testCases> </configuration> </execution> </executions> </plugin> <!-- <plugin> --> <!-- <groupId>org.apache.maven.plugins</groupId> --> <!-- <artifactId>maven-jarsigner-plugin</artifactId> --> <!-- <version>3.0.0</version> --> <!-- <executions> --> <!-- <execution> --> <!-- <id>sign</id> --> <!-- <phase>prepare-package</phase> --> <!-- <goals> --> <!-- <goal>sign</goal> --> <!-- </goals> --> <!-- </execution> --> <!-- </executions> --> <!-- <configuration> --> <!-- <keystore>${sensinact.root.dir}/platform/sensinact-security/cert/keystore.jks</keystore> --> <!-- <alias>Sensinact Keystore</alias> --> <!-- <storepass>sensiNact_team</storepass> --> <!-- </configuration> --> <!-- </plugin> --> <!-- Required to make the maven-jar-plugin pick up the bnd generated manifest. Also avoid packaging empty Jars --> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>${sonar-maven-plugin.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.commonjava.maven.plugins</groupId> <artifactId>directory-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> </plugin> </plugins> </build> <profiles> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> </profile> <profile> <id>sonar</id> <build> <pluginManagement> <!-- <plugins> --> <!-- <plugin> --> <!-- <groupId>org.apache.maven.plugins</groupId> --> <!-- <artifactId>maven-surefire-plugin</artifactId> --> <!-- <version>${maven-surefire-plugin.version}</version> --> <!-- <configuration> --> <!-- <argLine>${surefire.argLine} -XX:MaxPermSize=512m</argLine> --> <!-- <classpathDependencyScopeExclude>provided</classpathDependencyScopeExclude> --> <!-- <forkCount>1</forkCount> --> <!-- <reuseForks>false</reuseForks> --> <!-- </configuration> --> <!-- <dependencies> --> <!-- <dependency> --> <!-- <groupId>org.apache.maven.surefire</groupId> --> <!-- <artifactId>common-junit48</artifactId> --> <!-- <version>${org.apache.maven.surefire.junit48.version}</version> --> <!-- </dependency> --> <!-- </dependencies> --> <!-- </plugin> --> <!-- </plugins> --> </pluginManagement> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${org.jacoco.maven-plugin.version}</version> <configuration> <append>true</append> </configuration> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <propertyName>surefire.argLine</propertyName> </configuration> </execution> <execution> <id>default-prepare-agent-integration</id> <goals> <goal>prepare-agent-integration</goal> </goals> <configuration> <destFile>${sonar.jacoco.itReportPath}</destFile> </configuration> </execution> <execution> <id>default-jacoco-site</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>doc</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> </plugins> </build> </profile> </profiles> <modules> <module>platform</module> <module>distribution</module> <module>integration-tests</module> </modules> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </project>