<?xml version="1.0" encoding="UTF-8"?>
<project>
    <pomVersion>3</pomVersion>
    <name>Struts Example</name>
	<groupId>skillfusion</groupId>
    <artifactId>strutsExample</artifactId>
    <currentVersion>0.1</currentVersion>
    <organization>
        <name>SkillFusion Software</name>
        <url>http://www.skillfusion.com</url>
        <logo>http://www.skillfusion.com/images/sfx_logo.gif</logo>
    </organization>
    <inceptionYear>2005</inceptionYear>
    <package>com.skillfusion.examples.struts</package>
    <description>A simple example of a web applicaton built using the Struts framework from the Apache Foundation.  This application is used as an example in an article on http://developers.skillfusion.com</description>
    <shortDescription>Example Struts App</shortDescription>
    <url>http://www.skillfusion.com</url>
    <siteAddress>http://win2khg/strutsExample/</siteAddress>
	<versions>
		<version>
			<id>0.1</id>
			<name>0.1</name>
	    </version>
    </versions>
    <!-- List the developers who worked on the project; they will be listed in the generated site documentation.  NOTE:  There is a separate section for contributors. -->
    <developers>
        <developer>
            <name>Hank Gay</name>
            <id>hankg</id>
            <email>hankgay@skillfusion.com</email>
            <organization>SkillFusion Software</organization>
            <timezone>-5</timezone>
        </developer>
    </developers>
    <!-- Define the license under which this application will be distributed. -->
    <licenses>
        <license>
            <name>GNU General Public License</name>
            <url>http://www.gnu.org/copyleft/gpl.html</url>
            <distribution>manual</distribution>
        </license>
    </licenses>
    <!-- Define any libraries your program will require.  Maven will automatically check for these libraries when you build the project; if they cannot be found, Maven will attempt to acquire them from a public Maven repository. -->
    <dependencies>
        <!-- Logging -->
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.8</version>
            <type>jar</type>
            <properties>
                <war.bundle>true</war.bundle>
                <dependencyType>lib</dependencyType>
            </properties>
            <url>http://logging.apache.org/log4j/docs/index.html</url>
        </dependency>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.0.4</version>
            <type>jar</type>
            <url>http://jakarta.apache.org/commons/logging.html</url>
            <properties>
                <war.bundle>true</war.bundle>
                <cactus.bundle>true</cactus.bundle>
            </properties>
        </dependency>
        <!-- Unit testing -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <type>jar</type>
            <url>http://www.junit.org</url>
        </dependency>
        <!-- Web application framework -->
        <dependency>
            <groupId>struts</groupId>
            <artifactId>struts</artifactId>
            <version>1.2.4</version>
            <type>jar</type>
            <url>http://struts.apache.org/</url>
        </dependency>
        <!-- Generating tag libraries -->
        <dependency>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
            <version>2.5.1</version>
            <type>jar</type>
            <url>http://xml.apache.org/xalan</url>
        </dependency>
        <!-- j2ee library; source of HttpServletRequest, etc. -->
        <dependency>
        	<groupId>j2ee</groupId>
        	<artifactId>j2ee</artifactId>
        	<version>1.3.1</version>
        	<type>jar</type>
        	<url>http://java.sun.com/</url>
        </dependency>
    </dependencies>
    <build>
        <nagEmailAddress>hankgay@skillfusion.com</nagEmailAddress>
        <!-- Identify the base directory for the java source code of the application -->
        <sourceDirectory>main/src/java</sourceDirectory>
        <!-- Location of source tree for the application's unit tests -->
        <unitTestSourceDirectory>main/test/java</unitTestSourceDirectory>
        <!-- listing of the specific unit tests to execute when testing -->
        <unitTest>
            <includes>
    	    	<!-- Include any test of business objects; each test case's name ends with "Test". -->
				<include>com/skillfusion/examples/struts/bizobjs/*Test.java</include>
	        	<!-- Include any test of service object implementations; each test case's name ends with "Test". -->
				<include>com/skillfusion/examples/struts/serviceobjimpls/*Test.java</include>
            </includes>
            <resources>
        	    <resource>
    	            <directory>src/resources/logging</directory>
	                <includes>
                	    <include>log4j.xml</include>
            	        <include>log4j.dtd</include>
        	        </includes>
    	            <filtering>false</filtering>
	            </resource>
				<resource>
					<directory>${basedir}/src/test</directory>
					<includes>
						<include>**/*.xml</include>
					</includes>
				</resource>
            </resources>
        </unitTest>
        <resources>
            <resource>
                <directory>src/resources/logging</directory>
                <includes>
                    <include>log4j.xml</include>
                    <include>log4j.dtd</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
    </build>
    <reports>
        <!--
             |
             | These should all be completely self contained. You should be able
             | to generate each of them individually without needing the final
             | xdoc transformation.
             |
             | Each report plugin with it's POM and plugin.jelly logic should
             | contain everything needed to produced the report.
             |
        -->
        <report>maven-jdepend-plugin</report>
        <report>maven-checkstyle-plugin</report>
        <report>maven-changes-plugin</report>
        <report>maven-changelog-plugin</report>
        <report>maven-file-activity-plugin</report>
        <report>maven-developer-activity-plugin</report>
        <report>maven-javadoc-plugin</report>
        <report>maven-jxr-plugin</report>
        <report>maven-junit-report-plugin</report>
        <report>maven-tasklist-plugin</report>
        <report>maven-pmd-plugin</report>
        <report>maven-simian-plugin</report>
        <report>maven-license-plugin</report>
    </reports>
</project>
