<?xml version="1.0" encoding="ISO-8859-1" ?>

<!-- Copyright 2011 Andres Gomez Casanova. All rights reserved. -->
<!-- Redistribution and use in source and binary forms, with or without modification,
  are permitted provided that the following conditions are met: -->
<!-- 1. Redistributions of source code must retain the above copyright notice,
  this list of conditions and the following disclaimer. -->
<!-- 2. Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution. -->
<!-- THIS SOFTWARE IS PROVIDED BY Andres Gomez Casanova ``AS IS'' AND ANY
  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  IN NO EVENT SHALL <COPYRIGHT HOLDER> OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<!-- The views and conclusions contained in the software and documentation
  are those of the authors and should not be interpreted as representing official
  policies, either expressed or implied, of Andres Gomez Casanova. -->

<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>

  <!-- The Basics -->
  <groupId>net.sf.randomjunit</groupId>
  <artifactId>random-jUnit</artifactId>
  <version>1.0.2</version>
  <packaging>jar</packaging>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.8.2</version>
    </dependency>
  </dependencies>
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>
  <properties>
    <encoding>ISO-8859-1</encoding>
    <compileSource>1.5</compileSource>
  </properties>

  <!-- Build Settings -->
  <build>
    <defaultGoal>install</defaultGoal>
    <plugins>
      <!-- mvn clean -->
      <plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.4.1</version>
        <executions>
          <execution>
            <id>auto-clean</id>
            <phase>initialize</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <!-- mvn resources:resources -->
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <encoding>${encoding}</encoding>
        </configuration>
      </plugin>

      <!-- mvn compiler:compile -->
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <encoding>${encoding}</encoding>
          <source>${compileSource}</source>
          <target>${compileSource}</target>
        </configuration>
      </plugin>

      <!-- mvn surefire:test -->
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.8.1</version>
        <configuration>
          <!-- The application reads configuration files. -->
          <workingDirectory> ${project.build.testOutputDirectory}
          </workingDirectory>
          <testFailureIgnore>true</testFailureIgnore>
        </configuration>
      </plugin>

      <!-- mvn jar:jar -->
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.3.1</version>
        <configuration>
          <archive>
            <manifest>
              <!-- Application description -->
              <addDefaultImplementationEntries> true
              </addDefaultImplementationEntries>
              <addDefaultSpecificationEntries> true
              </addDefaultSpecificationEntries>
              <packageName>net.sf.randomjunit</packageName>
            </manifest>
          </archive>
        </configuration>
      </plugin>

      <!-- mvn source:jar -->
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.1.2</version>
        <executions>
          <execution>
            <id>attach-test-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>

      </plugin>

      <!-- mvn javadoc:jar -->
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.8</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <artifactId>maven-install-plugin</artifactId>
        <version>2.3.1</version>
      </plugin>

      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.6</version>
      </plugin>

      <!-- mvn site -->
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.0-beta-3</version>
        <configuration>
          <reportPlugins>

            <plugin>
              <artifactId>maven-project-info-reports-plugin</artifactId>
              <version>2.4</version>
                <configuration>
                  <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                  <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                </configuration>
            </plugin>

            <!-- mvn javadoc:javadoc -->
            <plugin>
              <artifactId>maven-javadoc-plugin</artifactId>
              <version>2.8</version>
              <configuration>
                <bottom>${project.organization.name}
                  {inceptionYear}-{currentYear}
                  &lt;a
                  rel="license"
                  href="http://creativecommons.org/licenses/by/3.0/"&gt;&lt;img
                  alt="Creative Commons License" style="border-width:0"
                  src="http://i.creativecommons.org/l/by/3.0/80x15.png"
                  /&gt;&lt;/a&gt;&lt;br /&gt;This work is licensed under
                  a &lt;a
                  rel="license"
                  href="http://creativecommons.org/licenses/by/3.0/"&gt;Creative
                  Commons Attribution
                  3.0 Unported License&lt;/a&gt;.</bottom>
                <charset>${encoding}</charset>
                <docencoding>${encoding}</docencoding>
                <encoding>${encoding}</encoding>
                <stylesheet>maven</stylesheet>
                <links>
                  <link>http://download.oracle.com/javase/1.5.0/docs/api/</link>
                </links>
                <show>private</show>
              </configuration>
            </plugin>

            <!-- mvn jxr:jxr -->
            <plugin>
              <artifactId>maven-jxr-plugin</artifactId>
              <version>2.2</version>
              <configuration>
                <aggregate>false</aggregate>
                <bottom>${project.organization.name}
                  {inceptionYear}-{currentYear}
                  This work is licensed
                  under BSD License.</bottom>
                <linkJavadoc>true</linkJavadoc>
              </configuration>
            </plugin>

            <!-- mvn pmd:pmd -->
            <!-- mvn pmd:cpd -->
            <plugin>
              <artifactId>maven-pmd-plugin</artifactId>
              <version>2.5</version>
              <configuration>
                <aggregate>true</aggregate>
                <linkXref>true</linkXref>
                <minimumPriority>5</minimumPriority>
                <minimumTokens>50</minimumTokens>
                <sourceEncoding>${encoding}</sourceEncoding>
                <targetJdk>${compileSource}</targetJdk>
              </configuration>
            </plugin>

            <!-- mvn findbugs:findbugs -->
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>findbugs-maven-plugin</artifactId>
              <version>2.3.2</version>
            </plugin>

            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>cobertura-maven-plugin</artifactId>
              <version>2.5.1</version>
            </plugin>

            <!-- mvn jdepend:jdepend -->
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>jdepend-maven-plugin</artifactId>
              <version>2.0-beta-2</version>
            </plugin>

            <!-- mvn checkstyle:checkstyle -->
            <plugin>
              <artifactId>maven-checkstyle-plugin</artifactId>
              <version>2.6</version>
            </plugin>

            <!-- mvn javancss:report -->
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>javancss-maven-plugin</artifactId>
              <version>2.0</version>
            </plugin>

            <!-- mvn taglist:taglist -->
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>taglist-maven-plugin</artifactId>
              <version>2.4</version>
              <configuration>
                <encoding>${encoding}</encoding>
                <tagListOptions>
                  <tagClasses>
                    <tagClass>
                      <displayName>Code Work</displayName>
                      <tags>
                        <tag>
                          <matchString>FIXME</matchString>
                          <matchType>exact</matchType>
                        </tag>
                        <tag>
                          <matchString>&lt;deprecated</matchString>
                          <matchType>exact</matchType>
                        </tag>
                        <tag>
                          <matchString>TODO</matchString>
                          <matchType>ignoreCase</matchType>
                        </tag>
                      </tags>
                    </tagClass>
                  </tagClasses>
                </tagListOptions>
              </configuration>
            </plugin>

          </reportPlugins>
        </configuration>
      </plugin>

    </plugins>
  </build>


  <!-- More Project Information -->
  <name>Random jUnit</name>
  <description>This project permits to execute jUnit randomly: per ClassRunner
  and per suite. This approach is not the best to reproduce errors, however,
  it aims to discover new ones.</description>
  <url>http://randomjunit.sourceforge.net/</url>
  <inceptionYear>2011</inceptionYear>
  <licenses>
    <license>
      <name>BSD 2-clause License</name>
      <distribution>repo</distribution>
    </license>
    <license>
      <name>Creative Commons - Attribution</name>
      <url>http://creativecommons.org/licenses/by/3.0/legalcode</url>
      <distribution>manual</distribution>
      <comments>This license is for all documents and textual production,
        including the website.</comments>
    </license>
  </licenses>
  <organization>
    <name>AngocA</name>
    <url>http://angoca.users.sourceforge.net/</url>
  </organization>
  <developers>
    <developer>
      <id>angoca</id>
      <name>Andres Gomez Casanova</name>
      <organization>AngocA</organization>
      <email>angoca at yahoo dot com</email>
      <roles>
        <role>Designer</role>
        <role>Developer</role>
        <role>Project Manager</role>
      </roles>
      <timezone>-5</timezone>
      <url>http://angoca.users.sourceforge.net/</url>
    </developer>
  </developers>

  <!-- Environment Settings -->
  <issueManagement>
    <system>Track</system>
    <url>http://sourceforge.net/apps/trac/randomjunit/</url>
  </issueManagement>
  <scm>
    <connection>scm:git:git://randomjunit.git.sourceforge.net/gitroot/randomjunit/randomjunit
    </connection>
    <developerConnection>scm:git:ssh://angoca@randomjunit.git.sourceforge.net/gitroot/randomjunit/randomjunit
    </developerConnection>
    <tag>HEAD</tag>
    <url>http://randomjunit.git.sourceforge.net/git/gitweb-index.cgi</url>
  </scm>
  <distributionManagement>
    <downloadUrl>http://sourceforge.net/projects/randomjunit/files/
    </downloadUrl>
    <!-- Remember to configure the settings.xml file for the credentials -->
    <site>
      <id>sf.net</id>
      <name>randomjunit</name>
      <url>scp://shell.sourceforge.net/home/project-web/randomjunit/htdocs/
      </url>
    </site>
  </distributionManagement>
</project>
