From commits-return-21169-apmail-directory-commits-archive=directory.apache.org@directory.apache.org Tue Feb 24 08:26:33 2009 Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 99936 invoked from network); 24 Feb 2009 08:26:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 08:26:33 -0000 Received: (qmail 62170 invoked by uid 500); 24 Feb 2009 08:26:33 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 62114 invoked by uid 500); 24 Feb 2009 08:26:32 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 62105 invoked by uid 99); 24 Feb 2009 08:26:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 00:26:32 -0800 X-ASF-Spam-Status: No, hits=-1994.3 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE,MIME_HTML_ONLY X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 08:26:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0D7C5234C48C for ; Tue, 24 Feb 2009 00:26:00 -0800 (PST) Message-ID: <419093200.1235463960040.JavaMail.www-data@brutus> Date: Tue, 24 Feb 2009 00:26:00 -0800 (PST) From: confluence@apache.org To: commits@directory.apache.org Subject: [CONF] Apache Directory Development: Guide to custom Directory Deployment (page edited) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org

Guide to custom Directory Deployment has been edited by Felix Knecht (Feb 24, 2009).

(View changes)

Content:

Following guide is thought to be used after Directory TLP pom version 15 has been released!
This isn't the case up to now.

Introduction

For test and other purposes Apache Directory Projects can be deployed to a custom location (e.g. locally). This guide will walk you through the process by preparing your maven configuration.

Maven Settings

You'll need a profiles section to add the properties needed for customization. Here's what my settings.xml file in ~/.m2 looks like:

<settings 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/settings-1.0.0.xsd">
  <profiles>
    <profile>
      <id>deploy-local</id>
      <properties>

        <!-- This property is needed to customize where the goal 'deploy' will deploy artifacts to -->
        <distMgmtSnapshotsUrl>scpexe://localhost/tmp/local-directory-deployment</distMgmtSnapshotsUrl>

        <!-- This property is needed to customize where the goal 'site-deploy' will deploy the generated site to -->
        <distMgmtSiteUrl>scpexe://localhost/tmp/local-directory-site-deployment/</distMgmtSiteUrl>
      </properties>
    </profile>
  <profiles>
</settings>