<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.mgp</groupId>
	<artifactId>maven-gwt-plugin</artifactId>
	<packaging>maven-plugin</packaging>
	<version>1.5.0</version>
	<name>Maven GWT Plugin</name>
	<description>The Maven GWT plugin is used to compile JavaScript source files from Java source.</description>
	<url>http://sourceforge.net/projects/mgp/</url>
	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<developers>
		<developer>
			<id>mgordienko</id>
			<name>Maxim Gordienko</name>
			<roles>
				<role>Developer</role>
			</roles>
			<timezone>+3</timezone>
		</developer>
	</developers>
	<scm>
		<connection>scm:svn:https://mgp.svn.sourceforge.net/svnroot/mgp/maven-gwt-plugin/tags/maven-gwt-plugin-1.5.0</connection>
		<developerConnection>scm:svn:https://mgp.svn.sourceforge.net/svnroot/mgp/maven-gwt-plugin/tags/maven-gwt-plugin-1.5.0</developerConnection>
		<url>http://mgp.svn.sourceforge.net/viewvc/mgp/maven-gwt-plugin/tags/maven-gwt-plugin-1.5.0</url>
	</scm>
	<issueManagement>
		<system>sourceforge</system>
		<url>http://sourceforge.net/tracker/?group_id=235347</url>
	</issueManagement>
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-plugin-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-changes-plugin</artifactId>
				<reportSets>
					<reportSet>
						<reports>
							<report>changes-report</report>
						</reports>
					</reportSet>
				</reportSets>
				<configuration>
					<issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<reportSets>
					<reportSet>
						<reports>
							<report>index</report>
							<report>issue-tracking</report>
							<report>license</report>
							<report>scm</report>
							<report>project-team</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
				<configuration>
					<effort>Max</effort>
					<threshold>Low</threshold>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-pmd-plugin</artifactId>
				<configuration>
					<targetJdk>1.5</targetJdk>
				</configuration>
			</plugin>
		</plugins>
	</reporting>
	<distributionManagement>
		<site>
			<id>sourceforge.net</id>
			<url>scp://shell.sourceforge.net/home/groups/m/mg/mgp/htdocs</url>
		</site>
		<repository>
			<id>sourceforge.net</id>
			<url>scp://shell.sourceforge.net/home/groups/m/mg/mgp/htdocs/releases</url>
		</repository>
		<snapshotRepository>
			<id>sourceforge.net</id>
			<url>scp://shell.sourceforge.net/home/groups/m/mg/mgp/htdocs/repository</url>
		</snapshotRepository>
	</distributionManagement>
	
	<prerequisites>
		<maven>2.0.6</maven>
	</prerequisites>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
	
	
	<properties>
		<gwt.version>1.5.3</gwt.version>
	</properties>
	
	<dependencies>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-plugin-api</artifactId>
			<version>2.0.4</version>
		</dependency>
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-user</artifactId>
			<version>${gwt.version}</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.5</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.codehaus.plexus</groupId>
			<artifactId>plexus-utils</artifactId>
			<version>1.5</version>
		</dependency>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-project</artifactId>
			<version>2.0.4</version>
		</dependency>
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-dev</artifactId>
			<version>${gwt.version}</version>
			<classifier>${gwt.classifier}</classifier>
		</dependency>
	</dependencies>
	<profiles>
		<profile>
			<id>mac</id>
			<activation>
				<os>
					<family>mac</family>
				</os>
			</activation>
			<properties>
				<gwt.classifier>mac</gwt.classifier>
			</properties>
		</profile>
		<profile>
			<id>linux</id>
			<activation>
				<os>
					<family>unix</family>
				</os>
			</activation>
			<properties>
				<gwt.classifier>linux</gwt.classifier>
			</properties>
		</profile>
		<profile>
			<id>windows</id>
			<activation>
				<os>
					<family>windows</family>
				</os>
			</activation>
			<properties>
				<gwt.classifier>windows</gwt.classifier>
			</properties>
		</profile>
		<profile>
			<!-- Run integration tests. -->
			<!-- To use this profile: -->
			<!--  o install the plugin in your local repository: mvn clean install -->
			<!--  o run integration tests: mvn -Pintegration integration-test -->
			<!-- Thanks emma-maven-plugin project http://mojo.codehaus.org/emma-maven-plugin -->
			<id>integration</id>
	
			<build>
			<defaultGoal>integration-test</defaultGoal>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-invoker-plugin</artifactId>
					<version>1.3</version>
					<configuration>
						<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
						<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
						<settingsFile>src/it/settings.xml</settingsFile>
						<goals>
							<goal>package</goal>
							<goal>verify</goal>
						</goals>
						<showErrors>true</showErrors>
						<streamLogs>true</streamLogs>
						<pomIncludes>
							<pomInclude>*/pom.xml</pomInclude>
						</pomIncludes>
						<postBuildHookScript>verify.bsh</postBuildHookScript>
					</configuration>
					<executions>
						<execution>
							<id>integration-test</id>
							<goals>
								<goal>install</goal>
								<goal>run</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
			</plugins>
			</build>
		</profile>
	</profiles>
</project>