| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-parent</artifactId> |
| <version>2.0.0-M3-SNAPSHOT</version> |
| </parent> |
| <artifactId>apacheds-osgi</artifactId> |
| <name>ApacheDS OSGi Bundle</name> |
| <packaging>bundle</packaging> |
| |
| <properties> |
| <apache.directory.version>${project.version}</apache.directory.version> |
| <commons-collections.version>4.2</commons-collections.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-server-jndi</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-protocol-ntp</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-protocol-dns</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-protocol-dhcp</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-protocol-kerberos</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-interceptor-kerberos</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>1.2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <!--This repo can be removed when Spring-DM 1.2 is released as it will then be in maven central--> |
| <repositories> |
| <repository> |
| <id>spring-milestone</id> |
| <name>Spring Portfolio Milestone Repository</name> |
| <url>https://s3.amazonaws.com/maven.springframework.org/milestone</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/filtered-resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>resources</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- |
| Attach the features.xml to this maven artifact. |
| This works with ServiceMix Kernel 1.2+ to install |
| all dependencies with two commands single command. |
| features/addUrl mvn:org.apache.directory.server/apacheds-osgi/${apache.directory.version}/xml/features |
| features/install apache-directory |
| --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-artifacts</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifact> |
| <file>target/classes/features.xml</file> |
| <type>xml</type> |
| <classifier>features</classifier> |
| </artifact> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.0.0</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-Name>Apache Directory Server</Bundle-Name> |
| <Bundle-Description>Apache Directory Server - An LDAP v3 Server implementation</Bundle-Description> |
| <Bundle-SymbolicName>org.apache.directory.server</Bundle-SymbolicName> |
| <Export-Package>jdbm.*, |
| org.apache.directory.*;version=${project.version}, |
| '=META-INF.services.org.apache.xbean.spring.http.apacheds.org.config' |
| </Export-Package> |
| <Import-Package> |
| org.bouncycastle*, |
| * |
| </Import-Package> |
| <_failok>true</_failok> |
| </instructions> |
| <unpackBundle>true</unpackBundle> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |