| <?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.knox</groupId> |
| <artifactId>gateway</artifactId> |
| <version>0.10.0-SNAPSHOT</version> |
| </parent> |
| <artifactId>gateway-demo-ldap</artifactId> |
| |
| <name>gateway-demo-ldap</name> |
| <description>A LDAP server based on ApacheDS used for demos.</description> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <!-- |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <mainClass>org.apache.hadoop.gateway.security.EmbeddedApacheDirectoryServer</mainClass> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| --> |
| |
| <!-- |
| <profiles> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.0</version> |
| <configuration> |
| <transformers> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <manifestEntries> |
| <Main-Class>org.apache.hadoop.gateway.security.EmbeddedApacheDirectoryServer |
| </Main-Class> |
| </manifestEntries> |
| </transformer> |
| </transformers> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| --> |
| |
| <dependencies> |
| |
| <!-- |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-server-integ</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-core-entry</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.shared</groupId> |
| <artifactId>shared-ldap</artifactId> |
| </dependency> |
| --> |
| <!-- |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-jdbm</artifactId> |
| </dependency> |
| --> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-all</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>ldapsdk</groupId> |
| <artifactId>ldapsdk</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </dependency> |
| |
| <!-- |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-all</artifactId> |
| <version>1.5.5</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.directory.shared</groupId> |
| <artifactId>shared-ldap-schema</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| --> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>${gateway-group}</groupId> |
| <artifactId>gateway-test-utils</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| </project> |