<?xml version="1.0" encoding="UTF-8"?>
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
	license agreements. See the NOTICE file distributed with this work for additional
	information regarding copyright ownership. The ASF licenses this file to
	you under the Apache License, Version 2.0 (the "License"); you may not use
	this file except in compliance with the License. You may obtain a copy of
	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
	by applicable law or agreed to in writing, software distributed under the
	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
	OF ANY KIND, either express or implied. See the License for the specific
	language governing permissions and limitations under the License. -->
<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>

	<parent>
		<groupId>org.apache.isis.mavendeps</groupId>
		<artifactId>isis-mavendeps</artifactId>
		<version>2.0.0-M7</version>
	</parent>

	<artifactId>isis-mavendeps-webapp</artifactId>

	<packaging>pom</packaging>

	<name>Apache Isis Maven Deps - Webapp</name>
	<description>
        Defines a module that can be almost used as a single dependency for running
        an Apache Isis webapp (Wicket, Restful Objects and Shiro security).

        Note: Also requires a persistence provider.
    </description>

	<dependencies>
		<!-- SPRING -->

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
			<exclusions>
				<exclusion>
					<groupId>javax.validation</groupId>
					<artifactId>validation-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.springframework</groupId>
					<artifactId>spring-jcl</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.springframework.boot</groupId>
					<artifactId>spring-boot-starter-logging</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-tomcat</artifactId>
			<scope>provided</scope>
		</dependency>

		<!-- ISIS API -->
		<dependency>
			<groupId>org.apache.isis.core</groupId>
			<artifactId>isis-applib</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.isis.core</groupId>
			<artifactId>isis-schema</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.isis.viewer</groupId>
			<artifactId>isis-viewer-wicket-viewer</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.isis.viewer</groupId>
			<artifactId>isis-viewer-restfulobjects-jaxrsresteasy4</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.isis.core</groupId>
			<artifactId>isis-core-security</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.isis.security</groupId>
			<artifactId>isis-security-bypass</artifactId>
		</dependency>

		<!--
		we no longer include isis-security-keycloak in order to reduce the
		3rd party dependencies.
		<dependency>
			<groupId>org.apache.isis.security</groupId>
			<artifactId>isis-security-keycloak</artifactId>
		</dependency>
		-->

		<!--
		we no longer include isis-security-shiro in order to reduce the
		3rd party dependencies.  If only simple user/password authentication
		is required, Secman can now be used independently of Shiro.

		<dependency>
			<groupId>org.apache.isis.security</groupId>
			<artifactId>isis-security-shiro</artifactId>
		</dependency>
		-->

		<!--
		we deliberately do NOT include isis-security-spring, because it
		has a transitive dependency on

			org.springframework.boot:spring-boot-starter-security

		 and that will (following a 'secure-by-default' philosophy)
		 automatically enable security on all endpoints

		<dependency>
			<groupId>org.apache.isis.security</groupId>
			<artifactId>isis-security-spring</artifactId>
		</dependency>
		-->

		<dependency>
			<groupId>org.apache.isis.core</groupId>
			<artifactId>isis-core-runtimeservices</artifactId>
		</dependency>

	</dependencies>

</project>
