Thanks for this, Felix. Regards, Pierre-Arnaud
On Thu, Oct 9, 2008 at 10:17 PM, <[EMAIL PROTECTED]> wrote: > Author: felixk > Date: Thu Oct 9 13:17:38 2008 > New Revision: 703245 > > URL: http://svn.apache.org/viewvc?rev=703245&view=rev > Log: > - Making also distributionManagement for site configurable via settings.xml > and set default to oxylos > - Add a sample settings.xml > > Note, that TLP 14-SNAPSHOT or higher will be needed to use > release.altDeploymentRepository > > @Pierre-Arnaud > If you made other experiences during the release of 1.3.0-RC1 please fix or > enhance the settings.xml > > Added: > directory/studio/trunk/settings.xml.sample > Modified: > directory/studio/trunk/pom.xml > > Modified: directory/studio/trunk/pom.xml > URL: > http://svn.apache.org/viewvc/directory/studio/trunk/pom.xml?rev=703245&r1=703244&r2=703245&view=diff > > ============================================================================== > --- directory/studio/trunk/pom.xml (original) > +++ directory/studio/trunk/pom.xml Thu Oct 9 13:17:38 2008 > @@ -52,13 +52,17 @@ > <distributionManagement> > <site> > <id>apache.directory.studio</id> > - <url>scpexe://vm094.oxylos.org/var/www/html/projects/studio/</url> > + <url>${distributionManagement.site.url}</url> > </site> > </distributionManagement> > > <properties> > - <!-- Set deployment url for dists. Can be overwritten in the > settings.xml --> > + <!-- > + Set default of various URLs for deployment repositories/paths/.... > + Can be overwritten in the settings.xml > + --> > > <studio.dist.url>${pom.distributionManagement.repository.url}</studio.dist.url> > + <distributionManagement.site.url>scpexe:// > vm094.oxylos.org/var/www/html/projects/studio/ > </distributionManagement.site.url> > <!-- Set versions for subprojects --> > <aciitemeditor.version>1.3.0-SNAPSHOT</aciitemeditor.version> > <apacheds.launcher.version>1.2.0</apacheds.launcher.version> > > Added: directory/studio/trunk/settings.xml.sample > URL: > http://svn.apache.org/viewvc/directory/studio/trunk/settings.xml.sample?rev=703245&view=auto > > ============================================================================== > --- directory/studio/trunk/settings.xml.sample (added) > +++ directory/studio/trunk/settings.xml.sample Thu Oct 9 13:17:38 2008 > @@ -0,0 +1,67 @@ > +<!-- > + 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. > +--> > +<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"> > + > + <!-- > + Samples for settings.xml configuration. > + studio-local: Deploys everything on your local machine > + release: Can be used to deploy a release somewhere else > + --> > + <profiles> > + <profile> > + <id>studio-local</id> > + <properties> > + <!-- > + This is the URL built distributions (*.tar.gz) of the studio > + will be deployed to when running the deploy goal > + 'mvn deploy -Pstudio-local' > + --> > + <studio.dist.url>scpexe://localhost/tmp/studio</studio.dist.url> > + > + <!-- > + This is the URL built artifacts of the studio will be deployed > + to when running the deploy goal > + 'mvn deploy -Pstudio-local' > + --> > + > > <altDeploymentRepository>-DaltDeploymentRepository=apache.release::default::scpexe://localhost/tmp/projects/studio</altDeploymentRepository> > + > + <!-- > + This is the URL built sites of the studio will be copied to > + when running the site-deploy goal > + 'mvn site-deploy -Pstudio-local' > + --> > + > > <distributionManagement.site.url>scpexe://localhost/tmp/projects/studio/</distributionManagement.site.url> > + </properties> > + </profile> > + <profile> > + <id>release</id> > + <properties> > + <!-- > + This is an alternative URL for a deployment repository when > doing a release > + mvn release:perform -Prelease > + --> > + > > <release.altDeploymentRepository>-DaltDeploymentRepository=apache.release::default::scpexe://localhost/tmp/projects/studio</release.altDeploymentRepository> > + </properties> > + </profile> > + </profiles> > + > +</settings> > > >
