<!-- ~ This is part of Geomajas, a GIS framework, http://www.geomajas.org/. 
	~ ~ Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium. ~ 
	~ The program is available in open source according to the GNU Affero ~ General 
	Public License. All contributions in this program are covered ~ by the Geomajas 
	Contributors License Agreement. For full licensing ~ details, see LICENSE.txt 
	in the project root. -->

<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">
	<parent>
		<groupId>org.geomajas.plugin</groupId>
		<artifactId>geomajas-plugin-printing-all</artifactId>
		<version>2.4.0-M3</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.geomajas.plugin</groupId>
	<artifactId>geomajas-plugin-printing-puregwt</artifactId>
	<packaging>jar</packaging>
	<name>Geomajas extension for printing (pureGWT face)</name>

 	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>com.google.gwt</groupId>
				<artifactId>gwt-user</artifactId>
				<version>${printing-gwt-version}</version>
				<scope>provided</scope>
			</dependency>
			
			<dependency>
				<groupId>com.google.gwt</groupId>
				<artifactId>gwt-servlet</artifactId>
				<version>${printing-gwt-version}</version>
				<scope>runtime</scope>
			</dependency>

		</dependencies>
	</dependencyManagement>


	<dependencies>
		<dependency>
			<groupId>org.geomajas</groupId>
			<artifactId>geomajas-api</artifactId>
		</dependency>


		<!-- Server part of geomajas printing plugin (also used by smartGWT) -->
		<dependency>
	 		<groupId>org.geomajas.plugin</groupId>
  			<artifactId>geomajas-plugin-printing</artifactId>
		</dependency>
		
		<!-- Sources needed for dto part of Server part of geomajas printing plugin -->
		<dependency>
			<groupId>org.geomajas.plugin</groupId>
  			<artifactId>geomajas-plugin-printing</artifactId>
			<classifier>sources</classifier>
		</dependency>

		<!-- Server part of geomajas rasterizing plugin (also used by smartGWT) -->
		<dependency>
			<groupId>org.geomajas.plugin</groupId>
			<artifactId>geomajas-plugin-rasterizing</artifactId>
		</dependency>
		
		<!-- Sources needed for dto part of Server part of geomajas rasterizing plugin -->
		<dependency>
			<groupId>org.geomajas.plugin</groupId>
			<artifactId>geomajas-plugin-rasterizing</artifactId>
			<classifier>sources</classifier>
		</dependency>
	 
		<dependency>
			<groupId>org.geomajas.plugin</groupId>
			<artifactId>geomajas-plugin-rasterizing-puregwt</artifactId>
		</dependency>

		 <dependency>
  			<groupId>org.geomajas</groupId>
  			<artifactId>geomajas-face-common-gwt</artifactId>
		</dependency>
       
		<dependency>
		    <groupId>org.geomajas</groupId>
		    <artifactId>geomajas-face-common-gwt</artifactId>
		    <classifier>sources</classifier>
		</dependency>
		
		<dependency>
		    <groupId>org.geomajas</groupId>
		    <artifactId>geomajas-puregwt-client</artifactId>
		</dependency>
		
		<dependency>
		    <groupId>org.geomajas</groupId>
		    <artifactId>geomajas-puregwt-client-impl</artifactId>
		</dependency>

		<dependency>
		    <groupId>org.geomajas.plugin</groupId>
		    <artifactId>geomajas-widget-puregwt-core</artifactId>
		</dependency>
		
		<dependency>
		    <groupId>org.geomajas.plugin</groupId>
		    <artifactId>geomajas-widget-puregwt-core</artifactId>
		    <classifier>sources</classifier>
		</dependency>
				
		<!-- Google dependencies -->
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-user</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-servlet</artifactId>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.geomajas</groupId>
			<artifactId>geomajas-impl</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.geomajas</groupId>
			<artifactId>geomajas-testdata</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
		</dependency>

		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>jcl-over-slf4j</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>log4j-over-slf4j</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>

	</dependencies>

	<build>
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>true</filtering>
				<includes>
					<include>META-INF/geomajasContext.xml</include>
				</includes>
			</resource>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>false</filtering>
				<excludes>
					<exclude>META-INF/geomajasContext.xml</exclude>
				</excludes>
			</resource>
		</resources>
	</build>

	<profiles>
		<!-- include sources in build -->
		<profile>
			<id>default</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<build>
				<resources>
					<resource>
						<directory>src/main/resources</directory>
					</resource>
					<resource>
						<directory>src/main/java</directory>
						<includes>
							<include>**/*.java</include>
							<include>**/*.ui.xml</include>
						</includes>
					</resource>
				</resources>
			</build>
		</profile>
		<!-- no sources needed in eclipse -->
		<profile>
			<id>m2e</id>
			<activation>
				<property>
					<name>m2e.version</name>
				</property>
			</activation>
		</profile>
	</profiles>

</project>
