<?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/maven-v4_0_0.xsd">
	
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.github.ipfaffen</groupId>
	<artifactId>ovenbird-commons</artifactId>
	<version>1.0.1</version>
	<packaging>jar</packaging>
	
	<name>Ovenbird Commons</name>
	<description>Ovenbird Commons is an utility library focused on all aspects of reusable Java components.</description>
	<url>https://github.com/ipfaffen/ovenbird-commons</url>

	<licenses>
	    <license>
	      	<name>Apache License, Version 2.0</name>
	      	<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
	    	<distribution>repo</distribution>
	    </license>
  	</licenses>
  
	<scm>
	  <connection>scm:git:git://github.com/ipfaffen/ovenbird-commons.git</connection>
	  <developerConnection>scm:git:ssh://github.com/ipfaffen/ovenbird-commons.git</developerConnection>
	  <url>http://github.com/ipfaffen/ovenbird-commons/tree/master</url>
	</scm>

	<developers>
		<developer>
			<id>ipfaffenseller</id>
			<name>Isaias Pfaffenseller</name>
			<email>ipfaffenseller@gmail.com</email>
		</developer>
	</developers>
	
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<java.version>1.7</java.version>
		<servlet.version>3.0.1</servlet.version>
		<slf4j.version>1.6.6</slf4j.version>
		<commons.lang.version>3.6</commons.lang.version>
		<commons.io.version>2.5</commons.io.version>
		<image4j.version>0.7</image4j.version>
		<jai.version>1.1.3</jai.version>
	</properties>
	
	<dependencies>
		<!-- Commons Lang -->
		<dependency>
    		<groupId>org.apache.commons</groupId>
    		<artifactId>commons-lang3</artifactId>
			<version>${commons.lang.version}</version>
		</dependency>

		<!-- Commons IO -->
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>${commons.io.version}</version>
		</dependency>
    	
		<!-- Image Libraries (Used for ImageTool) -->
		<dependency>
			<groupId>org.jclarion</groupId>
			<artifactId>image4j</artifactId>
			<version>${image4j.version}</version>
		</dependency>		
	    <dependency>
	    	<groupId>javax.media</groupId>
	      	<artifactId>jai-core</artifactId>
	      	<version>${jai.version}</version>
	    </dependency>			
	    <dependency>
	      	<groupId>com.sun.media</groupId>
	      	<artifactId>jai-codec</artifactId>
	      	<version>${jai.version}</version>
	    </dependency>
		
		<!-- Servlet -->
		<dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>${servlet.version}</version>
        </dependency>
		
		<!-- Logging -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>${slf4j.version}</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>jcl-over-slf4j</artifactId>
			<version>${slf4j.version}</version>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
			<version>${slf4j.version}</version>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.15</version>
			<exclusions>
				<exclusion>
					<groupId>javax.mail</groupId>
					<artifactId>mail</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.jms</groupId>
					<artifactId>jms</artifactId>
				</exclusion>
				<exclusion>
					<groupId>com.sun.jdmk</groupId>
					<artifactId>jmxtools</artifactId>
				</exclusion>
				<exclusion>
					<groupId>com.sun.jmx</groupId>
					<artifactId>jmxri</artifactId>
				</exclusion>
			</exclusions>
			<scope>runtime</scope>
		</dependency>

	</dependencies>
	
	<profiles>
	    <profile>
	        <id>release-sign-artifacts</id>
	        <activation>
	            <property>
	                <name>performRelease</name>
	                <value>true</value>
	            </property>
	        </activation>
	        <build>
	            <plugins>
	                <plugin>
	                    <groupId>org.apache.maven.plugins</groupId>
	                    <artifactId>maven-gpg-plugin</artifactId>
	                    <version>1.4</version>
	                    <executions>
	                        <execution>
	                            <id>sign-artifacts</id>
	                            <phase>verify</phase>
	                            <goals>
	                                <goal>sign</goal>
	                            </goals>
	                        </execution>
	                    </executions>
	                </plugin>
	            </plugins>
	        </build>
	    </profile>
	</profiles>

	<build>
		<plugins>
			<plugin>
  				<groupId>org.apache.maven.plugins</groupId>
  				<artifactId>maven-source-plugin</artifactId>
  				<executions>
	    			<execution>
	      				<id>attach-sources</id>
	      				<goals>
	        				<goal>jar</goal>
	      				</goals>
	    			</execution>
  				</executions>
			</plugin>	
			<plugin>
  				<groupId>org.apache.maven.plugins</groupId>
  				<artifactId>maven-javadoc-plugin</artifactId>
  				<executions>
    				<execution>
      					<id>attach-javadocs</id>
      					<goals>
        					<goal>jar</goal>
      					</goals>
    				</execution>
  				</executions>
			</plugin>
		</plugins>
	</build>
	
	<repositories>
	  	<repository>
        	<id>thirdparty-releases</id>
        	<name>JBoss Thirdparty Releases</name>
        	<url>http://repository.jboss.org/nexus/content/repositories/thirdparty-releases</url>
      	</repository>
  	</repositories>
</project>