<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2009 Nordic Consulting & Development Company

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<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">
  <!-- SCM version: $Id: pom.xml 58 2009-03-27 15:52:31Z lukasz.k.wolski $ -->
    <parent>
   	  <groupId>org.sonatype.oss</groupId>
   	  <artifactId>oss-parent</artifactId>
   	  <version>7</version>
   	</parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>net.peachjean.differentia</groupId>
  <artifactId>differentia-javaica</artifactId>
  <name>differentia-javaica</name>
  <version>1.2</version>
  <packaging>jar</packaging>
  <description>Finding differences between two Java source codes. Forked from http://code.google.com/p/differentia-javaica</description>
  <url>http://hg.peachjean.net/differentia-javaica</url>
  <licenses>
    <license>
      <name>Apache 2</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
      <comments>A business-friendly OSS license</comments>
    </license>
  </licenses>
  <inceptionYear>2009</inceptionYear>
  <developers>
    <developer>
      <id>hshsce</id><name>Kazimierz Pogoda</name>
	    <roles>
		  <role>upstream developer</role>
	    </roles>
    </developer>
    <developer>
      <id>lukasz.k.wolski</id><name>Łukasz Wolski</name>
	    <roles>
		  <role>upstream developer</role>
	    </roles>
    </developer>
	  <developer>
		<id>jaredbunting</id>
		<name>Jared Bunting</name>
		<email>jared.bunting@peachjean.com</email>
		<organization>PeachJean Solutions</organization>
		<timezone>-6</timezone>
	  </developer>
  </developers>
  <dependencies>
    <dependency>
      <groupId>org.antlr</groupId>
      <artifactId>antlr-runtime</artifactId>
      <version>3.1.1</version>
    </dependency>
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.4</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.5</version>
    </dependency>
    <dependency>
    	<groupId>javax.annotation</groupId>
    	<artifactId>jsr250-api</artifactId>
    	<version>1.0</version>
    	<scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.5.1</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <pushChanges>false</pushChanges>
          <tagNameFormat>@{project.version}</tagNameFormat>
          <autoVersionSubmodules>true</autoVersionSubmodules>
          <localCheckout>true</localCheckout>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.8.1</version>
        <configuration>
          <breakiterator>true</breakiterator>
          <encoding>UTF-8</encoding>
          <links>
            <link>http://java.sun.com/javase/6/docs/api/</link>
            <link>http://commons.apache.org/lang/api-2.4/</link>
            <link>http://junit.sourceforge.net/javadoc/</link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
    <scm>
      <connection>scm:hg:https://bitbucket.org/peachjean/modularwebapp</connection>
      <developerConnection>scm:hg:ssh://hg@bitbucket.org/peachjean/modularwebapp</developerConnection>
      <url>https://bitbucket.org/peachjean/commons</url>
      <tag>1.2</tag>
  </scm>
    <profiles>
    <profile>
      <id>generate-java-parser</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>1.1</version>
            <executions>
              <execution>
                <phase>process-resources</phase>
                <goals>
                  <goal>java</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <includeProjectDependencies>false</includeProjectDependencies>
              <includePluginDependencies>true</includePluginDependencies>
              <executableDependency>
                <groupId>org.antlr</groupId>
                <artifactId>antlr</artifactId>
              </executableDependency>
              <mainClass>org.antlr.Tool</mainClass>
              <arguments>
                <argument>-report</argument>
                <argument>src/main/java/pl/ncdc/differentia/antlr/Java.g</argument>
              </arguments>
            </configuration>
            <dependencies>
              <dependency>
                <groupId>org.antlr</groupId>
                <artifactId>antlr</artifactId>
                <version>3.1.1</version>
              </dependency>
            </dependencies>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
