<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2011, 2014 Eurotech and/or its affiliates

     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:
      Eurotech

-->
<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.kura</groupId>
		<artifactId>kura</artifactId>
		<version>1.1.0</version>
		<relativePath>../manifest_pom.xml</relativePath>
	</parent>

	<artifactId>org.eclipse.kura.protocol.modbus</artifactId>
	<version>1.0.1</version>
	<packaging>eclipse-plugin</packaging>

	<properties>
		<kura.basedir>${project.basedir}/..</kura.basedir>
	</properties>

        <build>
                <plugins>
                        <plugin>
                                <groupId>org.eclipse.tycho</groupId>
                                <artifactId>tycho-packaging-plugin</artifactId>
                                <version>${tycho-version}</version>
                                <configuration>
                                        <format>'${kura.build.version}'</format>
                                </configuration>
                                <executions>
                                        <execution>
                                                <phase>package</phase>
                                                <id>package-plugin</id>
                                                <goals>
                                                        <goal>package-plugin</goal>
                                                </goals>
                                                <configuration>
                                                        <finalName>${project.artifactId}_${project.version}.v${kura.build.version}</finalName>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>
                <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.eclipse.tycho
                								</groupId>
                								<artifactId>
                									tycho-compiler-plugin
                								</artifactId>
                								<versionRange>
                									[0.20.0,)
                								</versionRange>
                								<goals>
                									<goal>compile</goal>
                								</goals>
                							</pluginExecutionFilter>
                							<action>
                								<ignore></ignore>
                							</action>
                						</pluginExecution>
                						<pluginExecution>
                							<pluginExecutionFilter>
                								<groupId>
                									org.eclipse.tycho
                								</groupId>
                								<artifactId>
                									tycho-packaging-plugin
                								</artifactId>
                								<versionRange>
                									[0.20.0,)
                								</versionRange>
                								<goals>
                									<goal>
                										validate-id
                									</goal>
                									<goal>
                										build-qualifier
                									</goal>
                									<goal>
                										validate-version
                									</goal>
                								</goals>
                							</pluginExecutionFilter>
                							<action>
                								<ignore></ignore>
                							</action>
                						</pluginExecution>
                						<pluginExecution>
                							<pluginExecutionFilter>
                								<groupId>
                									org.jacoco
                								</groupId>
                								<artifactId>
                									jacoco-maven-plugin
                								</artifactId>
                								<versionRange>
                									[0.6.4.201312101107,)
                								</versionRange>
                								<goals>
                									<goal>
                										prepare-agent
                									</goal>
                								</goals>
                							</pluginExecutionFilter>
                							<action>
                								<ignore></ignore>
                							</action>
                						</pluginExecution>
                					</pluginExecutions>
                				</lifecycleMappingMetadata>
                			</configuration>
                		</plugin>
                	</plugins>
                </pluginManagement>
        </build>
</project>
