<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.jenkins-ci.plugins</groupId>
        <artifactId>plugin</artifactId>
        <version>1.420</version>
    </parent>



    <groupId>net.praqma</groupId>
    <artifactId>matrix-reloaded</artifactId>
    <version>1.1.2</version>
    <name>Matrix Reloaded Plugin</name>
    <description>The Matrix Reloaded plugin allows you to rebuild a subset of a matrix configurations.</description>
    <packaging>hpi</packaging>
    <url>https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Reloaded+Plugin</url>
	
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <repositories>
        <repository>
            <id>repo.jenkins-ci.org</id>
            <url>http://repo.jenkins-ci.org/public/</url>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>repo.jenkins-ci.org</id>
            <url>http://repo.jenkins-ci.org/public/</url>
        </pluginRepository>
    </pluginRepositories>

    <licenses>
        <license>
            <name>MIT</name>
            <url>http://www.opensource.org/licenses/mit-license.php</url>
        </license>
    </licenses>

    <profiles>
    
        <profile>
            <id>functional-tests</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <build>
            
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.12</version>
		                <dependencies>
		                    <dependency>
		                        <groupId>org.apache.maven.surefire</groupId>
		                        <artifactId>surefire-junit47</artifactId>
		                        <version>2.12</version>
		                    </dependency>
		                </dependencies>
                        <configuration>
                            <includes>
                                <include>net/praqma/jenkins/plugin/reloaded/FunctionalTests.java</include>
                                <include>net/praqma/jenkins/plugin/reloaded/UnitTests.java</include>
                            </includes>

                        </configuration>
                    </plugin>
                </plugins>
            
            </build>
        </profile>
    
        <profile>
            <id>cobertura</id>
            <activation>
                <property>
					<!-- Hudson by default defines a property BUILD_NUMBER which is used 
						to enable the profile. -->
                    <name>BUILD_NUMBER</name>
                </property>
            </activation>

            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>cobertura-maven-plugin</artifactId>
                        <version>2.4</version>
                        <configuration>
                            <formats>
                                <format>html</format>
                                <format>xml</format>
                            </formats>
                        </configuration>
                        <executions>
                            <execution>
                                <id>do-coverage</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>cobertura</goal>
                                </goals>
								<!-- <inherited>false</inherited> <configuration> </configuration> -->
                            </execution>
                        </executions>
				
                                
                    </plugin>
                                
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-compiler-plugin</artifactId>
                        <version>2.3.2</version>
                        <configuration>
                            <source>1.6</source>
                            <target>1.6</target>
                        </configuration>
                    </plugin>
                </plugins>
                                
            </build>
        </profile>
    </profiles>
	
    <developers>
        <developer>
            <id>wolfgarnet</id>
            <name>Christian Wolfgang</name>
            <email>coolers@praqma.net</email>
            <organization>Praqma A/S</organization>
            <roles>
                <role>developer</role>
            </roles>
            <timezone>+1</timezone>
        </developer>
    </developers>
    
	<dependencies>
		<dependency>
			<groupId>org.jenkins-ci.plugins</groupId>
			<artifactId>downstream-ext</artifactId>
			<version>1.7</version>
			<optional>true</optional>
		</dependency>
	</dependencies>
    
    <scm>
        <connection>scm:git:ssh://github.com/Praqma/Matrix-Reloaded-Plugin.git</connection>
        <developerConnection>scm:git:ssh://git@github.com/Praqma/Matrix-Reloaded-Plugin.git</developerConnection>
        <url>https://github.com/Praqma/Matrix-Reloaded-Plugin.git</url>
    </scm>
	
</project>
