<!--
	IFS 1.2 (Iterative Forward Search)
	CourseTT 1.2 (University Course Timetabling)
	StudentSct 1.2 (Student Sectioning)
	ExamTT 1.2 (Examination Timetabling)
	Copyright (C) 2007 - 2010 Tomas Muller
	muller@unitime.org, http://muller.unitime.org
	
	This library is free software; you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 3 of the
    License, or (at your option) any later version.

	This library is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
	Lesser General Public License for more details.

	You should have received a copy of the GNU Lesser General Public
	License along with this library; if not see <http://www.gnu.org/licenses />.
-->
<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>
	
	<groupId>org.unitime</groupId>
	<artifactId>cpsolver</artifactId>
	<version>1.2.90</version>
	<packaging>jar</packaging>
	
	<name>CPSolver</name>
	<url>http://code.google.com/p/cpsolver</url>
	<description>
		The constraint solver library contains a local search based framework that allows
		modeling of a problem using constraint programming primitives (variables, values, constraints).
	</description>
	
	<organization>
		<name>UniTime LLC</name>
		<url>http://www.unitime.org</url>
	</organization>
	
	<developers>
		<developer>
			<id>muller</id>
			<name>Tomas Muller</name>
			<email>muller@unitime.org</email>
			<url>http://muller.unitime.org</url>
			<roles>
				<role>owner</role>
			</roles>
		</developer>
	</developers>
	
	<licenses>
		<license>
			<name>GNU Lesser General Public License, Version 3</name>
			<url>http://www.gnu.org/licenses/lgpl.html</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	
	<dependencies>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.8</version>
		</dependency>
		<dependency>
			<groupId>dom4j</groupId>
			<artifactId>dom4j</artifactId>
			<version>1.6.1</version>
		</dependency>
	</dependencies>
	
	<scm>
		<connection>scm:svn:http://cpsolver.googlecode.com/svn/tags/cpsolver-1.2.90</connection>
		<developerConnection>scm:svn:https://cpsolver.googlecode.com/svn/tags/cpsolver-1.2.90</developerConnection>
		<url>http://code.google.com/p/cpsolver/source/tags/cpsolver-1.2.90</url>
	</scm>
	
	<build>
		<directory>dist</directory>
		<finalName>${project.artifactId}-${project.version}</finalName>
		<resources>
			<resource>
				<directory>src</directory>
				<filtering>true</filtering>
				<targetPath>${project.build.directory}/src</targetPath>
				<includes>
					<include>**/Constants.java</include>
				</includes>
			</resource>
			<resource>
				<directory>src</directory>
				<targetPath>${project.build.directory}/src</targetPath>
				<excludes>
					<exclude>**/Constants.java</exclude>
				</excludes>
			</resource>
			<resource>
				<directory />
				<includes>
					<include>lgpl.txt</include>
				</includes>
			</resource>
		</resources>
		<sourceDirectory>${project.build.directory}/src</sourceDirectory>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.5</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<archive>
						<manifest>
							<addClasspath>true</addClasspath>
							<mainClass>net.sf.cpsolver.coursett.Test</mainClass>
						</manifest>
						<manifestEntries>
							<Build-Number>${build.number}</Build-Number>
							<Build-Date>${build.date}</Build-Date>
							<Revision-Number>${revision.number}</Revision-Number>
							<Implementation-Title>${project.name}</Implementation-Title>
							<Implementation-Version>${project.version}.${build.number}</Implementation-Version>
							<Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
							<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.1.2</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.8.1</version>
				<configuration>
					<author>true</author>
					<version>true</version>
					<use>true</use>
					<windowtitle>Constraint Solver API Documentation -- ${project.name} v${project.version}</windowtitle>
					<source>1.5</source>
					<linksource>true</linksource>
					<breakiterator>true</breakiterator>
					<detectLinks>true</detectLinks>
					<outputDirectory>${project.build.directory}/doc</outputDirectory>
					<doctitle><![CDATA[
    					<table border='0' style='font-size: 11pt;font-weight: normal;'><tr><td align='left'>
    					IFS 1.2 (Iterative Forward Search)<br>
    					CourseTT 1.2 (University Course Timetabling)<br>
    					StudentSct 1.2 (Student Sectioning)<br>
    					ExamTT 1.2 (Examination Timetabling)<br>
    					Copyright (C) 2006 - 2010 Tom&#225;&#353; M&#252;ller<br>
    					<a href='mailto:muller@unitime.org'>muller@unitime.org</a><br>
    					<a href='http://muller.unitime.org'>http://muller.unitime.org</a><br>
    					<br>
    					This library is free software; you can redistribute it and/or modify
    					it under the terms of the GNU Lesser General Public License as
    					published by the Free Software Foundation; either version 3 of the
    					License, or (at your option) any later version.
    					<br><br>
    					This library is distributed in the hope that it will be useful, but
    					WITHOUT ANY WARRANTY; without even the implied warranty of
    					MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    					Lesser General Public License for more details.
    					<br><br>
    					You should have received a copy of the GNU Lesser General Public
    					License along with this library; if not see
    					<a href='http://www.gnu.org/licenses/'>http://www.gnu.org/licenses/</a>.
    					</td></tr></table>
   					]]></doctitle>
					<groups>
						<group>
							<title>Iterative Forward Search</title>
							<packages>net.sf.cpsolver.ifs*</packages>
						</group>
						<group>
							<title>Iterative Forward Search Examples</title>
							<packages>net.sf.cpsolver.ifs.example*</packages>
						</group>
						<group>
							<title>University Course Timetabling</title>
							<packages>net.sf.cpsolver.coursett*</packages>
						</group>
						<group>
							<title>Student Sectioning</title>
							<packages>net.sf.cpsolver.studentsct*</packages>
						</group>
						<group>
							<title>Examination Timetabling</title>
							<packages>net.sf.cpsolver.exam*</packages>
						</group>
					</groups>
				</configuration>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.3</version>
				<configuration>
					<descriptors>
						<descriptor>distribution.xml</descriptor>
					</descriptors>
				</configuration>
				<executions>
					<execution>
						<id>make-assembly</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
				<version>1.1</version>
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>create</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<doCheck>false</doCheck>
					<doUpdate>false</doUpdate>
					<buildNumberPropertyName>revision.number</buildNumberPropertyName>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.7</version>
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<exportAntProperties>true</exportAntProperties>
							<tasks>
								<buildnumber />
								<tstamp>
									<format property="build.date" pattern="EEE, d MMM yyyy" locale="en" />
								</tstamp>
							</tasks>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.3.1</version>
			</plugin>
		</plugins>
		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ftp</artifactId>
				<version>2.2</version>
			</extension>
		</extensions>
	</build>
	
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>
	
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>
	
	<!-- 
	<distributionManagement>
		<repository>
			<id>unitime.org</id>
			<name>UniTime Release Repository</name>
			<url>ftp://unitime.org/releases</url>
		</repository>
	</distributionManagement>
	 -->
</project>
