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

	<name>powerauth-webflow-parent</name>
	<description>Federated Authentication and Authorization Server for Web</description>

	<groupId>io.getlime.security</groupId>
	<artifactId>powerauth-webflow-parent</artifactId>
	<version>0.19.0</version>
	<packaging>pom</packaging>

	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>1.5.10.RELEASE</version>
		<relativePath /> <!-- lookup parent from repository -->
	</parent>

	<inceptionYear>2016</inceptionYear>
	<url>http://powerauth.com/</url>

	<organization>
		<name>Lime - HighTech Solutions Inc.</name>
		<url>http://getlime.io/</url>
	</organization>

	<licenses>
		<license>
			<name>Apache 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<developers>
		<developer>
			<name>Petr Dvorak</name>
			<email>petr@lime-company.eu</email>
			<roles>
				<role>developer</role>
			</roles>
		</developer>
    <developer>
			<name>Roman Strobl</name>
			<email>roman.strobl@lime-company.eu</email>
			<roles>
				<role>developer</role>
			</roles>
		</developer>
	</developers>

	<scm>
		<connection>scm:git:https://github.com/lime-company/lime-security-powerauth-webflow.git</connection>
		<developerConnection>scm:git:https://github.com/lime-company/lime-security-powerauth-webflow.git
		</developerConnection>
		<url>https://github.com/lime-company/lime-security-powerauth-webflow</url>
	</scm>

	<issueManagement>
		<system>Github</system>
		<url>https://github.com/lime-company/lime-security-powerauth-webflow/issues</url>
	</issueManagement>

	<modules>
		<module>powerauth-data-adapter-client</module>
		<module>powerauth-data-adapter-model</module>
		<module>powerauth-data-adapter</module>
        <module>powerauth-nextstep</module>
		<module>powerauth-nextstep-client</module>
		<module>powerauth-nextstep-model</module>
		<module>powerauth-webflow</module>
		<module>powerauth-webflow-authentication</module>
		<module>powerauth-webflow-authentication-init</module>
		<module>powerauth-webflow-authentication-form</module>
		<module>powerauth-webflow-authentication-operation-review</module>
		<module>powerauth-webflow-authentication-mtoken</module>
		<module>powerauth-webflow-authentication-sms</module>
		<module>powerauth-webflow-i18n</module>
		<module>powerauth-webflow-resources</module>
		<module>powerauth-webflow-client</module>
        <module>powerauth-mtoken-model</module>
    </modules>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
		<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
		<maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version>
		<maven-war-plugin.version>3.1.0</maven-war-plugin.version>
		<jaxb.version>2.3.0</jaxb.version>
		<javax.annotation.version>1.3.1</javax.annotation.version>
		<javax.activation.version>1.2.0</javax.activation.version>
		<javax.soap.version>1.4.0</javax.soap.version>
		<javax.saaj-api.version>1.3.5</javax.saaj-api.version>
		<javax.saaj-impl.version>1.3.28</javax.saaj-impl.version>
	</properties>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>verify</phase>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>${maven-jar-plugin.version}</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>${maven-javadoc-plugin.version}</version>
				<configuration>
					<failOnError>false</failOnError>
				</configuration>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<version>2.8.2</version>
			</plugin>
		</plugins>
	</build>

	<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.6</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
		<profile>
			<id>fast</id>
			<properties>
				<maven.javadoc.skip>true</maven.javadoc.skip>
				<source.skip>true</source.skip>
				<maven.test.skip>true</maven.test.skip>
			</properties>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-war-plugin</artifactId>
						<version>${maven-war-plugin.version}</version>
						<configuration>
							<useCache>true</useCache>
							<recompressZippedFiles>false</recompressZippedFiles>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.zeroturnaround</groupId>
						<artifactId>jrebel-maven-plugin</artifactId>
						<version>1.1.7</version>
						<executions>
							<execution>
								<id>generate-rebel-xml</id>
								<phase>process-resources</phase>
								<goals>
									<goal>generate</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

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

</project>
