<?xml version="1.0" encoding="UTF-8"?>
<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>
    <packaging>jar</packaging>
    <groupId>com.cerner.demo.goldfinger</groupId>
    <artifactId>com.cerner.demo.goldfinger.biz.demographics</artifactId>
    <name>Goldfinger Demographics Business Components</name>
    <organization>
        <name>Cerner Corp. (Application Architecture)</name>
        <url>http://apparch.cerner.corp/</url>
    </organization>
    <scm>
        <url>
            http://scm.apparch.cerner.corp/viewvc/demo/goldfinger/trunk/modules/${project.artifactId}
        </url>
        <connection>
            scm:svn:http://scm.apparch.cerner.corp/svn/demo/goldfinger/trunk/modules/${project.artifactId}
        </connection>
    </scm>
    <version>2.0-SNAPSHOT</version>
	<inceptionYear>2006</inceptionYear>
	<description>Goldfinger Demographics Business Components</description>
	<developers>
		<developer>
			<name>Stephen Pack</name>
			<id>sp010640</id>
			<email>stephen.pack@cerner.com</email>
            <roles>
                <role>Software Engineer</role>
            </roles>
		</developer>
	</developers>
	<build>
        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-webdav</artifactId>
                <version>RELEASE</version>
            </extension>
        </extensions>
        <plugins>
            <plugin>
            	<groupId>com.cerner.engineering</groupId>
            	<artifactId>cerner-osgi-plugin</artifactId>
            	<executions>
            		<execution>
            			<goals>
            				<goal>generate-osgi-manifest</goal>
            			</goals>
            		</execution>
            	</executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <index>true</index>
                        <manifestFile>
                            ${project.build.outputDirectory}/META-INF/MANIFEST.MF
                        </manifestFile>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <showDeprecation>true</showDeprecation>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-surefire-plugin</artifactId>
             </plugin>            
        </plugins>
	</build>
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jxr-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <links>
                        <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
                    </links>
                    <source>1.5</source>
                    <showProtected>true</showProtected>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
            </plugin>
        </plugins>
    </reporting>
	<dependencies>
    	<!-- compile -->
		<dependency>
			<groupId>com.cerner.system</groupId>
			<artifactId>system-core</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.cerner.system.cache</groupId>
			<artifactId>system-cache</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.cerner.system.code</groupId>
			<artifactId>system-code</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.cerner.system.enterprise</groupId>
			<artifactId>system-enterprise-client</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.cerner.system.enterprise</groupId>
			<artifactId>system-enterprise-data</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.cerner.system.enterprise</groupId>
			<artifactId>system-enterprise-domain</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.cerner.system.enterprise</groupId>
			<artifactId>system-enterprise-authent</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.cerner.system.registry</groupId>
			<artifactId>system-registry</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		
		<!-- runtime -->
		
		<!-- test -->
		<dependency>
			<groupId>com.cerner.system.enterprise</groupId>
			<artifactId>system-enterprise-data-charlie</artifactId>
			<version>2.0-SNAPSHOT</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.cerner.system.instrument</groupId>
			<artifactId>system-instrument-logging-basic</artifactId>
			<version>2.0-SNAPSHOT</version>
			<scope>test</scope>
		</dependency>
		<dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>[3,4)</version>
            <scope>test</scope>
        </dependency>
		<dependency>
			<groupId>com.cerner.junit.madhatter</groupId>
			<artifactId>junit-madhatter</artifactId>
			<version>2.0-SNAPSHOT</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.cerner.junit.madhatter</groupId>
			<artifactId>junit-madhatter-enterprise-client</artifactId>
			<version>2.0-SNAPSHOT</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.cerner.junit.madhatter</groupId>
			<artifactId>junit-madhatter-code</artifactId>
			<version>2.0-SNAPSHOT</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
    <repositories>
        <repository>
            <id>apparch-demo</id>
            <name>Application Architecture Demo Repository</name>
            <url>http://repo.apparch.cerner.corp/demo/repo</url>
        </repository>
        <repository>
            <id>apparch-snapshot</id>
            <name>Application Architecture Snapshot Repository</name>
            <url>http://repo.apparch.cerner.corp/snapshot/repo</url>
        </repository>        
        <repository>
            <id>apparch-release</id>
            <name>Application Architecture Release Repository</name>
            <url>http://repo.apparch.cerner.corp/release/repo</url>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
 	   <id>apparch-tool</id>
            <name>Application Architecture Tool Repository</name>
            <url>http://repo.apparch.cerner.corp/tool/repo</url>
        </pluginRepository>
    </pluginRepositories>
    <distributionManagement>
        <repository>
            <id>apparch-demo</id>
            <name>Application Architecture Demo Repository</name>
            <url>dav:http://repo.apparch.cerner.corp/demo/repo</url>
        </repository>
        <site>
            <id>apparch-demo</id>
            <name>Application Architecture Demo Repository</name>
            <url>
                dav:http://repo.apparch.cerner.corp/demo/site/${project.groupId}/${project.artifactId}/${project.version}
            </url>
        </site>
    </distributionManagement>
</project>

