| <?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.oltu.demos</groupId> |
| <artifactId>org.apache.oltu.demos.parent</artifactId> |
| <version>1-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>org.apache.oltu.demos.client</artifactId> |
| <packaging>war</packaging> |
| |
| <name>Apache Oltu - Demos - Client</name> |
| |
| <properties> |
| <oltu.oauth2.version>1.0.3-SNAPSHOT</oltu.oauth2.version> |
| <oltu.oauth2.jwt.version>1.0.4-SNAPSHOT</oltu.oauth2.jwt.version> |
| <oltu.oidc.version>0.0.1-SNAPSHOT</oltu.oidc.version> |
| <org.springframework.version>3.2.18.RELEASE</org.springframework.version> |
| <servlet-api.version>2.5</servlet-api.version> |
| <slf4j.version>1.7.25</slf4j.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <!-- OAuth Dependency --> |
| <dependency> |
| <artifactId>org.apache.oltu.oauth2.common</artifactId> |
| <groupId>org.apache.oltu.oauth2</groupId> |
| <version>${oltu.oauth2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.oltu.oauth2</groupId> |
| <artifactId>org.apache.oltu.oauth2.client</artifactId> |
| <version>${oltu.oauth2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.oltu.oauth2</groupId> |
| <artifactId>org.apache.oltu.oauth2.jwt</artifactId> |
| <version>${oltu.oauth2.jwt.version}</version> |
| </dependency> |
| |
| <!-- OpenId Connect Dependency --> |
| <dependency> |
| <groupId>org.apache.oltu.openidconnect</groupId> |
| <artifactId>org.apache.oltu.openidconnect.common</artifactId> |
| <version>${oltu.oidc.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.oltu.openidconnect</groupId> |
| <artifactId>org.apache.oltu.openidconnect.client</artifactId> |
| <version>${oltu.oidc.version}</version> |
| </dependency> |
| |
| <!-- OAuth Dynamic Registration Dependency --> |
| |
| <dependency> |
| <groupId>org.apache.oltu.oauth2</groupId> |
| <artifactId>org.apache.oltu.oauth2.dynamicreg.client</artifactId> |
| <version>${oltu.oauth2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.oltu.oauth2</groupId> |
| <artifactId>org.apache.oltu.oauth2.dynamicreg.common</artifactId> |
| <version>${oltu.oauth2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.johnzon</groupId> |
| <artifactId>johnzon-core</artifactId> |
| <version>1.1.4</version> |
| </dependency> |
| |
| <!-- Spring MVC --> |
| <!-- Spring --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>${org.springframework.version}</version> |
| <exclusions> |
| <!-- Exclude Commons Logging in favor of SLF4j --> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-webmvc</artifactId> |
| <version>${org.springframework.version}</version> |
| </dependency> |
| |
| <!-- URL Rewrite --> |
| <!-- URL Rewrite --> |
| <dependency> |
| <groupId>org.tuckey</groupId> |
| <artifactId>urlrewritefilter</artifactId> |
| <version>3.1.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>${servlet-api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- |
| | Make use of JSP tags. Remove, if you don't use JSPs |
| --> |
| <dependency> |
| <artifactId>standard</artifactId> |
| <groupId>taglibs</groupId> |
| <version>1.1.2</version> |
| <type>jar</type> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jstl</artifactId> |
| <version>1.2</version> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <webResources> |
| <resource> |
| <directory>${basedir}/src/main/resources/</directory> |
| </resource> |
| <resource> |
| <directory>${project.build.directory}/war-legals/</directory> |
| <targetPath>/META-INF</targetPath> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| |
| <!-- Generates the distribution package --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>prepare-package</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <attach>false</attach> |
| <finalName>war-legals</finalName> |
| <appendAssemblyId>false</appendAssemblyId> |
| <descriptors> |
| <descriptor>${basedir}/src/main/assembly/prepare-war-legals.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| |
| <execution> |
| <id>release-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <version>6.1.24</version> |
| <configuration> |
| <webAppConfig> |
| <contextPath>/</contextPath> |
| </webAppConfig> |
| <connectors> |
| <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
| <port>8080</port> |
| <maxIdleTime>60000</maxIdleTime> |
| </connector> |
| </connectors> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |