<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>com.quyne.portalhum</groupId>
	<artifactId>portalhum</artifactId>
	<packaging>war</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>PortalHUM: Hagalo Usted Mismo</name>
	<url>http://www.portalhum.com</url>
	<dependencies>
		<dependency>
			<groupId>struts</groupId>
			<artifactId>struts</artifactId>
			<version>1.2.9</version>
		</dependency>
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.0.5</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.3</version>
		</dependency>
		<dependency>
			<groupId>org.apache.ant</groupId>
			<artifactId>ant</artifactId>
			<version>1.7.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.ant</groupId>
			<artifactId>ant-jsch</artifactId>
			<version>1.7.0</version>
		</dependency>		
		<dependency>
			<groupId>bouncycastle</groupId>
			<artifactId>bcprov-jdk15</artifactId>
			<version>136</version>
		</dependency>
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
			<version>1.4</version>
		</dependency>
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>20030203.000129</version>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.14</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>3.8.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>strutstestcase</groupId>
			<artifactId>strutstestcase</artifactId>
			<version>2.1.3-1.2-2.4</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.fredck</groupId>
			<artifactId>FCKeditor</artifactId>
			<version>2.3</version>
		</dependency>
		<dependency>
			<groupId>commons-jxpath</groupId>
			<artifactId>commons-jxpath</artifactId>
			<version>1.2</version>
		</dependency>
		<dependency>
			<groupId>com.capppucinonet</groupId>
			<artifactId>strutscx</artifactId>
			<version>0.9.5</version>
		</dependency>
		<dependency>
			<groupId>xmlbeans</groupId>
			<artifactId>xbean</artifactId>
			<version>2.2.0</version>
		</dependency>
		<dependency>
			<groupId>xmlbeans</groupId>
			<artifactId>xmlpublic</artifactId>
			<version>2.1.0</version>
		</dependency>
		<dependency>
			<groupId>stax</groupId>
			<artifactId>stax</artifactId>
			<version>1.1.1-dev</version>
			<scope>compile</scope>
			<exclusions>
				<exclusion>
					<artifactId>xmlbeans-jsr173-api</artifactId>
					<groupId>xmlbeans</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>net.sf.saxon</groupId>
			<artifactId>saxon</artifactId>
			<version>8.7</version>
	        </dependency>
	</dependencies>
	<repositories>  
		<!-- maven-proxy -->
		<repository>  
			<id>central</id>  
			<name>Quyne S.A.</name>  
			<url>http://localhost:9999/repository</url>  
			<snapshots>  
				<enabled>true</enabled>
			</snapshots>  
			<releases>  
				<enabled>true</enabled>
			</releases>  
		</repository>  
	</repositories>  
	<pluginRepositories>  
		<pluginRepository>  
			<id>central</id>  
			<name>Quyne S.A.</name>
			<url>http://alejandria:9999/repository</url>
		</pluginRepository>
     	</pluginRepositories>
	<build>
		<finalName>PortalHUM</finalName>
		<plugins>
			<!-- Compilador-->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
			<!-- XmlBean-->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>xmlbeans-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>Build-XMLBeans</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>xmlbeans</goal>
						</goals>
					</execution>
				</executions>
				<inherited>true</inherited>
				<configuration>
					<memoryInitialSize>32m</memoryInitialSize>
					<memoryMaximumSize>64m</memoryMaximumSize>
					<outputJar>${basedir}/target/lib/${xbeanHum.name}-${xbeanHum.version}.jar</outputJar>
					<schemaDirectory>src/main/xsd</schemaDirectory>
					<verbose>true</verbose>
				</configuration>
			</plugin>			
			<!-- Contenedor Jetty -->
			<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>maven-jetty-plugin</artifactId>
				<version>6.0.0</version>
				<configuration>
				<contextPath>/PortalHUM</contextPath>
				<scanIntervalSeconds>3</scanIntervalSeconds>
				<scanTargets>
					<scanTarget>src/main/webapp/WEB-INF</scanTarget>
				</scanTargets>
				</configuration>
			</plugin>
			<!-- Cargo -->
			<plugin>
				<groupId>org.codehaus.cargo</groupId>
				<artifactId>cargo-maven2-plugin</artifactId>
				<version>0.3</version>
				<configuration>
					<wait>${cargo.wait}</wait>
					<container>
						<containerId>${cargo.container}</containerId>
						<home>${cargo.container.home}</home>
						<!--zipUrlInstaller>
							<url>${cargo.container.url}</url>
							<installDir>${installDir}</installDir>
						</zipUrlInstaller-->
					</container>
					<configuration>
						<home>${project.build.directory}/${cargo.container}/container</home>
						<properties>
							<cargo.hostname>${cargo.host}</cargo.hostname>
							<cargo.servlet.port>${cargo.port}</cargo.servlet.port>
						</properties>
					</configuration>
				</configuration>
				<executions>
					<execution>
						<id>start-container</id>
						<phase>pre-integration-test</phase>
						<goals>
							<goal>start</goal>
						</goals>
					</execution>
					<execution>
						<id>stop-container</id>
						<phase>post-integration-test</phase>
						<goals>
							<goal>stop</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	<properties>
		<!-- Cargo settings -->
		<cargo.container>tomcat5x</cargo.container>
		<cargo.container.home>${env.CATALINA_HOME}</cargo.container.home>
		<cargo.container.url>http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.zip</cargo.container.url>
		<cargo.host>localhost</cargo.host>
		<cargo.port>8081</cargo.port>
		<cargo.wait>false</cargo.wait>
		<!-- XmlBeans Settings-->
		<xbeanHum.name>portalhumSchema</xbeanHum.name>
		<xbeanHum.version>0.1</xbeanHum.version>
	</properties>
</project>

