| <?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"> |
| <parent> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling-bundle-parent</artifactId> |
| <version>38</version> |
| <relativePath /> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>org.apache.sling.auth.saml2</artifactId> |
| <name>SAML2 Service Provider</name> |
| <version>0.1.0-SNAPSHOT</version> |
| <description>A SAML2 Web-profile SSO Service Provider (Sling Authentication) that uses encrypted |
| POST Binding for communicating security assertions with an identity provider such as Shibboleth.</description> |
| |
| <properties> |
| <!-- <opensaml.version>4.0.0</opensaml.version>--> |
| <opensaml.version>3.4.5</opensaml.version> |
| <sling.host>localhost</sling.host> |
| <sling.port>8080</sling.port> |
| <sling.user>admin</sling.user> |
| <sling.password>admin</sling.password> |
| <bnd.baseline.skip>true</bnd.baseline.skip> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-maven-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling-maven-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>8</source> |
| <target>8</target> |
| <!-- <source>11</source>--> |
| <!-- <target>11</target>--> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| <exclude>**/*.vm</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- OPENSAML --> |
| <dependency> |
| <groupId>org.opensaml</groupId> |
| <artifactId>opensaml-core</artifactId> |
| <version>${opensaml.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.opensaml</groupId> |
| <artifactId>opensaml-saml-impl</artifactId> |
| <version>${opensaml.version}</version> |
| </dependency> |
| |
| <!-- OpenSAML Dependencies--> |
| |
| <dependency> |
| <groupId>org.apache.xml.security</groupId> |
| <artifactId>xml-security</artifactId> |
| <version>1.4.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.errorprone</groupId> |
| <artifactId>error_prone_annotations</artifactId> |
| <version>2.3.4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.velocity</groupId> |
| <artifactId>velocity</artifactId> |
| <version>1.7</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>werken-xpath</groupId> |
| <artifactId>werken-xpath</artifactId> |
| <version>0.9.4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>xalan</groupId> |
| <artifactId>xalan</artifactId> |
| <version>2.7.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| <version>2.12.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>xml-resolver</groupId> |
| <artifactId>xml-resolver</artifactId> |
| <version>1.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jaxen</groupId> |
| <artifactId>jaxen</artifactId> |
| <version>1.2.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>xom</groupId> |
| <artifactId>xom</artifactId> |
| <version>1.3.4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.joda</groupId> |
| <artifactId>joda-convert</artifactId> |
| <version>1.9.2</version> |
| </dependency> |
| |
| |
| <!-- JavaEE --> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Sling Dependencies--> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.auth.core</artifactId> |
| <version>1.3.26</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.api</artifactId> |
| <version>2.16.2</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.jcr.api</artifactId> |
| <version>2.4.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- NOTE: Make sure you install this bundle! --> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-auth-external</artifactId> |
| <version>1.6.1</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Apache Commons --> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.5</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- OSGI Annotations--> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>6.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.cmpn</artifactId> |
| <version>6.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.annotation</artifactId> |
| <version>6.0.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.component.annotations</artifactId> |
| <version>1.3.0</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>autoInstallBundle</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>install-bundle</id> |
| <goals> |
| <goal>install</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <!-- The Shibboleth Repository is needed |
| https://wiki.shibboleth.net/confluence/display/DEV/Use+of+Maven+Central |
| --> |
| <repositories> |
| <repository> |
| <id>shibboleth</id> |
| <url>https://build.shibboleth.net/nexus/content/groups/public</url> |
| </repository> |
| </repositories> |
| </project> |