<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>com.bat.taointegrator.monitor</groupId>
		<artifactId>TAOIntegratorMonitor</artifactId>
		<version>1.0-SNAPSHOT</version>
	</parent>
	<artifactId>TAOIntegratorMonitor-svc</artifactId>
	<name>TAOIntegratorMonitor-svc</name>

	<dependencies>
		<dependency>
			<groupId>com.bat.taointegrator.monitor</groupId>
			<artifactId>TAOIntegratorMonitor-model</artifactId>
			<version>${project.parent.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.bat.taointegrator.monitor</groupId>
			<artifactId>TAOIntegratorMonitor-dao</artifactId>
			<version>${project.parent.version}</version>
		</dependency>
		<dependency>
  			<groupId>com.bat.taointegrator.monitor</groupId>
  			<artifactId>TAOIntegratorMonitor-util</artifactId>
  			<version>${project.parent.version}</version>
  			<scope>provided</scope>
  		</dependency>
  		<dependency>
			<groupId>org.glassfish.extras</groupId>
			<artifactId>glassfish-embedded-all</artifactId>
			<version>3.1</version>
			<scope>test</scope>
		</dependency>
  		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-annotations</artifactId>
			<version>3.4.0.GA</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>javaee</groupId>
			<artifactId>javaee-api</artifactId>
			<version>5</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.jboss.jbossas</groupId>
			<artifactId>jboss-as-messaging</artifactId>
			<version>5.1.0.CR1</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.tinet.common</groupId>
			<artifactId>tinetcommon-exceptions</artifactId>
			<version>1.2.4</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-beanutils</groupId>
			<artifactId>commons-beanutils</artifactId>
			<version>1.8.3</version>
		</dependency>
		<dependency>
			<groupId>jboss</groupId>
			<artifactId>jbossha</artifactId>
			<version>4.0.2</version>
			<scope>provided</scope>
		</dependency>
		<!-- Unit Test Dependencies -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.googlecode.jmockit</groupId>
			<artifactId>jmockit</artifactId>
			<version>1.7</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.googlecode.jmockit</groupId>
			<artifactId>jmockit-coverage</artifactId>
			<version>0.999.26</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>jaxen</groupId>
			<artifactId>jaxen</artifactId>
			<version>1.1.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.16</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.bat.odysseytao.util</groupId>
			<artifactId>OdysseyUtil</artifactId>
			<version>1.0</version>
			<exclusions>
				<exclusion>
					<artifactId>BAT-common</artifactId>
					<groupId>com.bat.common</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-beanutils-core</artifactId>
					<groupId>commons-beanutils</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-configuration</artifactId>
					<groupId>commons-configuration</groupId>
				</exclusion>
				<exclusion>
					<groupId>com.bat.odysseytao.integrationlayer</groupId>
					<artifactId>IntegrationLayer</artifactId>
				</exclusion>
				<exclusion>		
					<groupId>com.tinet.comun</groupId>
					<artifactId>TinetCommon</artifactId></exclusion>
				</exclusions>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-ejb-plugin</artifactId>
				<version>2.1</version>
				<configuration>
					<ejbVersion>3.0</ejbVersion>
					<generateClient>true</generateClient>
					<clientExcludes>
						<clientExclude>com/bat/taointegratormonitor/business/messagehandler/ejb/MessageHandlerEJB.*</clientExclude>
						<clientExclude>com/bat/taointegratormonitor/business/messagesender/ejb/MessageSenderEJB.*</clientExclude>
						<clientExclude>com/bat/taointegratormonitor/business/monitor/ejb/MonitorEJB.*</clientExclude>
						<clientExclude>*.xml</clientExclude>
						<clientExclude>*.properties</clientExclude>
					</clientExcludes>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.0.2</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>