<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
		 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>edu.wpi.first.wpilib.wpilibj</groupId>
  <artifactId>RunTestsProject</artifactId>
  <packaging>jar</packaging>
  <version>0.1.0-SNAPSHOT</version>
  
  <dependencies>
	<dependency>
	  <groupId>edu.wpi.first.wpilib</groupId>
	  <artifactId>WPILibJ</artifactId>
	  <version>0.1.0-SNAPSHOT</version>
	</dependency>
	<dependency>
      <groupId>org.reflections</groupId>
      <artifactId>reflections</artifactId>
      <version>0.9.9-RC1</version>
	</dependency>
  </dependencies>

  <build>
	<plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
		  <excludes>
			<exclude>edu/wpi/first/wpilibj/unittests/PreferencesTest.java</exclude>
		  </excludes>
        </configuration>
      </plugin>
	  <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <minimizeJar>true</minimizeJar>
			  <shadedArtifactAttached>true</shadedArtifactAttached>
			  <shadedClassifierName>jar-with-dependencies</shadedClassifierName>
              <transformers>
                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                  <manifestEntries>
                    <Main-Class>edu.wpi.first.wpilibj.RobotBase</Main-Class>
                    <Robot-Class>edu.wpi.first.wpilibj.unittests.RunTests</Robot-Class>
                  </manifestEntries>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  
</project>
