<?xml version="1.0" encoding="UTF-8"?>
<project>

	<modelVersion>4.0.0</modelVersion>
	<groupId>net.sqlind</groupId>
	<artifactId>SQLind4EJB</artifactId>
	<version>1.0.1-FINAL</version>
	<packaging>jar</packaging>
	<name>SQLind4EJB</name>
	<description>EJB QL template API</description>
	<url>http://www.sqlind.net</url>

	<licenses>
		<license>
			<name>OSL</name>
			<url>http://www.opensource.org/licenses/osl-3.0.php</url>
			<distribution>repo</distribution>
			<comments>Open Software License</comments>
		</license>
	</licenses>

	<scm>
		<url>https://sqlind.svn.sourceforge.net/svnroot/sqlind</url>
		<connection>https://sqlind.svn.sourceforge.net/svnroot/sqlind
		</connection>
	</scm>

	<developers>
		<developer>
			<id>stoony</id>
			<name>Rives Davy</name>
			<email>davy.rives@gmail.com</email>
		</developer>
	</developers>

	<distributionManagement>
		<repository>
			<id>sqlind.net</id>
			<url>ftp://sqlind.net/web/release</url>
		</repository>
	</distributionManagement>
	
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	</properties>

	<dependencies>


		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>3.8.2</version>
			<type>jar</type>
			<scope>test</scope>
			<optional>true</optional>
		</dependency>

		<dependency>
			<groupId>hsqldb</groupId>
			<artifactId>hsqldb</artifactId>
			<version>1.7.2.2</version>
			<scope>test</scope>
			<optional>true</optional>
		</dependency>
		
		<dependency>
			<groupId>net.sqlind</groupId>
			<artifactId>SQLindTest</artifactId>
			<version>1.0.0</version>
			<scope>test</scope>
			<optional>true</optional>
		</dependency>

	

  
	<dependency>
		<groupId>net.sqlind</groupId>
		<artifactId>SQLind</artifactId>
		<version>2.0.1-GA</version>
	</dependency>
	
	
	
  
	
	<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.1.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.4.0.GA</version>
</dependency>

	<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.5.2</version>
</dependency>
		<dependency>
			<groupId>commons-beanutils</groupId>
			<artifactId>commons-beanutils</artifactId>
			<version>1.8.3</version>
	</dependency>	
			<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.1</version>
		</dependency>

		<dependency>
			<groupId>javassist</groupId>
			<artifactId>javassist</artifactId>
			<version>3.9.0.GA</version>
		</dependency>
			<dependency>
			<groupId>net.sqlind</groupId>
			<artifactId>SQLindTest</artifactId>
			<version>[1.0.0,)</version>
		</dependency>
		
		
		
	</dependencies>

	<build>
		<sourceDirectory>src</sourceDirectory>
		<testSourceDirectory>tst</testSourceDirectory>
		 
		<resources>
			<resource>
				<directory>src</directory>
				<excludes>
					<exclude> **/*.java </exclude>
				</excludes>
			</resource>
		</resources>
		<testResources>
			<testResource>
				<directory>tst</directory>
				<excludes>
					<exclude> **/*.java </exclude>
				</excludes>
			</testResource>
		</testResources>

		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ftp</artifactId>
				<version>1.0-beta-6</version>
			</extension>
		</extensions>
		<plugins>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.5</version>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>

					<encoding>UTF-8</encoding>

				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.7</version>

			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.1.2</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>verify</phase>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

	<profiles>
		<profile>
			<id>deploy</id>
			<activation>
				<activeByDefault>false</activeByDefault>
				<property>
					<name>signed</name>
					<value>true</value>
				</property>
			</activation>

			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-surefire-plugin</artifactId>
						<configuration>
							<encoding>UTF-8</encoding>
							
						</configuration>
					</plugin>

				</plugins>
			</build>
		</profile>
	</profiles>

</project>
