2014-01-10 18:53:04 +04:00
<?xml version="1.0" encoding="UTF-8"?>
2015-09-28 13:55:26 +03:00
<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" >
2015-04-09 14:50:37 +03:00
<modelVersion > 4.0.0</modelVersion>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<prerequisites >
<maven > 3.0</maven>
</prerequisites>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<groupId > org.eclipse.smarthome</groupId>
<artifactId > smarthome</artifactId>
<version > 0.8.0-SNAPSHOT</version>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<name > Eclipse SmartHome</name>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<organization >
<name > Eclipse.org</name>
<url > http://www.eclipse.org/SmartHome</url>
</organization>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<licenses >
<license >
<name > Eclipse Public License</name>
<url > http://www.eclipse.org/legal/epl-v10.html</url>
</license>
</licenses>
2014-01-10 18:53:04 +04:00
2014-07-17 15:29:00 +04:00
<distributionManagement >
<repository >
<id > repo.eclipse.org</id>
<name > Eclipse SmartHome Repository - Releases</name>
2014-07-17 18:04:03 +04:00
<url > https://repo.eclipse.org/content/repositories/smarthome-releases/</url>
2014-07-17 15:29:00 +04:00
</repository>
<snapshotRepository >
<id > repo.eclipse.org</id>
<name > Eclipse SmartHome Repository - Snapshots</name>
2014-07-17 18:04:03 +04:00
<url > https://repo.eclipse.org/content/repositories/smarthome-snapshots/</url>
2014-07-17 15:29:00 +04:00
</snapshotRepository>
</distributionManagement>
2015-04-09 14:50:37 +03:00
<description > This is the Eclipse SmartHome project</description>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<properties >
2015-09-03 10:17:16 +03:00
<tycho-version > 0.23.1</tycho-version>
2015-04-09 14:50:37 +03:00
<tycho-groupid > org.eclipse.tycho</tycho-groupid>
2016-04-15 15:35:16 +03:00
<xtext-version > 2.9.2</xtext-version>
2016-01-03 17:36:25 +03:00
<karaf.version > 4.0.3</karaf.version>
2015-04-09 14:50:37 +03:00
<build.helper.maven.plugin.version > 1.8</build.helper.maven.plugin.version>
<maven.compiler.version > 3.1</maven.compiler.version>
<groovy.eclipse.compiler.version > 2.8.0-01</groovy.eclipse.compiler.version>
<groovy.eclipse.batch.version > 2.1.5-03</groovy.eclipse.batch.version>
<project.build.sourceEncoding > UTF-8</project.build.sourceEncoding>
</properties>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<packaging > pom</packaging>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<modules >
<module > bundles</module>
2015-06-10 13:27:50 +03:00
<module > extensions</module>
2015-04-09 14:50:37 +03:00
<module > features</module>
<module > products</module>
<module > tools</module>
<module > targetplatform</module>
<module > distribution</module>
</modules>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<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>
2016-01-29 15:54:18 +03:00
<configuration >
<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 > win32</os>
<ws > win32</ws>
<arch > x86_64</arch>
</environment>
<environment >
<os > macosx</os>
<ws > cocoa</ws>
<arch > x86_64</arch>
</environment>
</environments>
</configuration>
2015-04-09 14:50:37 +03:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-clean-plugin</artifactId>
<version > 2.5</version>
<configuration >
<filesets >
<fileset >
<directory > ${basedir}/xtend-gen</directory>
<includes >
<include > **</include>
</includes>
<excludes >
<exclude > .gitignore</exclude>
</excludes>
</fileset>
<fileset >
<directory > ${basedir}/src/main/generated-sources/xtend</directory>
<includes >
<include > **</include>
</includes>
<excludes >
<exclude > .gitignore</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin >
<groupId > org.eclipse.xtend</groupId>
<artifactId > xtend-maven-plugin</artifactId>
2015-06-16 17:00:16 +03:00
<configuration >
2015-09-03 10:17:16 +03:00
<javaSourceVersion > 1.7</javaSourceVersion>
2015-06-16 17:00:16 +03:00
</configuration>
2015-04-09 14:50:37 +03:00
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > build-helper-maven-plugin</artifactId>
</plugin>
<plugin >
<artifactId > maven-compiler-plugin</artifactId>
</plugin>
</plugins>
2014-02-21 15:32:30 +04:00
2015-04-09 14:50:37 +03:00
<pluginManagement >
<plugins >
<plugin >
<groupId > ${tycho-groupid}</groupId>
<artifactId > tycho-compiler-plugin</artifactId>
<version > ${tycho-version}</version>
<configuration >
<encoding > UTF-8</encoding>
<source > 1.7</source>
<target > 1.7</target>
</configuration>
</plugin>
2015-09-03 10:17:16 +03:00
<plugin >
<groupId > ${tycho-groupid}</groupId>
<artifactId > target-platform-configuration</artifactId>
<version > ${tycho-version}</version>
<configuration >
<!--
<resolver > p2</resolver>
<ignoreTychoRepositories > true</ignoreTychoRepositories>
-->
<pomDependencies > consider</pomDependencies>
<target >
<artifact >
<groupId > org.eclipse.smarthome</groupId>
<artifactId > targetplatform</artifactId>
<version > ${project.version}</version>
<classifier > smarthome</classifier>
</artifact>
</target>
</configuration>
</plugin>
<plugin >
<groupId > ${tycho-groupid}</groupId>
<artifactId > tycho-surefire-plugin</artifactId>
<version > ${tycho-version}</version>
<configuration >
<failIfNoTests > false</failIfNoTests>
</configuration>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > build-helper-maven-plugin</artifactId>
<version > ${build.helper.maven.plugin.version}</version>
<executions >
<execution >
<id > add-source</id>
<phase > generate-sources</phase>
<goals >
<goal > add-source</goal>
</goals>
<configuration >
<sources >
<source > src/main/groovy</source>
</sources>
</configuration>
</execution>
<execution >
<id > add-test-source</id>
<phase > generate-test-sources</phase>
<goals >
<goal > add-test-source</goal>
</goals>
<configuration >
<sources >
<source > src/test/groovy</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
2016-03-06 23:10:54 +03:00
<plugin >
<groupId > org.apache.felix</groupId>
<artifactId > maven-bundle-plugin</artifactId>
<version > 3.0.1</version>
<extensions > true</extensions>
<configuration >
<supportedProjectTypes >
<supportedProjectType > jar</supportedProjectType>
<supportedProjectType > bundle</supportedProjectType>
<supportedProjectType > eclipse-plugin</supportedProjectType>
</supportedProjectTypes>
</configuration>
</plugin>
2015-09-03 10:17:16 +03:00
<plugin >
<artifactId > maven-compiler-plugin</artifactId>
<version > ${maven.compiler.version}</version>
<configuration >
<compilerId > groovy-eclipse-compiler</compilerId>
</configuration>
<executions >
<execution >
<goals >
<goal > compile</goal>
</goals>
</execution>
</executions>
<dependencies >
<dependency >
<groupId > org.codehaus.groovy</groupId>
<artifactId > groovy-eclipse-compiler</artifactId>
<version > ${groovy.eclipse.compiler.version}</version>
</dependency>
<dependency >
<groupId > org.codehaus.groovy</groupId>
<artifactId > groovy-eclipse-batch</artifactId>
<version > ${groovy.eclipse.batch.version}</version>
</dependency>
</dependencies>
</plugin>
2015-04-09 14:50:37 +03:00
<plugin >
2015-04-14 21:25:47 +03:00
<groupId > com.mycila</groupId>
<artifactId > license-maven-plugin</artifactId>
<version > 2.10</version>
2015-04-09 14:50:37 +03:00
<configuration >
<basedir > ${basedir}</basedir>
<header > src/etc/header.txt</header>
<quiet > false</quiet>
<failIfMissing > true</failIfMissing>
<strictCheck > true</strictCheck>
<aggregate > true</aggregate>
<includes >
<include > **/org/eclipse/smarthome/**/*.java</include>
<include > **/org/eclipse/smarthome/**/*.groovy</include>
<include > **/feature.xml</include>
<include > **/OSGI-INF/*.xml</include>
</includes>
<excludes >
2015-04-14 21:25:47 +03:00
<exclude > **/org/eclipse/smarthome/protocols/**</exclude>
2015-04-09 14:50:37 +03:00
<exclude > target/**</exclude>
<exclude > **/pom.xml</exclude>
<exclude > _*.java</exclude>
</excludes>
<useDefaultExcludes > true</useDefaultExcludes>
<properties >
2015-04-14 21:25:47 +03:00
<year > 2015</year>
2015-04-09 14:50:37 +03:00
</properties>
<encoding > UTF-8</encoding>
</configuration>
<executions >
<execution >
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.eclipse.xtend</groupId>
<artifactId > xtend-maven-plugin</artifactId>
<version > ${xtext-version}</version>
<executions >
<execution >
<goals >
<goal > compile</goal>
<goal > xtend-install-debug-info</goal>
<goal > testCompile</goal>
<goal > xtend-test-install-debug-info</goal>
</goals>
<configuration >
<outputDirectory > ${basedir}/xtend-gen</outputDirectory>
<testOutputDirectory > ${basedir}/xtend-gen</testOutputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<groupId > ${tycho-groupid}</groupId>
<artifactId > tycho-versions-plugin</artifactId>
<version > ${tycho-version}</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-clean-plugin</artifactId>
<version > 2.5</version>
</plugin>
</plugins>
</pluginManagement>
</build>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<profiles >
<profile >
<id > sign</id>
<build >
<plugins >
<plugin >
<groupId > org.eclipse.cbi.maven.plugins</groupId>
<artifactId > eclipse-jarsigner-plugin</artifactId>
<version > 1.0.5</version>
<executions >
<execution >
<id > sign</id>
<phase > verify</phase>
<goals >
<goal > sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2015-07-15 12:57:40 +03:00
<profile >
<id > QA</id>
<build >
<plugins >
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
<version > 0.7.4.201502262128</version>
<configuration >
<dataFile > ${session.executionRootDirectory}/target/coverage.jacoco</dataFile>
<destFile > ${session.executionRootDirectory}/target/coverage.jacoco</destFile>
<append > true</append>
<excludes >
<exclude > **/*Test.*</exclude>
</excludes>
</configuration>
<executions >
<execution >
<id > default-prepare-agent</id>
<goals >
<goal > prepare-agent</goal>
</goals>
</execution>
<execution >
<id > default-prepare-agent-integration</id>
<goals >
<goal > prepare-agent-integration</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2015-09-28 13:55:26 +03:00
<!-- We need this profile in order to set ' - Xdoclint:none' as a project property which will be used later by maven - javadoc - plugin as an 'additionalparam' to be passed to the javadoc.exe. -->
<!-- This option will be used only if the JDK version is 1.8 or higher. Earlier versions of javadoc.exe does not accept this option. -->
<profile >
<id > doclint-java8-disable</id>
<activation >
<jdk > [1.8,)</jdk>
</activation>
<properties >
<javadoc.opts > -Xdoclint:none</javadoc.opts>
</properties>
</profile>
<profile >
<id > javadoc</id>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-javadoc-plugin</artifactId>
<version > 2.10.3</version>
<executions >
<execution >
<id > aggregate</id>
<goals >
<goal > aggregate-jar</goal>
</goals>
</execution>
</executions>
<configuration >
<!-- 'javadoc.opts' project property is set by the 'doclint - java8 - disable' profile. It is important to keep 'javadoc' profile declaration after the declaration of 'doclint - java8 - disable' profile. -->
<additionalparam > ${javadoc.opts}</additionalparam>
2015-10-01 12:53:06 +03:00
<excludePackageNames > *.internal.*,nl.*</excludePackageNames>
2015-09-28 13:55:26 +03:00
</configuration>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > build-helper-maven-plugin</artifactId>
<version > ${build.helper.maven.plugin.version}</version>
<executions >
<execution >
<id > attach-artifacts</id>
<phase > install</phase>
<goals >
<goal > attach-artifact</goal>
</goals>
<configuration >
<artifacts >
<artifact >
<file > ${project.build.outputDirectory}/${project.artifactId}-${project.version}.jar</file>
<type > jar</type>
<classifier > javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2015-04-09 14:50:37 +03:00
</profiles>
2014-03-18 02:49:31 +04:00
2015-04-09 14:50:37 +03:00
<pluginRepositories >
<pluginRepository >
<id > tycho-snapshots</id>
<url > https://oss.sonatype.org/content/groups/public/</url>
</pluginRepository>
<pluginRepository >
<id > cbi-releases</id>
<url > https://repo.eclipse.org/content/repositories/cbi-releases/</url>
</pluginRepository>
</pluginRepositories>
2014-01-10 18:53:04 +04:00
2015-04-09 14:50:37 +03:00
<repositories >
<repository >
<id > eclipse</id>
<name > Eclipse Snapshot Repository</name>
<layout > default</layout>
<url > https://repo.eclipse.org/content/repositories/snapshots/</url>
<snapshots >
<enabled > true</enabled>
</snapshots>
</repository>
</repositories>
2014-10-09 16:44:16 +04:00
2014-01-10 18:53:04 +04:00
</project>