<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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>org.flowable.designer</groupId>
	<artifactId>org.flowable.designer.parent</artifactId>
	<version>5.22.0</version>
	<packaging>pom</packaging>

	<name>Flowable Designer - Parent project</name>
	<description>Flowable Designer - Parent project pom</description>
	
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>

	<properties>
		<tycho-version>0.22.0</tycho-version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<profiles>
		<profile>
			<id>platform-mars</id>
			<modules>
				<module>../org.flowable.designer.updatesite</module>
			</modules>
			<activation>
				<property>
					<name>platform-version-name</name>
					<value>mars</value>
				</property>
			</activation>
			<properties>
				<eclipse-site>http://download.eclipse.org/releases/mars</eclipse-site>
				<platform-version>[4.5)</platform-version>
				<platform-version-name>mars</platform-version-name>
				<graphiti-site>http://download.eclipse.org/graphiti/updates/0.13.1</graphiti-site>
			</properties>
		</profile>
		<profile>
			<id>platform-neon</id>
			<modules>
				<module>../org.flowable.designer.updatesite</module>
			</modules>
			<activation>
				<activeByDefault>true</activeByDefault>
				<property>
					<name>platform-version-name</name>
					<value>neon</value>
				</property>
			</activation>
			<properties>
				<eclipse-site>http://download.eclipse.org/releases/neon</eclipse-site>
				<platform-version>[4.6)</platform-version>
				<platform-version-name>neon</platform-version-name>
				<graphiti-site>http://download.eclipse.org/graphiti/updates/0.13.1</graphiti-site>
			</properties>
		</profile>
		<profile>
			<id>deploy</id>
			<properties>
				<eclipse-site>http://download.eclipse.org/releases/neon</eclipse-site>
				<platform-version>[4.6)</platform-version>
				<platform-version-name>neon</platform-version-name>
				<graphiti-site>http://download.eclipse.org/graphiti/updates/0.13.1</graphiti-site>
			</properties>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<executions>
							<execution>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<artifactId>maven-javadoc-plugin</artifactId>
						<configuration>
							<additionalparam>-Xdoclint:none</additionalparam>
						</configuration>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
	
	<modules>
		<module>../org.flowable.designer.libs</module>
		<module>../org.flowable.designer.eclipse</module>
		<module>../org.flowable.designer.gui</module>
		<module>../org.flowable.designer.util</module>
		<module>../org.flowable.designer.help</module>
		<module>../org.flowable.designer.feature</module>
		<module>../org.flowable.designer.integration</module>
		<module>../org.flowable.designer.validation.bpmn20</module>
	</modules>

	<repositories>
		<repository>
			<id>eclipse-platform</id>
			<layout>p2</layout>
			<url>${eclipse-site}</url>
		</repository>

		<repository>
			<id>Graphiti</id>
			<layout>p2</layout>
			<url>${graphiti-site}</url>
		</repository>
	</repositories>

	<build>
		<pluginManagement>
      		<plugins>
        		<plugin>
          			<groupId>org.eclipse.tycho</groupId>
         			<artifactId>tycho-versions-plugin</artifactId>
          			<version>${tycho-version}</version>
        		</plugin>
      		</plugins>
   		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-maven-plugin</artifactId>
				<version>${tycho-version}</version>
				<extensions>true</extensions>
			</plugin>
			<plugin>
        		<groupId>org.eclipse.tycho</groupId>
        		<artifactId>tycho-versions-plugin</artifactId>
        		<version>${tycho-version}</version>
      		</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<resolver>p2</resolver>
					<environments>
						<!-- <environment>
							<os>linux</os>
							<ws>gtk</ws>
							<arch>x86_64</arch>
						</environment>
						<environment>
							<os>linux</os>
							<ws>gtk</ws>
							<arch>x86</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>
			</plugin>
			<plugin>
				<groupId>com.mycila</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<header>${basedir}/../license/header.txt</header>
					<includes>
						<include>**/*.java</include>
					</includes>
				</configuration>
				<executions>
					<execution>
						<goals>
		             		<goal>check</goal>
		            	</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	
	<url>http://flowable.org</url>
	<licenses>
		<license>
			<name>Apache v2</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
		</license>
	</licenses>
	<organization>
		<name>Flowable</name>
		<url>http://flowable.org</url>
	</organization>
	<developers>
		<developer>
			<name>Tijs Rademakers</name>
			<organization>Flowable</organization>
			<url>http://flowable.org</url>
		</developer>
		<developer>
			<name>Joram Barrez</name>
			<organization>Flowable</organization>
			<url>http://flowable.org</url>
		</developer>
		<developer>
			<name>Frederik Heremans</name>
		</developer>
		<developer>
			<name>Yvo Swillens</name>
			<organization>Flowable</organization>
			<url>http://flowable.org</url>
		</developer>
	</developers>
	<issueManagement>
		<system>Github issues</system>
		<url>https://github.com/flowable/flowable-designer/issues</url>
	</issueManagement>
	<scm>
		<url>git@github.com:flowable/flowable-designer.git</url>
		<connection>scm:git:git@github.com:flowable/flowable-designer.git</connection>
		<developerConnection>scm:git:git@github.com:flowable/flowable-designer.git</developerConnection>
	</scm>

</project>
