<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>
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>

	<name>Xtext Parent/Container</name>
	<groupId>org.eclipse.xtext</groupId>
	<artifactId>org.eclipse.xtext.parent</artifactId>
	<packaging>pom</packaging>
	<version>2.9.0</version>

	<modules>
		<!-- OSGI bundles -->
		<module>../org.eclipse.xtext.tycho.parent</module>

		<!-- Pure maven -->
		<module>../org.eclipse.xtext.xbase.lib.slim</module>
		<module>../org.eclipse.xtext.maven.plugin</module>
		<module>../org.eclipse.xtend.maven.plugin</module>
		<module>../org.eclipse.xtend.maven.archetype</module>
		<module>../org.eclipse.xtend.maven.android.archetype</module>

		<!-- Deprecated -->
		<module>../org.eclipse.xtext.xtext</module>

		<!-- <module>../org.eclipse.xtend.lib.gwt.test</module> -->
	</modules>

	<properties>
		<mavenVersion>3.2.1</mavenVersion>
		<tycho-version>0.23.1</tycho-version>
		<emf.version>(2.8,3.0)</emf.version>
		<mwe2-version>(2.7,3.0)</mwe2-version>
		<mwe-version>(1.2,2.0)</mwe-version>
		<xpand-version>(1.9,3.0)</xpand-version>

		<maven-install-version>2.5.1</maven-install-version>
		<jar-plugin-version>2.4</jar-plugin-version>
		<asm.version>5.0.1</asm.version>
		<guava.version>[10.0.1,14.0.1]</guava.version>
		<javax-inject.version>1</javax-inject.version>
		<google-inject.version>3.0</google-inject.version>
		<log4j.version>1.2.16</log4j.version>
		<commons-logging.version>1.1.3</commons-logging.version>
		<commons-cli.version>1.2</commons-cli.version>
		<equinox-common-version>3.6.200-v20130402-1505</equinox-common-version>
		<jdt-core-version>3.10.0.v20140604-1726</jdt-core-version>
		<icu4j.version>52.1</icu4j.version>
		<antlr.version>[3.2, 3.3)</antlr.version>
		<antlr-generator-version>[2.1.1, 3.0)</antlr-generator-version>
		<junit-version>4.8.1</junit-version>

		<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
		<project.reporting.outputEncoding>ISO-8859-1</project.reporting.outputEncoding>
		<maven.compiler.source>1.6</maven.compiler.source>
		<maven.compiler.target>1.6</maven.compiler.target>
		<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
		<pgp.sign.skip>true</pgp.sign.skip>
	</properties>
	<licenses>
		<license>
			<name>Eclipse Public License - v 1.0</name>
			<url>http://www.eclipse.org/legal/epl-v10.html</url>
		</license>
	</licenses>
	<build>
		<extensions>
			<!-- See https://jira.codehaus.org/browse/MINSTALL-102 -->
			<extension>
				<groupId>org.apache.maven.archetype</groupId>
				<artifactId>archetype-packaging</artifactId>
				<version>2.3</version>
			</extension>
		</extensions>
		<plugins>
			<!-- See https://jira.codehaus.org/browse/MINSTALL-102 -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-enforcer-plugin</artifactId>
				<version>1.3.1</version>
				<configuration>
					<bannedPlugins>
						<excludes>
							<exclude>org.apache.maven.plugins:maven-install-plugin</exclude>
							<exclude>org.apache.maven.plugins:maven-deploy-plugin</exclude>
						</excludes>
						<includes>
							<include>org.apache.maven.plugins:maven-install-plugin:2.5.1</include>
							<include>org.apache.maven.plugins:maven-deploy-plugin:2.8.1</include>
						</includes>
					</bannedPlugins>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>1.4</version>
				<configuration>
					<executable>/usr/local/bin/gpg</executable>
					<skip>${pgp.sign.skip}</skip>
				</configuration>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<compilerId>jdt</compilerId>
					<optimize>true</optimize>
				</configuration>
				<dependencies>
					<dependency>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>tycho-compiler-jdt</artifactId>
						<version>${tycho-version}</version>
					</dependency>
				</dependencies>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<additionalparam>${javadoc.opts}</additionalparam>
				</configuration>
			</plugin>
			<!-- add install and deploy here, otherwise deploying (deployAtEnd) may be skipped -->
			<plugin>
				<artifactId>maven-install-plugin</artifactId>
				<version>${maven-install-version}</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<version>2.8.1</version>
				<configuration>
					<deployAtEnd>false</deployAtEnd>
				</configuration>
			</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.apache.maven.plugins
										</groupId>
										<artifactId>
											maven-plugin-plugin
										</artifactId>
										<versionRange>
											[2.7,)
										</versionRange>
										<goals>
											<goal>descriptor</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>
											org.codehaus.mojo
										</groupId>
										<artifactId>
											build-helper-maven-plugin
										</artifactId>
										<versionRange>
											[1.8,)
										</versionRange>
										<goals>
											<goal>add-source</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>
											org.eclipse.tycho
										</groupId>
										<artifactId>
											tycho-packaging-plugin
										</artifactId>
										<versionRange>
											[0.22.0,)
										</versionRange>
										<goals>
											<goal>build-qualifier</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>
											org.apache.maven.plugins
										</groupId>
										<artifactId>
											maven-enforcer-plugin
										</artifactId>
										<versionRange>[1.0,)</versionRange>
										<goals>
											<goal>enforce</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<scm>
		<connection>scm:git:git://git.eclipse.org/gitroot/tmf/org.eclipse.xtext.git</connection>
		<developerConnection>scm:git:ssh://git.eclipse.org:29418/tmf/org.eclipse.xtext.git</developerConnection>
		<url>http://git.eclipse.org/c/tmf/org.eclipse.xtext.git</url>
	</scm>

	<profiles>
		<profile>
			<id>doclint-java8-disable</id>
			<activation>
				<jdk>[1.8,)</jdk>
			</activation>
			<properties>
				<javadoc.opts>-Xdoclint:none</javadoc.opts>
			</properties>
		</profile>
		<profile>
			<!-- Mac OSX Jdk fails to load javadoc -->
			<id>javadoc-location-mac</id>
			<activation>
				<file>
					<exists>${java.home}/../bin/javadoc</exists>
					<missing>${java.home}/bin/javadoc</missing>
				</file>
			</activation>
			<properties>
				<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
			</properties>
		</profile>
		<profile>
			<id>snapshot-build</id>
			<repositories>
				<repository>
					<id>central snapshots</id>
					<url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
					<snapshots>
						<enabled>true</enabled>
						<checksumPolicy>fail</checksumPolicy>
					</snapshots>
					<releases>
						<enabled>false</enabled>
					</releases>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>central snapshots</id>
					<url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
					<snapshots>
						<enabled>true</enabled>
						<checksumPolicy>fail</checksumPolicy>
					</snapshots>
					<releases>
						<enabled>false</enabled>
					</releases>
				</pluginRepository>
			</pluginRepositories>
		</profile>
		<profile>
			<id>staging-build</id>
			<repositories>
				<repository>
					<id>oss staging</id>
					<url>https://oss.sonatype.org/content/groups/staging/</url>
					<snapshots>
						<enabled>false</enabled>
					</snapshots>
					<releases>
						<enabled>true</enabled>
						<checksumPolicy>fail</checksumPolicy>
					</releases>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>oss staging</id>
					<url>https://oss.sonatype.org/content/groups/staging/</url>
					<snapshots>
						<enabled>false</enabled>
					</snapshots>
					<releases>
						<enabled>true</enabled>
						<checksumPolicy>fail</checksumPolicy>
					</releases>
				</pluginRepository>
			</pluginRepositories>
		</profile>
	</profiles>

	<url>http://www.eclipse.org/xtend/</url>
	<description>Xtend is a little language that compiles into idiomatic Java source code. You can use any existing Java library seamlessly from Xtend (and vice-versa). The compiled output is readable and pretty-printed, and tends to run as fast or faster than the equivalent handwritten Java code. It's the CoffeeScript for Java.</description>
	<developers>
		<developer>
			<id>dennis.huebner</id>
			<name>Dennis</name>
			<email>dennis.huebner@itemis.de</email>
			<organization>itemis AG</organization>
		</developer>
		<developer>
			<id>holger.schill</id>
			<name>Holger</name>
			<email>Holger.Schill@itemis.de</email>
			<organization>itemis AG</organization>
		</developer>
		<developer>
			<id>jan.koehnlein</id>
			<name>Jan</name>
			<email>jan.koehnlein@itemis.de</email>
			<organization>itemis AG</organization>
		</developer>
		<developer>
			<id>knut.wannheden</id>
			<name>Knut</name>
			<email>knut.wannheden@paranor.ch</email>
			<organization>Paranor</organization>
		</developer>
		<developer>
			<id>michael.clay</id>
			<name>Michael</name>
			<email>michael.clay@codeworkz.at</email>
			<organization>Codeworkz</organization>
		</developer>
		<developer>
			<id>moritz.eysholdt</id>
			<name>Moritz</name>
			<email>moritz.eysholdt@itemis.de</email>
			<organization>itemis AG</organization>
		</developer>
		<developer>
			<id>sebastian.zarnekow</id>
			<name>Sebastian</name>
			<email>sebastian.Zarnekow@itemis.de</email>
			<organization>itemis AG</organization>
		</developer>
		<developer>
			<id>sven.efftinge</id>
			<name>Sven</name>
			<email>sven.efftinge@itemis.de</email>
			<organization>itemis AG</organization>
			<roles>
				<role>project lead</role>
			</roles>
		</developer>
	</developers>
</project>
