<?xml version="1.0" encoding="UTF-8"?>
<!--
 | Licensed to the Apache Software Foundation (ASF) under one
 | or more contributor license agreements.  See the NOTICE file
 | distributed with this work for additional information
 | regarding copyright ownership.  The ASF licenses this file
 | to you under the Apache License, Version 2.0 (the
 | "License"); you may not use this file except in compliance
 | with the License.  You may obtain a copy of the License at
 |
 |  http://www.apache.org/licenses/LICENSE-2.0
 |
 | Unless required by applicable law or agreed to in writing,
 | software distributed under the License is distributed on an
 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 | KIND, either express or implied.  See the License for the
 | specific language governing permissions and limitations
 | under the License.
-->
<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>com.github.gwtboot</groupId>
		<artifactId>gwt-boot-modules</artifactId>
		<version>1.0.1</version>
		<relativePath>../</relativePath>
	</parent>
	<artifactId>gwt-boot-dependencies</artifactId>
	<packaging>pom</packaging>
	<name>gwt-boot-dependencies</name>
	<description>GWT Boot Standard Dependencies</description>

	<properties>
		<!-- GWT Boot Modules version -->
		<gwt-boot-modules.version>1.0.1</gwt-boot-modules.version>
		
		<!-- Dependency versions -->
		<gwt.version>2.9.0</gwt.version>
		<gwt-maven-plugin.version>1.0.0</gwt-maven-plugin.version>
		<gwt-bootstrap3.version>0.9.4</gwt-bootstrap3.version>
		<gwt-material.version>2.3.0</gwt-material.version>
		<gwt-restygwt.version>2.2.7</gwt-restygwt.version>
		<rs-api.version>2.1</rs-api.version>
		<gwt-mockito.version>1.1.9</gwt-mockito.version>
		<gwt-eventbinder.version>1.1.0</gwt-eventbinder.version>
		<gwt-gin.version>3.0.0</gwt-gin.version>
		<gwt-dominoui.version>1.0.0-RC1</gwt-dominoui.version>
		<gwt-elemento.version>1.0.1</gwt-elemento.version>
		<gwt-elemento-template.version>0.9.6</gwt-elemento-template.version>
		<inject-api.version>1</inject-api.version>
		<gwt-dagger2.version>2.28.3</gwt-dagger2.version>
		<vue-gwt.version>1.0.1</vue-gwt.version>
		<rx-gwt.version>2.2</rx-gwt.version>
      	<rx-java-gwt.version>2.2.10-gwt1</rx-java-gwt.version>
		<gwt-domino-rest.version>1.0.0-RC1</gwt-domino-rest.version>
		<dncomponents.version>2.4.1</dncomponents.version>
	</properties>

	<dependencyManagement>
		<dependencies>
			<!-- GWT -->
			<dependency>
				<groupId>com.google.gwt</groupId>
				<artifactId>gwt</artifactId>
				<version>${gwt.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>

			<!-- Third party libs -->
			<!-- GWTBootstrap3 -->
			<dependency>
				<groupId>org.gwtbootstrap3</groupId>
				<artifactId>gwtbootstrap3</artifactId>
				<version>${gwt-bootstrap3.version}</version>
				<exclusions>
					<exclusion>
						<groupId>com.google.gwt</groupId>
						<artifactId>gwt-user</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<dependency>
				<groupId>org.gwtbootstrap3</groupId>
				<artifactId>gwtbootstrap3-extras</artifactId>
				<version>${gwt-bootstrap3.version}</version>
			</dependency>
			<!-- GWTMaterialDesign -->
			<dependency>
				<groupId>com.github.gwtmaterialdesign</groupId>
				<artifactId>gwt-material</artifactId>
				<version>${gwt-material.version}</version>
				<exclusions>
					<exclusion>
						<groupId>com.google.gwt</groupId>
						<artifactId>gwt-user</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<dependency>
				<groupId>com.github.gwtmaterialdesign</groupId>
				<artifactId>gwt-material-themes</artifactId>
				<version>${gwt-material.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtmaterialdesign</groupId>
				<artifactId>gwt-material-addins</artifactId>
				<version>${gwt-material.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtmaterialdesign</groupId>
				<artifactId>gwt-material-table</artifactId>
				<version>${gwt-material.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtmaterialdesign</groupId>
				<artifactId>gwt-material-jquery</artifactId>
				<version>${gwt-material.version}</version>
			</dependency>
			<!-- RestyGWT -->
			<dependency>
				<groupId>org.fusesource.restygwt</groupId>
				<artifactId>restygwt</artifactId>
				<version>${gwt-restygwt.version}</version>
			</dependency>
			<dependency>
				<groupId>javax.ws.rs</groupId>
				<artifactId>javax.ws.rs-api</artifactId>
				<version>${rs-api.version}</version>
			</dependency>
			<!-- GWT Mockito -->
			<dependency>
				<groupId>com.google.gwt.gwtmockito</groupId>
				<artifactId>gwtmockito</artifactId>
				<version>${gwt-mockito.version}</version>
			</dependency>
			<!-- GWT EventBus -->
			<dependency>
				<groupId>com.google.gwt.eventbinder</groupId>
				<artifactId>eventbinder</artifactId>
				<version>${gwt-eventbinder.version}</version>
			</dependency>
			<!-- Gin -->
			<dependency>
				<groupId>io.github.gwtplus.gin</groupId>
				<artifactId>gin</artifactId>
				<version>${gwt-gin.version}</version>
			</dependency>
			<!-- Dagger2 -->
			<dependency>
				<groupId>javax.inject</groupId>
				<artifactId>javax.inject</artifactId>
				<version>${inject-api.version}</version>
			</dependency>
			<dependency>
				<groupId>com.google.dagger</groupId>
				<artifactId>dagger-gwt</artifactId>
				<version>${gwt-dagger2.version}</version>
			</dependency>
			<dependency>
				<groupId>com.google.dagger</groupId>
				<artifactId>dagger-compiler</artifactId>
				<version>${gwt-dagger2.version}</version>
			</dependency>
			<!-- DominoUI -->
			<dependency>
				<groupId>org.dominokit</groupId>
				<artifactId>domino-ui</artifactId>
				<version>${gwt-dominoui.version}</version>
			</dependency>
			<dependency>
				<groupId>org.dominokit</groupId>
				<artifactId>domino-ui</artifactId>
				<version>${gwt-dominoui.version}</version>
				<classifier>sources</classifier>
			</dependency>
			<!-- Vue GWT -->
			<dependency>
				<groupId>com.axellience</groupId>
				<artifactId>vue-gwt</artifactId>
				<version>${vue-gwt.version}</version>
			</dependency>
			<dependency>
				<groupId>com.axellience</groupId>
				<artifactId>vue-gwt-processors</artifactId>
				<version>${vue-gwt.version}</version>
				<optional>true</optional>
			</dependency>
			<!-- RxGWT -->
			<!-- RxGWT uses special version of GWT
				 and special version of Elemento, this cannot be mixed
				 with other libs like DominoUI
			-->
			<dependency>
				<groupId>com.intendia.gwt.rxgwt2</groupId>
				<artifactId>rxgwt</artifactId>
				<version>${rx-gwt.version}</version>
			</dependency>
			<dependency>
      			<groupId>com.intendia.gwt</groupId>
      			<artifactId>rxjava2-gwt</artifactId>
      			<version>${rx-java-gwt.version}</version>
    		</dependency>
			<!-- Elemento -->
			<dependency>
				<groupId>org.jboss.elemento</groupId>
				<artifactId>elemento-core</artifactId>
				<version>${gwt-elemento.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.gwt.elemento</groupId>
				<artifactId>elemento-template-api</artifactId>
				<version>${gwt-elemento-template.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.gwt.elemento</groupId>
				<artifactId>elemento-template-processor</artifactId>
				<version>${gwt-elemento-template.version}</version>
				<optional>true</optional>
			</dependency>
			<!-- Domino REST -->
			<dependency>
				<groupId>org.dominokit</groupId>
				<artifactId>domino-rest-client</artifactId>
				<version>${gwt-domino-rest.version}</version>
			</dependency>
			<dependency>
				<groupId>org.dominokit</groupId>
				<artifactId>domino-rest-processor</artifactId>
				<version>${gwt-domino-rest.version}</version>
			</dependency>
			<dependency>
				<groupId>org.dominokit</groupId>
				<artifactId>domino-rest-shared</artifactId>
				<version>${gwt-domino-rest.version}</version>
			</dependency>
			<!-- DnComponents -->
			<dependency>
				<groupId>com.dncomponents.core</groupId>
				<artifactId>template_annotation_processor</artifactId>
				<version>${dncomponents.version}</version>
			</dependency>
			<dependency>
				<groupId>com.dncomponents.core</groupId>
				<artifactId>core-uui</artifactId>
				<version>${dncomponents.version}</version>
				<scope>compile</scope>
			</dependency>
			<dependency>
				<groupId>com.dncomponents.core</groupId>
				<artifactId>bootstrap-ui</artifactId>
				<version>${dncomponents.version}</version>
				<scope>compile</scope>
			</dependency>
			
			<!-- GWT Starters used for without parent pom.xml -->
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-dagger2</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-gin</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-gwteventbinder</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-restygwt</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-rxgwt</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-test</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-ui-gwtbootstrap3</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-ui-gwtmaterial</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-ui-domino</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-ui-vue-gwt</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-ui-dncomponents</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-elemento-core</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-elemento-template</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
			<dependency>
				<groupId>com.github.gwtboot</groupId>
				<artifactId>gwt-boot-starter-domino-rest</artifactId>
				<version>${gwt-boot-modules.version}</version>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>net.ltgt.gwt.maven</groupId>
					<artifactId>gwt-maven-plugin</artifactId>
					<version>${gwt-maven-plugin.version}</version>
					<extensions>true</extensions>
					<executions>
						<execution>
							<goals>
								<goal>generate-module</goal>
								<goal>compile</goal>
							</goals>
						</execution>
					</executions>
					<configuration>
						<failOnError>true</failOnError>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>3.7.0</version>
					<configuration>
						<source>1.8</source>
						<target>1.8</target>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
</project>
