<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.got5</groupId>
	<artifactId>tapestry5-jquery</artifactId>
	<version>4.0.0</version>
	<packaging>jar</packaging>
	<name>Tapestry 5 JQuery Library</name>
	<description>Tapestry Components Library</description>
	<url>https://github.com/got5/tapestry5-jquery</url>
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>
     <licenses>
		<license>
			<name>Apache Software License 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<organization>
		<name>GOT5</name>
		<url>https://github.com/got5</url>
	</organization>	
	<issueManagement>
		<system>Github</system>
		<url>http://github.com/got5</url>
	</issueManagement>
	<scm>
	    <connection>scm:git:git@github.com:got5/tapestry5-jquery.git</connection>
	    <developerConnection>scm:git:git@github.com:got5/tapestry5-jquery.git</developerConnection>
	    <url>git@github.com:got5/tapestry5-jquery.git</url>
  	</scm>
	<ciManagement>
		<system>Hudson</system>
		<url>http://ci.dev.kalaari.net/hudson/</url>
	</ciManagement>
	<dependencies>
		<dependency>
			<groupId>org.apache.tapestry</groupId>
			<artifactId>tapestry-core</artifactId>
			<version>${tapestry-release-version}</version>
		</dependency>
		<!-- commons io is used by ShowSource.java -->
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.4</version>
		</dependency>
		<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng</artifactId>
			<version>6.5.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.tapestry</groupId>
			<artifactId>tapestry-test</artifactId>
			<version>${tapestry-release-version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.5</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			  <artifactId>commons-lang3</artifactId>
			  <version>3.1</version>
		</dependency>
		<dependency>
	      <groupId>org.spockframework</groupId>
	      <artifactId>spock-core</artifactId>
	      <version>${spock-version}</version>
	      <scope>test</scope>
	    </dependency>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>${selenium-version}</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <artifactId>commons-lang</artifactId>
                    <groupId>commons-lang</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-collections</artifactId>
                    <groupId>commons-collections</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-server</artifactId>
            <version>${selenium-version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
			<version>1.0.3</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<build>
		<finalName>tapestry-jquery</finalName>
		<sourceDirectory>${sourceDirectory}</sourceDirectory>
        	<resources>
                  <resource>
                      <directory>src/test/conf</directory>
                      <filtering>true</filtering>
                      <targetPath>${basedir}/target/test-classes/</targetPath>
                  </resource>
                  <resource>
                      <directory>src/main/resources</directory>
                      <filtering>true</filtering>
                  </resource>
      		</resources>
		<plugins>
			<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>
            <plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
                <version>2.5</version>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
					<optimize>true</optimize>
				</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.codehaus.gmaven</groupId>
		        <artifactId>gmaven-plugin</artifactId>
		        <version>1.3</version>
		        <configuration>
		          <providerSelection>1.7</providerSelection>
		        </configuration>
		        <executions>
		          <execution>
		            <goals>
		              <goal>compile</goal>
		              <goal>testCompile</goal>
		            </goals>
		          </execution>
		        </executions>
		        <dependencies>
		          <dependency>
		            <groupId>org.codehaus.gmaven.runtime</groupId>
		            <artifactId>gmaven-runtime-1.7</artifactId>
		            <version>1.3</version>
		            <exclusions>
		              <exclusion>
		                <groupId>org.codehaus.groovy</groupId>
		                <artifactId>groovy-all</artifactId>
		              </exclusion>
		            </exclusions>
		          </dependency>
		          <dependency>
		            <groupId>org.codehaus.groovy</groupId>
		            <artifactId>groovy-all</artifactId>
		            <version>1.8.6</version>
		          </dependency>
		        </dependencies>
		      </plugin>
			<plugin>
				<groupId>com.mycila.maven-license-plugin</groupId>
				<artifactId>maven-license-plugin</artifactId>
				<version>1.5.1</version>
				<configuration>
					<header>LICENSE.txt</header>
					<excludes>
						<exclude>**/*.sql</exclude>
						<exclude>**/*.txt</exclude>
						<exclude>**/PLACEHOLDER</exclude>
						<exclude>**/*.properties</exclude>
						<exclude>**/web.xml</exclude>
						<exclude>**/*.apt</exclude>
						<exclude>**/*.tml</exclude>
						<exclude>**/.*</exclude>
						<exclude>**/*.ent</exclude>
						<exclude>**/*.xsl</exclude>
						<exclude>**/*.xml</exclude>
						<exclude>**/*.html</exclude>
						<exclude>**/*.dtd</exclude>
						<exclude>src/test/conf/**</exclude>
					</excludes>
					<useDefaultExcludes>true</useDefaultExcludes>
					<mapping>
						<java>DOUBLESLASH_STYLE</java>
					</mapping>
					<useDefaultMapping>true</useDefaultMapping>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
				<configuration>
					<archive>
						<manifestEntries>
							<tapestry-module-classes>
								org.got5.tapestry5.jquery.services.JQueryModule
							</tapestry-module-classes>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>maven-jetty-plugin</artifactId>
				<version>6.1.26</version>
				<configuration>
					<requestLog implementation="org.mortbay.jetty.NCSARequestLog">
						<append>true</append>
					</requestLog>
					<useTestClasspath>true</useTestClasspath>
					<webAppSourceDirectory>src/test/webapp</webAppSourceDirectory>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.8.1</version>
				<configuration>
						<testFailureIgnore>true</testFailureIgnore>
						<testNGArtifactName>none:none</testNGArtifactName>
				</configuration>
				<executions>
					<execution>
						<id>TestNG Tests</id>
						<goals>
							<goal>test</goal>
						</goals>
						<phase>integration-test</phase>
						<configuration>
							<testFailureIgnore>true</testFailureIgnore>
							<junitArtifactName>none:none</junitArtifactName>
							<testNGArtifactName>org.testng:testng</testNGArtifactName>
							<suiteXmlFiles>
								<suiteXmlFile>target/test-classes/testng.xml</suiteXmlFile>	
							</suiteXmlFiles>
							<excludes>
								<exclude>**/*.groovy</exclude>
							</excludes>
							<includes>
								<include>**/*.java</include>
							</includes>
						</configuration>
					</execution>
				</executions>
			</plugin>	
			
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
		        <artifactId>maven-assembly-plugin</artifactId>
		        <configuration>
					<descriptorRefs>
						<descriptorRef>src</descriptorRef>
					</descriptorRefs>
				</configuration>
		    </plugin>
                     <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>cobertura-maven-plugin</artifactId>
                        <version>2.5</version>
                       <executions>
	                       	<execution>
	                       		<goals>
	                       			<goal>clean</goal>
	                       		</goals>
	                       	</execution>
                       </executions>
					   <configuration>
						    <instrumentation>
				            <excludes>
				              <exclude>org/got5/tapestry5/jquery/*Constants.class</exclude>
				            </excludes>
         				 </instrumentation>
					   </configuration>
                    </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>
	<reporting>
		<plugins>
			<plugin>
            	<groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>2.5</version>
            </plugin>       	
		</plugins>
	</reporting>
    <repositories>
		<repository>
			<id>Apache Staging</id>
			<url>https://repository.apache.org/content/groups/staging</url>
		</repository>
		<repository>
			<id>central</id>
			<name>Maven Repository</name>
			<layout>default</layout>
			<url>http://central.maven.org/maven2/</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>maven</id>
            <url>http://central.maven.org/maven2/</url>
        </pluginRepository>
        <pluginRepository>
        <id>spring-maven-release</id>
        <name>Spring Maven Release Repository</name>
        <url>http://maven.springframework.org/release</url>
    </pluginRepository>
    </pluginRepositories>
    <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>mac-os-test</id>
            <activation>
                <os><family>mac</family></os>
            </activation>
            <properties>
                <browserStartCommand>*googlechrome /Applications/Google Chrome.app/Contents/MacOS/Google Chrome</browserStartCommand>
            </properties>
        </profile>
        <profile>
            <id>linux-test</id>
            <activation>
                <os><name>Linux</name></os>
            </activation>
            <properties>
                <browserStartCommand>*firefox</browserStartCommand>
            </properties>
        </profile>
        <profile>
            <id>release</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.5</version>
			      <executions>
			        <execution>
			          <id>sign-artifacts</id>
			          <phase>verify</phase>
			          <goals>
			            <goal>sign</goal>
			          </goals>
			        </execution>
			      </executions>
			 	</plugin>
            </plugins>
        </build>
        </profile>
	</profiles>
	<properties>
		<spock-version>0.6-groovy-1.8</spock-version>
        <tapestry-release-version>5.4.0</tapestry-release-version>
        <selenium-version>2.35.0</selenium-version>
        <browserStartCommand>*googlechrome</browserStartCommand>
        <sourceDirectory>src/main/java</sourceDirectory>
	</properties>
	<developers>
  		<developer>
      		<id>robink</id>
      		<name>Robin KOMIWES</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
   		<developer>
      		<id>andyhot</id>
      		<name>Andreas ANDREOU</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+2</timezone>
   		</developer>
   		<developer>
      		<id>criedel</id>
      		<name>Christian RIEDEL</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
   		<developer>
      		<id>got5</id>
      		<name>François FACON</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
   		<developer>
      		<id>trolando</id>
      		<name>Tom van DIJK</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
 		<developer>
      		<id>Gillespie59</id>
      		<name>Emmanuel DEMEY</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
		<developer>
      		<id>cluster</id>
      		<name>Clément USTER</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
   		<developer>
      		<id>awillemant</id>
      		<name>Amaury WILLEMANT</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
   		<developer>
      		<id>trsvax</id>
      		<name>Barry BOOKS</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone></timezone>
   		</developer>
   		<developer>
      		<id>bauna</id>
      		<name>Pablo NUSSEMBAUM</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone></timezone>
   		</developer>
   		<developer>
      		<id></id>
      		<name>Alexander OBLOVATNIY</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone></timezone>
   		</developer>
   		<developer>
      		<id>Nephtys</id>
      		<name>Stéfanie DUPREY</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
   		<developer>
      		<id>maspetsberger</id>
      		<name>Michael Aspetsberger</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
   		<developer>
      		<id>dragansah</id>
      		<name>Dragan Sahpaski</name>
      		<roles>
        		<role>Developer</role>
      		</roles>
      		<timezone>+1</timezone>
   		</developer>
  	</developers>
</project>
