<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>uk.ac.abdn</groupId>
	<artifactId>SimpleNLG</artifactId>
	<version>4.4.8</version>
	<packaging>jar</packaging>
	
  	<name>SimpleNLG</name>
  	<description>Java API for Natural Language Generation</description>
	<url>https://github.com/simplenlg/simplenlg</url>
  
	<licenses>
	  <license>
	    <name>Mozilla Public License, Version 1.1</name>
	    <url>https://www.mozilla.org/MPL/1.1/</url>
	    <distribution>repo</distribution>
	  </license>
	</licenses>

	<developers>
	  <developer>
	    <name>Saad Mahamood</name>
	    <email>saadino@gmail.com</email>
	    <organization>SimpleNLG</organization>
	    <organizationUrl>https://github.com/simplenlg/simplenlg</organizationUrl>
	  </developer>
	</developers>

	<scm>
	  <connection>scm:git:git@github.com:simplenlg/simplenlg.git</connection>
	  <developerConnection>scm:git:git@github.com:simplenlg/simplenlg.git</developerConnection>
	  <url>git@github.com:simplenlg/simplenlg.git</url>
	</scm>


  	<properties>
    	 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  	</properties>
  
	<dependencies>
  		<dependency>
    		<groupId>junit</groupId>
     		<artifactId>junit</artifactId>
			<version>4.4</version>
        	<scope>system</scope>
			<systemPath>${basedir}/lib/junit-4.4.jar</systemPath>
		</dependency>
  		<dependency>
   			<groupId>gov.nih.nlm.nls.lexAccess.Api</groupId>
    		<artifactId>LexAccess2011dist</artifactId>
    		<version>0.0.1</version>
			<scope>system</scope>
			<systemPath>${basedir}/lib/lexAccess2011dist.jar</systemPath>
  		</dependency>
		<dependency>
		      <groupId>org.apache.maven.plugins</groupId>
		      <artifactId>maven-antrun-plugin</artifactId>
		      <version>1.8</version>
		</dependency>    
		
	</dependencies>
	
	
	<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>
  	
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
			    <artifactId>maven-antrun-plugin</artifactId>
				<version>1.8</version>
			    <executions>
			    	<execution>
						<id>unzip</id>
			        	<phase>process-test-resources</phase>
			            <configuration>
			            	<tasks>
								<echo message="***** Unziping NIH Lexicon..."/>
								<unzip src="${basedir}/src/test/resources/NIHLexicon/lexAccess2011.data.zip" dest="${basedir}/src/test/resources/NIHLexicon/" overwrite="true"/>
			                    </tasks>
			                </configuration>
				            <goals>
				            	<goal>run</goal>
				            </goals>
			            </execution>
				    	<execution>
							<id>delete</id>
				        	<phase>clean</phase>
				            <configuration>
				            	<tasks>
									<echo message="***** Deleting NIH Lexicon..."/>
									<delete file="${basedir}/src/test/resources/NIHLexicon/lexAccess2011.data"/>
				                    </tasks>
				                </configuration>
					            <goals>
					            	<goal>run</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>
			<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-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>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>2.5</version>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
	

</project>
