<?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>
  <groupId>br.com.senacagil</groupId>
  <artifactId>SudokuServer</artifactId>
  <packaging>war</packaging>
  <version>0.0.1-SNAPSHOT</version>
  <name>SodokuServer Maven Webapp</name>
  <url>http://maven.apache.org</url>
  <parent>
    <artifactId>mtsw-maven_05-SudokuGame</artifactId>
    <groupId>br.com.senacagil</groupId>
    <version>0.0.1-SNAPSHOT</version>
  </parent>
  <dependencies>
		<dependency>
			<groupId>br.com.senacagil</groupId>
			<artifactId>SudokuSolver</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
		
   <!-- 3rd party dependencies available from the public repository -->	  
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.0.4</version>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.9</version>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-web</artifactId>
      <version>1.2.6</version>
      <scope>compile</scope>
    </dependency>
    
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-webmvc</artifactId>
      <version>1.2.6</version>
      <scope>compile</scope>
    </dependency>

    <!-- 
      SUN dependencies that must be installed manually to local repository 
      but should not be deployed to the web container (hence the scope is 'provided')
    -->	  
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
      <scope>provided</scope>
    </dependency>
   </dependencies>
   
  	<build>
        <finalName>SudokuServer</finalName>
    	<plugins>
			<!--  To run: mvn jetty:run, In the browser use: http://localhost:8080/HotelWebapp/ -->
			<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>maven-jetty-plugin</artifactId>
			</plugin>
		</plugins>
	</build>
</project>