| <?xml version="1.0" encoding="UTF-8"?> |
| <!--#======================================================================= --> |
| <!--# Copyright (c) 2012, 2014 - C4biz Softwares ME, Loetz GmbH&Co.KG (69115 Heidelberg, Germany) --> |
| <!--# All rights reserved. This program and the accompanying materials --> |
| <!--# are made available under the terms of the Eclipse Public License 2.0 --> |
| <!--# which accompanies this distribution, and is available at --> |
| <!--# https://www.eclipse.org/legal/epl-2.0/ --> |
| <!--# --> |
| <!--# SPDX-License-Identifier: EPL-2.0 --> |
| <!--# --> |
| <!--# Contributors: --> |
| <!--# Cristiano GaviĆ£o (C4biz)- 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.eclipse.osbp.releng.maven</groupId> |
| <artifactId>org.eclipse.osbp.releng.maven</artifactId> |
| <version>0.9.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>org.eclipse.osbp.releng.maven.parent.mbp2</artifactId> |
| |
| <packaging>pom</packaging> |
| |
| <properties> |
| <mbp.version>3.2.0</mbp.version> |
| <license.copyrightOwners>Loetz GmbH&Co.KG and others</license.copyrightOwners> |
| </properties> |
| |
| <scm> |
| <connection>${osbp.scm.connection}</connection> |
| <developerConnection>${osbp.scm.connection.dev}</developerConnection> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <profiles> |
| <profile> |
| <id>no-add-qualifier</id> |
| <activation> |
| <property> |
| <name>osbp.build.noqualifier</name> |
| </property> |
| </activation> |
| <properties> |
| <baseline.failOnError>true</baseline.failOnError> |
| <baseline.failOnWarning>true</baseline.failOnWarning> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-integration</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${basedir}</directory> |
| <includes> |
| <include>*.jar</include> |
| <include>META-INF/</include> |
| <include>OSGI-INF/</include> |
| </includes> |
| <followSymlinks>false</followSymlinks> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>${mbp.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <obrRepository>NONE</obrRepository> |
| </configuration> |
| <executions> |
| <execution> |
| <id>bundle</id> |
| <goals> |
| <goal>bundle</goal> |
| </goals> |
| <inherited>true</inherited> |
| <configuration> |
| <instructions> |
| <Bundle-Vendor>Eclipse OSBP</Bundle-Vendor> |
| <Bundle-Name>${project.name}</Bundle-Name> |
| <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy> |
| <Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment> |
| <_dsannotations>*</_dsannotations> |
| <!-- <Include-Resource>{maven-resources},META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource> --> |
| <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
| <_removeheaders>Private-Package,Ignore-Package,Include-Resource</_removeheaders> |
| </instructions> |
| </configuration> |
| </execution> |
| <execution> |
| <id>baseline</id> |
| <goals> |
| <goal>baseline</goal> |
| </goals> |
| <configuration> |
| <skip>${osbp.build.ignore.baseline}</skip> |
| <failOnWarning>${baseline.failOnWarning}</failOnWarning> |
| <failOnError>${baseline.failOnError}</failOnError> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| <configuration> |
| <skipTests>${osbp.skip.tests}</skipTests> |
| <argLine>${jacoco.agent.ut.arg}</argLine> |
| <!-- Specific to generate mapping between tests and covered code --> |
| <properties> |
| <property> |
| <name>listener</name> |
| <value>org.sonar.java.jacoco.JUnitListener</value> |
| </property> |
| </properties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <reportSets> |
| <reportSet> |
| <id>baseline-report</id> |
| <reports> |
| <report>baseline-report</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| </plugins> |
| </reporting> |
| </profile> |
| </profiles> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>${surefire.version}</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <dependencies> |
| <!-- those deps must only be used for unit tests. in order to run osgi |
| it tests you must use the proper bundle from org.eclipse.osbp.osgi group --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.annotation</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <!-- <dependency> --> |
| <!-- <groupId>org.eclipse.osbp.releng.maven</groupId> --> |
| <!-- <artifactId>org.eclipse.osbp.releng.maven.licenses</artifactId> --> |
| <!-- <classifier>third-party</classifier> --> |
| <!-- <type>properties</type> --> |
| <!-- <scope>provided</scope> --> |
| <!-- </dependency> --> |
| </dependencies> |
| </project> |