<?xml version="1.0"?>
<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">
    <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>7</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.jidesoft</groupId>
    <artifactId>jide-oss</artifactId>
    <name>JIDE Common Layer</name>
    <version>2.11.2</version>
    <packaging>jar</packaging>
    <description>JIDE Common Layer (Professional Swing Components)</description>
    <url>https://github.com/jidesoft/jide-oss</url>
    <licenses>
        <license>
            <name>GPL with classpath exception</name>
            <url>http://www.gnu.org/licenses/gpl.txt</url>
            <distribution>repo</distribution>
        </license>
        <license>
            <name>Free commercial license</name>
            <url>http://www.jidesoft.com/purchase/SLA.htm</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <developers>
    	<developer>
	     <id>jidesoft</id>
	     <name>jidesoft</name>
	     <email>support@jidesoft.com</email>
	</developer>
    </developers>
    <build>
        <sourceDirectory>src</sourceDirectory>
        <resources>
            <resource>
                <directory>src</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.gif</include>
                    <include>**/*.jpg</include>
                    <include>**/*.png</include>
                </includes>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
		<artifactId>wagon-ssh</artifactId>
               	<version>2.0</version>
            </extension>
        </extensions>
    </build>
    <profiles>
        <profile>
            <id>aqua</id>
            <activation>
                <activeByDefault>true</activeByDefault>
		<property>
		    <name>performRelease</name>
		    <value>true</value>
		</property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>aqua_ui</groupId>
                    <artifactId>ui</artifactId>
                    <version>5.0</version>
		    <scope>system</scope>
		    <systemPath>${basedir}/libs/ui.jar</systemPath>
                </dependency>
                <dependency>
                    <groupId>aqua_ui</groupId>
                    <artifactId>jrs</artifactId>
                    <version>5.0</version>
		    <scope>system</scope>
		    <systemPath>${basedir}/libs/JavaRuntimeSupport.jar</systemPath>
                </dependency>
            </dependencies>
	    <properties>
		<gpg.keyname>06F100B6</gpg.keyname>
		<release.username>jidesoft</release.username>
	    </properties>
	    <build>
	    	<plugins>
		    <plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-gpg-plugin</artifactId>
			<version>1.0-alpha-4</version>
			<executions>
			    <execution>
				<id>sign-artifacts</id>
				<phase>verify</phase>
				<goals>
				    <goal>sign</goal>
				</goals>
		 	    </execution>
			</executions>
	  	    </plugin>
		</plugins>
	    </build>
        </profile>
    </profiles>
    <distributionManagement>
	<repository>
	    <id>sonatype-nexus-staging</id>
	    <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
	</repository>
    </distributionManagement>
    <scm>
    	<connection>scm:git:git://github.com/jidesoft/jide-oss.git</connection>
	<developerConnection>scm:git:https://jidesoft@github.com/jidesoft/jide-oss.git</developerConnection>
	<url>https://github.com/jidesoft/jide-oss</url>
    </scm>
</project>
