mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-11 13:41:53 +01:00
bdd664bd43
Signed-off-by: Davy Vanherbergen <davy.vanherbergen@gmail.com>
198 lines
7.2 KiB
XML
198 lines
7.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<prerequisites>
|
|
<maven>3.0</maven>
|
|
</prerequisites>
|
|
|
|
<parent>
|
|
<groupId>org.openhab.core</groupId>
|
|
<artifactId>pom-bundle-spec</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>pom-tycho</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>openHAB - Tycho settings</name>
|
|
<description>This pom contains the settings for Bundles using the Tycho</description>
|
|
|
|
<!-- dependencies, which are not available in a p2-repository -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>org.apache.felix.fileinstall</artifactId>
|
|
<version>3.4.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>${tycho-groupid}</groupId>
|
|
<artifactId>tycho-maven-plugin</artifactId>
|
|
<version>${tycho-version}</version>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>${tycho-groupid}</groupId>
|
|
<artifactId>target-platform-configuration</artifactId>
|
|
<version>${tycho-version}</version>
|
|
<configuration>
|
|
<resolver>p2</resolver>
|
|
<ignoreTychoRepositories>true</ignoreTychoRepositories>
|
|
<pomDependencies>consider</pomDependencies>
|
|
<environments>
|
|
<environment>
|
|
<os>linux</os>
|
|
<ws>gtk</ws>
|
|
<arch>x86</arch>
|
|
</environment>
|
|
<environment>
|
|
<os>linux</os>
|
|
<ws>gtk</ws>
|
|
<arch>x86_64</arch>
|
|
</environment>
|
|
<environment>
|
|
<os>win32</os>
|
|
<ws>win32</ws>
|
|
<arch>x86</arch>
|
|
</environment>
|
|
<environment>
|
|
<os>macosx</os>
|
|
<ws>cocoa</ws>
|
|
<arch>x86_64</arch>
|
|
</environment>
|
|
</environments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>${tycho-groupid}</groupId>
|
|
<artifactId>tycho-packaging-plugin</artifactId>
|
|
<version>${tycho-version}</version>
|
|
<configuration>
|
|
<strictVersions>false</strictVersions>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>${tycho-groupid}</groupId>
|
|
<artifactId>tycho-compiler-plugin</artifactId>
|
|
<version>${tycho-version}</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>${tycho-groupid}</groupId>
|
|
<artifactId>tycho-versions-plugin</artifactId>
|
|
<version>${tycho-version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>prepare-release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>tycho-versions-plugin</artifactId>
|
|
<version>${tycho-version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>update-version</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>set-version</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>deploy</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>${repo.id}</id>
|
|
<url>${repo.url}/maven</url>
|
|
<uniqueVersion>false</uniqueVersion>
|
|
</repository>
|
|
</distributionManagement>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>${tycho-groupid}</groupId>
|
|
<artifactId>tycho-source-plugin</artifactId>
|
|
<version>${tycho-version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>plugin-source</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>plugin-source</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<sourceBundle>true</sourceBundle>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>prepare-next-snapshot</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>tycho-versions-plugin</artifactId>
|
|
<version>${tycho-version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>update-version</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>set-version</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<repositories>
|
|
|
|
<!-- SmartHome p2 repository -->
|
|
<repository>
|
|
<id>p2-smarthome</id>
|
|
<url>http://download.eclipse.org/smarthome/updates-stable</url>
|
|
<layout>p2</layout>
|
|
</repository>
|
|
|
|
<!-- openHAB dependencies p2 repository -->
|
|
<repository>
|
|
<id>p2-openhab-deps-repo</id>
|
|
<url>http://repository-openhab.forge.cloudbees.com/release/openhab-deps-repo/${ohdr.version}</url>
|
|
<layout>p2</layout>
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
</project>
|