<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">

  <parent>
		<groupId>org.gatein.common</groupId>
		<artifactId>common-parent</artifactId>
    <version>2.2.3.Final-SNAPSHOT</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <artifactId>common-common</artifactId>
  <packaging>jar</packaging>
  <name>GateIn - Common component (common)</name>

  <dependencies>

    <dependency>
      <groupId>org.gatein.common</groupId>
      <artifactId>common-logging</artifactId>
		</dependency>
		
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-simple</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
      <scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.jboss.marshalling</groupId>
			<artifactId>jboss-marshalling-river</artifactId>
			<version>${version.jboss.marshalling}</version>
			<scope>test</scope>
		</dependency>

	</dependencies>

	<build>
		<plugins>

			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<encoding>iso-8859-1</encoding>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<!--
						To use in conjonctin with export MAVEN_OPTS="-Xdebug -Xnoagent
						-Djava.compiler=NONE
						-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"
					-->
          <forkMode>never</forkMode>
					<argLine>-enableassertions</argLine>
					<excludes>
						<exclude>org/gatein/common/i18n/BundleNameParserTestCase*.java</exclude>
					</excludes>
				</configuration>
			</plugin>

		</plugins>

		<testSourceDirectory>src/test/java</testSourceDirectory>

		<testResources>
			<testResource>
				<directory>src/test/resources</directory>
				<filtering>false</filtering>
			</testResource>
		</testResources>
	</build>
</project>
