<?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>info.kwarc.sally4.mhw</groupId>
	<version>1.0.0</version>
	<artifactId>parent</artifactId>

	<parent>
		<groupId>info.kwarc.sally4</groupId>
		<artifactId>sally4-osgi</artifactId>
		<version>0.0.8</version>
	</parent>	

	<packaging>pom</packaging>
	<name>Sally4 MHW Root Project</name>
	<description>Semantic Alliance Framework (v.4)</description>
	<url>http://gl.kwarc.info/sally4-mhw/sally-mhw</url>
	<scm>
		<url>gl.kwarc.info/sally4-mhw/sally-mhw</url>
	</scm>

	<modules>
		<module>comm-mathhubdocument</module>

		<module>mhw-base</module>
		<module>mhw-solr</module>
		<module>mhw-webui</module>
		<!-- <module>mhw-annotations</module> -->
		
		<module>mhw-local-factory</module>
		<module>mhw-mmt</module>
		<module>mhw-definition-indexer</module>
		<module>mhw-compiler-workflow</module>
		<module>mhw-planetary-sql</module>
		<module>mhw-features</module>
  </modules>

	<properties>
		<mhw.version>1.0.0-SNAPSHOT</mhw.version>
		<sally.version>0.0.8</sally.version>
		  <!-- KWARC Public Key ID -->
		<gpg.keyname>F67C6F05</gpg.keyname>
	</properties>

	<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>

	<repositories>
		<repository>
			<id>snapshots-repo</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
	</repositories>

	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<version>1.6.1</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-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>


	<licenses>
		<license>
			<name>GNU General Public License (GPL)</name>
			<url>http://www.gnu.org/licenses/gpl.txt</url>
		</license>
	</licenses>

</project>