blob: e6f44e1b4256a24ab812249f3d7eb034a1541058 [file] [log] [blame]
<?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>org.eclipse.app4mc.cloud</groupId>
<artifactId>org.eclipse.app4mc.cloud.migration</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<description>The org.eclipse.app4mc.cloud.migration application - built using OSGi enRoute R7</description>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bnd.version>5.3.0</bnd.version>
</properties>
<modules>
<module>migration-app</module>
<module>migration-service</module>
</modules>
<repositories>
<repository>
<id>Apache Snapshots</id>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>http://repository.apache.org/content/groups/snapshots/</url>
</repository>
<repository>
<id>OSGi</id>
<name>OSGi public binaries</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>http://oss.sonatype.org/content/groups/osgi</url>
</repository>
</repositories>
<build>
<pluginManagement>
<plugins>
<!-- Define the version of the baseline plugin we use and
avoid failing when no baseline jar exists. (for example before the first
release) -->
<!-- Define the version of the export plugin we use -->
<!-- Define the version of the resolver plugin we use -->
<!-- Define the version of the testing plugin that we use -->
<!-- Required to make the maven-jar-plugin pick up the bnd
generated manifest. Also avoid packaging empty Jars -->
<!-- Setup the indexer for running and testing -->
<!-- Use the bnd-maven-plugin and assemble the symbolic names -->
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-baseline-maven-plugin</artifactId>
<version>${bnd.version}</version>
<configuration>
<failOnMissing>false</failOnMissing>
</configuration>
<executions>
<execution>
<goals>
<goal>baseline</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-export-maven-plugin</artifactId>
<version>${bnd.version}</version>
<configuration>
<failOnChanges>true</failOnChanges>
<resolve>true</resolve>
</configuration>
<executions>
<execution>
<goals>
<goal>export</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-indexer-maven-plugin</artifactId>
<version>${bnd.version}</version>
<configuration>
<attach>false</attach>
<localURLs>REQUIRED</localURLs>
</configuration>
<executions>
<execution>
<configuration>
<indexName>${project.artifactId} Test</indexName>
<outputFile>${project.build.directory}/test-index.xml</outputFile>
<scopes>
<scope>test</scope>
</scopes>
</configuration>
<goals>
<goal>index</goal>
</goals>
<id>test-index</id>
</execution>
<execution>
<configuration>
<indexName>${project.artifactId}</indexName>
</configuration>
<goals>
<goal>index</goal>
</goals>
<id>index</id>
</execution>
</executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>${bnd.version}</version>
<configuration>
<bnd>
<![CDATA[
Bundle-SymbolicName: ${project.groupId}.${project.artifactId}
-sources: true
-contract: *
]]>
</bnd>
</configuration>
<executions>
<execution>
<goals>
<goal>bnd-process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-resolver-maven-plugin</artifactId>
<version>${bnd.version}</version>
<configuration>
<bndruns/>
<failOnChanges>false</failOnChanges>
</configuration>
<executions>
<execution>
<goals>
<goal>resolve</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-testing-maven-plugin</artifactId>
<version>${bnd.version}</version>
<executions>
<execution>
<goals>
<goal>testing</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<artifactId>debug-bundles</artifactId>
<groupId>org.osgi.enroute</groupId>
<scope>test</scope>
<type>pom</type>
<version>7.0.0</version>
</dependency>
<dependency>
<artifactId>enterprise-api</artifactId>
<groupId>org.osgi.enroute</groupId>
<scope>provided</scope>
<type>pom</type>
<version>7.0.0</version>
</dependency>
<dependency>
<artifactId>impl-index</artifactId>
<groupId>org.osgi.enroute</groupId>
<scope>runtime</scope>
<type>pom</type>
<version>7.0.0</version>
</dependency>
<dependency>
<artifactId>osgi-api</artifactId>
<groupId>org.osgi.enroute</groupId>
<scope>provided</scope>
<type>pom</type>
<version>7.0.0</version>
</dependency>
<dependency>
<artifactId>test-bundles</artifactId>
<groupId>org.osgi.enroute</groupId>
<scope>test</scope>
<type>pom</type>
<version>7.0.0</version>
</dependency>
<dependency>
<artifactId>org.apache.felix.http.jetty</artifactId>
<groupId>org.apache.felix</groupId>
<version>4.1.12</version>
</dependency>
</dependencies>
</dependencyManagement>
<pluginRepositories>
<pluginRepository>
<id>Bnd Snapshots</id>
<name>Bnd Latest build</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>http://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles/</url>
</pluginRepository>
</pluginRepositories>
</project>