<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.mobicents</groupId>
    <artifactId>mobicents-parent</artifactId>
    <version>2.11</version>
  </parent>
  
  <groupId>org.mobicents.tools</groupId>
  <artifactId>maven-library-plugin</artifactId>
  <version>1.0.0.BETA2</version>
  
  <packaging>maven-plugin</packaging>
  <name>Mobicents :: Tools :: mobicents-library-plugin</name>
  
  <properties>
    <maven.test.skip>true</maven.test.skip>
  </properties>
  
  <description>
    Mobicent Maven2 plugin to build JAIN SLEE 1.1 Library jars.
  </description>
  
  <organization>
    <name>Mobicents</name>
    <url>http://www.mobicents.org</url>
  </organization>
  <inceptionYear>2008</inceptionYear>
  
  <prerequisites>
    <maven>2.0.6</maven>
  </prerequisites>
  
  <licenses>
    <license>
      <name>
        GNU Library or Lesser General Public License (LGPL)
      </name>
      <url>http://www.gnu.org/licenses/lgpl.txt</url>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>Alexandre Mendon�a</name>
      <email>brainslog[at]gmail.com</email>
    </developer>
  </developers>
  
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <version>2.0.7</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-archiver</artifactId>
      <version>2.3</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-archiver</artifactId>
      <version>1.0-alpha-9</version>
      <exclusions>
        <exclusion>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-container-default</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-component-api</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-io</artifactId>
      <version>1.0-alpha-1</version>
      <exclusions>
        <exclusion>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-container-default</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-component-api</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <version>1.4.9</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-plugin-testing-harness</artifactId>
      <version>1.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-eclipse-plugin</artifactId>
          <groupId>org.mobicents.tools</groupId>
          <version>1.0.0.BETA2</version>
        <inherited>false</inherited>
        <executions />
        <configuration>
          <classpathExcludes>
            <exclude>xml-apis:xml-apis</exclude>
            <exclude>jtidy:jtidy</exclude>
          </classpathExcludes>
          <resolveTransitiveDependencies>true</resolveTransitiveDependencies>
          <eclipseProjectName>maven-library-plugin</eclipseProjectName>
        </configuration>
      </plugin>
             <!--Site -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-site-plugin</artifactId>
                 <version>2.0-beta-5</version>
             </plugin>
    </plugins>
  </build>
  
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.0.1</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <!-- todo version -->
      </plugin>
      <plugin>
        <artifactId>maven-jxr-plugin</artifactId>
        <!-- todo version -->
        <!-- todo groupId -->
      </plugin>
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <!--  <configuration>
          <configLocation>${pom.basedir}/src/site/ops4j-format.xml</configLocation>
          <excludes>org/ops4j/pax/construct/util/Xpp3DomHelper.java</excludes>
        </configuration>-->
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.3</version>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <minmemory>128m</minmemory>
          <maxmemory>512m</maxmemory>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-pmd-plugin</artifactId>
        <configuration>
          <targetJdk>1.5</targetJdk>
          <sourceEncoding>utf-8</sourceEncoding>
          <minimumTokens>100</minimumTokens>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
  
  <scm>
    <connection>scm:svn:https://mobicents.googlecode.com/svn/tags/tools/maven-library-plugin/1.0.0.BETA2</connection>
    <developerConnection>scm:svn:https://mobicents.googlecode.com/svn/tags/tools/maven-library-plugin/1.0.0.BETA2</developerConnection>
    <url>http://mobicents.googlecode.com/svn/tags/tools/maven-library-plugin/1.0.0.BETA2</url>
  </scm>
  
  <!-- dupe info from parent, but it's only way to retrieve the parent without checkout -->

	<repositories>
		<repository>
			<id>jboss-public-repository-group</id>
			<name>JBoss Public Maven Repository Group</name>
			<url>https://repository.jboss.org/nexus/content/groups/public</url>
			<layout>default</layout>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</snapshots>
		</repository>
	</repositories>

  <profiles>
    <profile>
      <id>maven-release</id>
      <build>
        <plugins>
          <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <configuration>
            <autoVersionSubmodules>true</autoVersionSubmodules>
            <tagBase>https://mobicents.googlecode.com/svn/tags/tools/maven-library-plugin</tagBase>
          </configuration>
          </plugin>
        </plugins>
      </build>    
    </profile>
  </profiles>

</project>