<commit_before><?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>
	<groupId>org.eclipse.kura</groupId>
	<artifactId>kura</artifactId>
	<version>1.0.0-SNAPSHOT</version>

	<packaging>pom</packaging>

	<modules>
		<module>target-definition</module>
		<module>org.eclipse.kura.api</module>
		<module>org.eclipse.kura.test</module>
		<module>org.eclipse.kura.core</module>
		<module>org.eclipse.kura.core.cloud</module>
		<module>org.eclipse.kura.core.comm</module>
		<module>org.eclipse.kura.core.configuration</module>
		<module>org.eclipse.kura.core.crypto</module>
		<module>org.eclipse.kura.core.deployment</module>
		<module>org.eclipse.kura.core.net</module>
		<module>org.eclipse.kura.core.test</module>
		<module>org.eclipse.kura.deployment.agent</module>
		<module>org.eclipse.kura.deployment.customizer</module>
		<module>org.eclipse.kura.deployment.customizer.upgrade</module>
		<module>org.eclipse.kura.deployment.update</module>
		<module>org.eclipse.kura.linux.clock</module>
		<module>org.eclipse.kura.linux.command</module>
		<module>org.eclipse.kura.linux.net</module>
		<module>org.eclipse.kura.linux.net.test</module>
		<module>org.eclipse.kura.linux.position</module>
		<module>org.eclipse.kura.linux.usb</module>
		<module>org.eclipse.kura.linux.watchdog</module>
		<module>org.eclipse.kura.net.admin</module>
		<module>org.eclipse.kura.protocol.modbus</module>
		<module>org.eclipse.kura.protocol.modbus.test</module>
		<module>org.eclipse.kura.emulator</module>
		<module>examples</module>
	</modules>

	<properties>
		<tycho-version>0.20.0</tycho-version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
		<kura.basedir>${project.basedir}</kura.basedir>
		<kura.build.version>${maven.build.timestamp}</kura.build.version>
	</properties>

	<distributionManagement>
			<repository>
				<id>repo.eclipse.org</id>
				<name>Kura Repository - Releases</name>
				<url>https://repo.eclipse.org/content/repositories/kura-releases/</url>
			</repository>
			<snapshotRepository>
				<id>repo.eclipse.org</id>
				<name>Kura Repository - Snapshots</name>
				<url>https://repo.eclipse.org/content/repositories/kura-snapshots/</url>
			</snapshotRepository>
	</distributionManagement>

	<profiles>
		<profile>
			<id>default</id>
			<activation>
				<property>
					<name>!kura.osgi</name>
				</property>
			</activation>
			<repositories>
				<repository>
					<id>p2-repo-equinox_3.8.1</id>
					<layout>p2</layout>
					<url>file:///${kura.basedir}/target-definition/equinox_3.8.1/repository/</url>
				</repository>
			</repositories>
		</profile>
		<profile>
			<id>equinox</id>
			<activation>
				<property>
					<name>kura.osgi</name>
					<value>equinox</value>
				</property>
			</activation>
			<repositories>
				<repository>
					<id>p2-repo-equinox_3.8.1</id>
					<layout>p2</layout>
					<url>file:///${kura.basedir}/target-definition/equinox_3.8.1/repository/</url>
				</repository>
			</repositories>
		</profile>
		<profile>
			<id>can</id>
			<activation>
				<activeByDefault>false</activeByDefault>
			</activation>
			<modules>
				<module>org.eclipse.kura.protocol.can</module>
				<module>org.eclipse.kura.protocol.can.test</module>
			</modules>
		</profile>
	</profiles>

	<repositories>
		<repository>
			<id>p2-repo-common</id>
			<layout>p2</layout>
			<url>file:///${kura.basedir}/target-definition/common/repository/</url>
		</repository>
		<repository>
			<id>kura_addons</id>
			<name>Kura Addons Maven Repository</name>
			<url>https://raw.github.com/eurotech/kura_addons/mvn-repo/</url>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>always</updatePolicy>
			</snapshots>
		</repository>
	</repositories>

	<build>
		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ssh</artifactId>
				<version>1.0-beta-6</version>
			</extension>
		</extensions>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.7</version>
				<executions>
					<execution>
						<id>store-bundle-version</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<tasks>
								<propertyfile file="${kura.basedir}/distrib/build.properties" comment="Generated by maven">
									<entry key="${project.name}.version" value="${project.version}" />
								</propertyfile>
							</tasks>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<version>2.9</version>
				<configuration>
					<skip>true</skip>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<skip>true</skip>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<!-- <target> <artifact> <groupId>org.eclipse.kura</groupId> <artifactId>target-definition</artifactId> 
						<version>${project.version}</version> <classifier>kura-equinox_3.8.1</classifier> 
						</artifact> </target> -->
					<environments>
						<environment>
							<os>win32</os>
							<ws>win32</ws>
							<arch>x86</arch>
						</environment>
						<environment>
							<os>linux</os>
							<ws>gtk</ws>
							<arch>x86</arch>
						</environment>
					</environments><commit_msg>Enabling maven deploy plugin.<commit_after><?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>
	<groupId>org.eclipse.kura</groupId>
	<artifactId>kura</artifactId>
	<version>1.0.0-SNAPSHOT</version>

	<packaging>pom</packaging>

	<modules>
		<module>target-definition</module>
		<module>org.eclipse.kura.api</module>
		<module>org.eclipse.kura.test</module>
		<module>org.eclipse.kura.core</module>
		<module>org.eclipse.kura.core.cloud</module>
		<module>org.eclipse.kura.core.comm</module>
		<module>org.eclipse.kura.core.configuration</module>
		<module>org.eclipse.kura.core.crypto</module>
		<module>org.eclipse.kura.core.deployment</module>
		<module>org.eclipse.kura.core.net</module>
		<module>org.eclipse.kura.core.test</module>
		<module>org.eclipse.kura.deployment.agent</module>
		<module>org.eclipse.kura.deployment.customizer</module>
		<module>org.eclipse.kura.deployment.customizer.upgrade</module>
		<module>org.eclipse.kura.deployment.update</module>
		<module>org.eclipse.kura.linux.clock</module>
		<module>org.eclipse.kura.linux.command</module>
		<module>org.eclipse.kura.linux.net</module>
		<module>org.eclipse.kura.linux.net.test</module>
		<module>org.eclipse.kura.linux.position</module>
		<module>org.eclipse.kura.linux.usb</module>
		<module>org.eclipse.kura.linux.watchdog</module>
		<module>org.eclipse.kura.net.admin</module>
		<module>org.eclipse.kura.protocol.modbus</module>
		<module>org.eclipse.kura.protocol.modbus.test</module>
		<module>org.eclipse.kura.emulator</module>
		<module>examples</module>
	</modules>

	<properties>
		<tycho-version>0.20.0</tycho-version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
		<kura.basedir>${project.basedir}</kura.basedir>
		<kura.build.version>${maven.build.timestamp}</kura.build.version>
	</properties>

	<distributionManagement>
			<repository>
				<id>repo.eclipse.org</id>
				<name>Kura Repository - Releases</name>
				<url>https://repo.eclipse.org/content/repositories/kura-releases/</url>
			</repository>
			<snapshotRepository>
				<id>repo.eclipse.org</id>
				<name>Kura Repository - Snapshots</name>
				<url>https://repo.eclipse.org/content/repositories/kura-snapshots/</url>
			</snapshotRepository>
	</distributionManagement>

	<profiles>
		<profile>
			<id>default</id>
			<activation>
				<property>
					<name>!kura.osgi</name>
				</property>
			</activation>
			<repositories>
				<repository>
					<id>p2-repo-equinox_3.8.1</id>
					<layout>p2</layout>
					<url>file:///${kura.basedir}/target-definition/equinox_3.8.1/repository/</url>
				</repository>
			</repositories>
		</profile>
		<profile>
			<id>equinox</id>
			<activation>
				<property>
					<name>kura.osgi</name>
					<value>equinox</value>
				</property>
			</activation>
			<repositories>
				<repository>
					<id>p2-repo-equinox_3.8.1</id>
					<layout>p2</layout>
					<url>file:///${kura.basedir}/target-definition/equinox_3.8.1/repository/</url>
				</repository>
			</repositories>
		</profile>
		<profile>
			<id>can</id>
			<activation>
				<activeByDefault>false</activeByDefault>
			</activation>
			<modules>
				<module>org.eclipse.kura.protocol.can</module>
				<module>org.eclipse.kura.protocol.can.test</module>
			</modules>
		</profile>
	</profiles>

	<repositories>
		<repository>
			<id>p2-repo-common</id>
			<layout>p2</layout>
			<url>file:///${kura.basedir}/target-definition/common/repository/</url>
		</repository>
		<repository>
			<id>kura_addons</id>
			<name>Kura Addons Maven Repository</name>
			<url>https://raw.github.com/eurotech/kura_addons/mvn-repo/</url>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>always</updatePolicy>
			</snapshots>
		</repository>
	</repositories>

	<build>
		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ssh</artifactId>
				<version>1.0-beta-6</version>
			</extension>
		</extensions>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.7</version>
				<executions>
					<execution>
						<id>store-bundle-version</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<tasks>
								<propertyfile file="${kura.basedir}/distrib/build.properties" comment="Generated by maven">
									<entry key="${project.name}.version" value="${project.version}" />
								</propertyfile>
							</tasks>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<version>2.9</version>
				<configuration>
					<skip>true</skip>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<skip>false</skip>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<!-- <target> <artifact> <groupId>org.eclipse.kura</groupId> <artifactId>target-definition</artifactId> 
						<version>${project.version}</version> <classifier>kura-equinox_3.8.1</classifier> 
						</artifact> </target> -->
					<environments>
						<environment>
							<os>win32</os>
							<ws>win32</ws>
							<arch>x86</arch>
						</environment>
						<environment>
							<os>linux</os>
							<ws>gtk</ws>
							<arch>x86</arch>
						</environment>
					</environments>
{'fraction_non_alphanumeric': 0.17594127397584655, 'fraction_numerical': 0.012471386849790827, 'mean_word_length': 3.680458071666051, 'pattern_counts': {'":': 0, '<': 573, '<?xml version=': 2, '>': 573, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4700157', 'n_tokens_mistral': 5563, 'n_tokens_neox': 4436, 'n_words': 492}