<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">
	<!-- /* * Copyright 2011-2014 JOptimizer * * Licensed under the Apache License, 
		Version 2.0 (the "License"); * you may not use this file except in compliance 
		with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 
		* * Unless required by applicable law or agreed to in writing, software * 
		distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 
		WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the 
		License for the specific language governing permissions and * limitations 
		under the License. */ -->
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.github.vincentk</groupId>
	<artifactId>joptimizer</artifactId>
	<version>3.3.0</version>
	<packaging>jar</packaging>
	<name>JOptimizer</name>
	<description>JOptimizer is a java library for solving general convex optimization problems, like for example LP, QP, QCQP, SOCP, SDP, GP and many more.
  </description>
	<url>${project.site.url}</url>
	<developers>
		<developer>
			<id>a.t.</id>
			<name>alberto trivellato</name>
			<email>alberto.trivellato@gmail.com</email>
			<organization>JOptimizer</organization>
			<organizationUrl>${project.site.url}</organizationUrl>
			<timezone>+1</timezone>
			<roles>
				<role>developer</role>
			</roles>
		</developer>

		<developer>
			<name>Vincent Kraeutler</name>
			<email>vincent.kraeutler@gmail.com</email>
			<organization>github</organization>
			<organizationUrl>https://github.com/vincentk</organizationUrl>
		</developer>
	</developers>
	<contributors>
		<contributor>
			<name>cristiana moriconi</name>
			<email>cristiana.moriconi@gmail.com</email>
			<organization>JOptimizer</organization>
			<organizationUrl>${project.site.url}</organizationUrl>
			<timezone>+1</timezone>
			<roles>
				<role>supervisor</role>
			</roles>
		</contributor>
		<contributor>
			<name>emanuele squillantini</name>
			<email>esquillantini@hotmail.com</email>
			<organization>JOptimizer</organization>
			<organizationUrl>${project.site.url}</organizationUrl>
			<timezone>+1</timezone>
			<roles>
				<role>functional analyst</role>
			</roles>
		</contributor>
	</contributors>
	<organization>
		<name>JOptimizer</name>
		<url>${project.site.url}</url>
	</organization>
	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>manual</distribution>
		</license>
	</licenses>

	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>

					<!-- Nexus staging plugin for deployment to sonatype OSS hosting -->
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<version>1.6.3</version>
						<extensions>true</extensions>
						<configuration>
							<serverId>ossrh</serverId>
							<nexusUrl>https://oss.sonatype.org/</nexusUrl>
							<autoReleaseAfterClose>true</autoReleaseAfterClose>
						</configuration>
					</plugin>


					<!-- GPG signing required for publishing via sonatype OSS hosting -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.5</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>

					<!-- source and javadoc plugins for sonatype OSS -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<version>2.2.1</version>
						<executions>
							<execution>
								<id>attach-sources</id>
								<goals>
									<goal>jar-no-fork</goal>
								</goals>
							</execution>
						</executions>
					</plugin>

					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>2.9.1</version>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>


	<build>
		<!-- <filters> <filter>src/main/filters/filter.properties</filter> </filters> -->
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>false</filtering>
			</resource>
		</resources>
		<testResources>
			<testResource>
				<directory>src/test/resources</directory>
				<filtering>false</filtering>
				<excludes>
					<exclude>**/*.zip</exclude>
				</excludes>
			</testResource>
		</testResources>



		<plugins>

			<plugin>
				<!-- Some of the tests are a little bit memory hungry, to the extent 
					that the default max heap size (at times, only 128m) is insufficient. So 
					provide custom override for heap size for sure fire / junit processes. -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<argLine>-Xms512m -Xmx512m</argLine>
				</configuration>
			</plugin>

		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>colt</groupId>
			<artifactId>colt</artifactId>
			<version>1.2.0</version>
		</dependency>
		<dependency>
			<groupId>com.seventytwomiles</groupId>
			<artifactId>architecture-rules</artifactId>
			<version>2.1.1</version>
			<scope>test</scope>
			<exclusions>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>commons-validator</groupId>
					<artifactId>commons-validator</artifactId>
				</exclusion>
				<exclusion>
					<groupId>springmodules</groupId>
					<artifactId>springmodules-validation</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.1</version>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.14</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<!--version>3.8.1</version -->
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>net.sourceforge.csparsej</groupId>
			<artifactId>csparsej</artifactId>
			<version>1.1.1</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-lang3</artifactId>
			<version>3.1</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-math3</artifactId>
			<version>3.3</version>
		</dependency>
		<dependency>
			<groupId>org.ostermiller</groupId>
			<artifactId>utils</artifactId>
			<version>1.07.00</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<repositories>
		<repository>
			<id>architecture-rules-repo</id>
			<name>architecture-rules repository hosted by code.google.com</name>
			<url>http://architecturerules.googlecode.com/svn/maven2/</url>
			<releases>
				<checksumPolicy>ignore</checksumPolicy>
			</releases>
			<snapshots>
				<checksumPolicy>ignore</checksumPolicy>
			</snapshots>
		</repository>
	</repositories>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.build.java.version>1.7</project.build.java.version>
		<project.site.url>http://www.joptimizer.com</project.site.url>
		<!-- using github as maven repo, see http://stackoverflow.com/questions/14013644/hosting-a-maven-repository-on-github -->
		<github.global.server>github</github.global.server>
		<maven.compiler.target>${project.build.java.version}</maven.compiler.target>
		<maven.compiler.source>${project.build.java.version}</maven.compiler.source>
	</properties>

	<scm>
		<url>git@github.com:vincentk/joptimizer.git</url>
		<connection>scm:git:git@github.com:vincentk/joptimizer.git</connection>
		<developerConnection>scm:git:git@github.com:vincentk/joptimizer.git</developerConnection>
	</scm>
</project>
