<?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>

	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>

	<groupId>li.rudin.mavenjs</groupId>
    <artifactId>crossroads</artifactId>
	<version>0.12.0</version>
	
	<dependencies>
		<dependency>
			<groupId>li.rudin.mavenjs</groupId>
			<artifactId>signals</artifactId>
			<version>[1.0.0,)</version>
		</dependency>
	</dependencies>

	<scm>
		<connection>scm:git:git@github.com:mavenjs/crossroads.git</connection>
		<developerConnection>scm:git:git@github.com:mavenjs/crossroads.git</developerConnection>
		<url>git@github.com:mavenjs/crossroads.git</url>
		<tag>HEAD</tag>
	</scm>
	
    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>wagon-maven-plugin</artifactId>
                <version>1.0-beta-4</version>
                <executions>
                    <execution>
                        <id>main-js</id>
                        <phase>process-resources</phase>
                        <goals>
							<goal>download-single</goal>
						</goals>
                        <configuration>
                            <url>https://raw.github.com/millermedeiros/crossroads.js/v${project.version}/dist/</url>
                            <fromFile>crossroads.js</fromFile>
                            <toFile>${project.build.outputDirectory}/js/${project.artifactId}.js</toFile>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
	
	<developers>
		<developer>
			<id>Thomas</id>
			<name>Thomas Rudin</name>
			<email>thomas@rudin-informatik.ch</email>
			<roles>
				<role>Project Manager</role>
			</roles>
			<organization>rudin-informatik.ch</organization>
		</developer>
	</developers>
	
	<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>
</project>
