<?xml version="1.0" encoding="UTF-8"?>
<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>cewolf</groupId>
	<artifactId>cewolf</artifactId>
	<version>1.2.4-java7</version>
	<packaging>jar</packaging>
	
	<name>cewolf</name>
	<url>http://cewolf.sourceforge.net</url>
	<description>
		Cewolf is a tag library for JfreeChart.
		JFreeChart is a class library, written in Java, for generating charts.
		Utilising the Java2D APIs, it currently supports bar charts, pie charts,
		line charts, XY-plots and time series plots.
	</description>

	<licenses>
		<license>
			<name>GNU Lesser General Public License version 2.1 (LGPLv2.1)</name>
			<url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
		</license>
	</licenses>

	<scm>
		<connection>scm:svn:http://svn.code.sf.net/p/cewolf/code/trunk</connection>
		<developerConnection>scm:svn:https://svn.code.sf.net/p/cewolf/code/trunk</developerConnection>
		<url>https://sourceforge.net/p/cewolf/code/HEAD/tree/</url>
	</scm>

	<issueManagement>
		<system>SourceForge</system>
		<url>https://sourceforge.net/p/cewolf/_list/tickets</url>
	</issueManagement>
	
	<developers>
		<developer>
			<name>Ulf Dittmer</name>
			<email>udittmer@users.sf.net</email>
		</developer>
		<developer>
			<name>Guido Laures</name>
			<email>glaures@users.sf.net</email>
		</developer>
		<developer>
			<name>Brian Fox</name>
			<email>brianfox@users.sf.net</email>
		</developer>
	</developers>
	
	<contributors>
		<contributor>
			<name>Timothy Anyona</name>
			<email>tanyona@users.sf.net</email>
			<roles>
				<role>Deployment to central repository</role>
			</roles>
		</contributor>
	</contributors>
	
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<jdk.version>1.7</jdk.version>
	</properties>
	
	<build>
		<pluginManagement>
			<plugins>
				<!-- set compiler options -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>3.1</version>
					<configuration>
						<source>${jdk.version}</source>
						<target>${jdk.version}</target>
						<debug>true</debug>
						<showWarnings>true</showWarnings>
						<showDeprecation>true</showDeprecation>
						<compilerArgs>
							<!-- remove -unchecked when generics are used througout the code -->
							<arg>-Xlint:-unchecked</arg>
						</compilerArgs>
					</configuration>
				</plugin>

				<!-- specify surefire plugin version -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>2.17</version>
					<configuration>
						<skipTests>true</skipTests>
					</configuration>
				</plugin>
				
			</plugins>
		</pluginManagement>
		
	</build>
	
	<profiles>
		<profile> 
			<id>release-ossrh</id>
			<distributionManagement>
				<snapshotRepository>
					<id>ossrh</id>
					<url>https://oss.sonatype.org/content/repositories/snapshots</url>
				</snapshotRepository>
			</distributionManagement>
			<build>
				<plugins>
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<version>1.6.7</version>
						<extensions>true</extensions>
						<configuration>
							<serverId>ossrh</serverId>
							<nexusUrl>https://oss.sonatype.org/</nexusUrl>
							<autoReleaseAfterClose>true</autoReleaseAfterClose>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	
		<profile> 
			<id>release-local</id>
			<build>
				<plugins>
					<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>
					<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>
				</plugins>
			</build>
		</profile>
	</profiles>
	
	<dependencies>
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.3</version>
		</dependency>
		<dependency>
			<groupId>org.jfree</groupId>
			<artifactId>jfreechart</artifactId>
			<version>1.0.19</version>
		</dependency>
		<dependency>
			<groupId>batik</groupId>
			<artifactId>batik-xml</artifactId>
			<version>1.6</version>
		</dependency>
		<dependency>
			<groupId>batik</groupId>
			<artifactId>batik-dom</artifactId>
			<version>1.6</version>
		</dependency>
		<!-- mvn has problem getting batik-svggen-1.6.jar on central?
		1.6 jar is identical to 1.6-1 jar -->
		<dependency>
			<groupId>batik</groupId>
			<artifactId>batik-svggen</artifactId>
			<version>1.6-1</version>
			<exclusions>
				<!-- not used by cewolf -->
				<exclusion>
					<artifactId>batik-gvt</artifactId>
					<groupId>batik</groupId>
				</exclusion>
				<exclusion>
					<artifactId>batik-svg-dom</artifactId>
					<groupId>batik</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>batik</groupId>
			<artifactId>batik-awt-util</artifactId>
			<version>1.6</version>
		</dependency>
		<dependency>
			<groupId>batik</groupId>
			<artifactId>batik-util</artifactId>
			<version>1.6</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<version>3.0.1</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>javax.servlet.jsp</groupId>
			<artifactId>javax.servlet.jsp-api</artifactId>
			<version>2.2.1</version>
			<scope>provided</scope>
		</dependency>
	</dependencies>
</project>