<?xml version="1.0" encoding="ISO-8859-1"?>
<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">


    <!-- Artifact tags and packaging ======================================================== -->
    <modelVersion>4.0.0</modelVersion>
    <groupId>intellicare</groupId>
    <artifactId>ic-commons</artifactId>
    <version>1.2.2</version>
    <packaging>jar</packaging>
    <name>Intellicare Common Utilities</name>


    <!--  Project dependencies ============================================================== -->
    <dependencies>

        <!-- Compiling ======================== -->
        
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <version>3.2.5.ga</version>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
            <version>2.7.0</version>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
            <scope>compile</scope>
        </dependency>
        

        <!-- Unit Testing =============================================== -->
        <!--  includes JUnit 4.4, Hibernte 3.2.2ga, DBUnit 2.2 ========== -->
    
        <dependency>
          <groupId>intellicare</groupId>
          <artifactId>ic-commons-testing</artifactId>
          <version>1.1.0</version>
          <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>1.1</version>
            <scope>test</scope>
        </dependency>

    </dependencies>


    <!--  Build  ===========================================================================  -->

    <build>

        <plugins>

            <!-- Compile with JDK 5 -->
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>

            <!--  JAR Plugin ======================= -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <finalName>${artifactId}-${project.version}</finalName>
                </configuration>
            </plugin>
        </plugins>

        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-ftp</artifactId>
                <version>1.0-beta-2</version>
            </extension>
        </extensions>
    </build>

  <!-- Reporting =========================================================================  --> 

  <reporting>

       <plugins>

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-jxr-plugin</artifactId>
           </plugin>

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-javadoc-plugin</artifactId>
           </plugin>

           <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>cobertura-maven-plugin</artifactId>
               <version>2.0</version>
           </plugin>

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-report-plugin</artifactId>
           </plugin>

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-project-info-reports-plugin</artifactId>
           </plugin>

           <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>findbugs-maven-plugin</artifactId>
               <version>1.0.0</version>
               <configuration>
                   <threshold>Normal</threshold>
                   <effort>Max</effort>
                   <visitors>
                       FindDeadLocalStores,UnreadFields
                   </visitors>
                   <omitVisitors>
                       FindDeadLocalStores,UnreadFields
                   </omitVisitors>
                   <pluginList>
                       /libs/fb-contrib/fb-contrib-2.8.0.jar
                   </pluginList>
               </configuration>
           </plugin>

       </plugins>

  </reporting>

    <!--  Deploy ===========================================================================  -->

    <distributionManagement>

        <site>
            <id>starbuck</id>
            <name>Maven Site Deployment Server</name>
            <url>
                scp://icptldevdocslx01.icare.intellicare.com/var/www/html/Maven-Sites/${artifactId}/
            </url>
        </site>

        <repository>
            <id>starbuck</id>
            <url>sftp://starbuck:22/var/www/html/maven2/</url>
        </repository>

    </distributionManagement>

</project>
