Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA68D173AA for ; Mon, 30 Mar 2015 22:44:35 +0000 (UTC) Received: (qmail 91405 invoked by uid 500); 30 Mar 2015 22:44:30 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 91299 invoked by uid 500); 30 Mar 2015 22:44:30 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 91288 invoked by uid 99); 30 Mar 2015 22:44:30 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2015 22:44:30 +0000 Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 53B111A01A7 for ; Mon, 30 Mar 2015 22:44:30 +0000 (UTC) Received: by igbqf9 with SMTP id qf9so2562114igb.1 for ; Mon, 30 Mar 2015 15:44:29 -0700 (PDT) X-Received: by 10.42.216.145 with SMTP id hi17mr63039032icb.63.1427755469563; Mon, 30 Mar 2015 15:44:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.127.39 with HTTP; Mon, 30 Mar 2015 15:44:09 -0700 (PDT) In-Reply-To: <1757469.VDPVErWv7t@herve-desktop> References: <1757469.VDPVErWv7t@herve-desktop> From: Olivier Lamy Date: Tue, 31 Mar 2015 09:44:09 +1100 Message-ID: Subject: Re: replacing extpaths.txt with htaccess rewrite rule To: Maven Developers List Content-Type: multipart/alternative; boundary=20cf301cc73c96f5bb05128939dc --20cf301cc73c96f5bb05128939dc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 31 March 2015 at 09:24, Herv=C3=A9 BOUTEMY wrote= : > Hi, > > There is a discussion at infra about deprecating CMS (no decision yet). > That lead to a discussion about features of CMS. And one feature is key t= o > Maven, but not really easy to use: extpaths.txt, which permits to mix Mav= en > main site with components reference documentation. With the problem that > when > you forget to add a new path to extpaths.txt, content mysteriously > disappears > when publishing site (and it has a consequence on site publication > performance > too). > > Working with infra team, we found a more "classical" solution than the > CMS's > extpaths.txt: > - putting components documentation in /components [1] > - creating a generic rewrite rule that rewrites to /components when the > doc is > not found in / > > I started the migration in the site, the components configuration and > documentation update: the only change is that svnpubsub url for component= s > will be > https://svn.apache.org/repos/infra/websites/production/maven/components/ > instead of > https://svn.apache.org/repos/infra/websites/production/maven/content/ > > > Please report if anything seems wrong > Thanks to take care of that!! Banner images are missing: http://maven.apache.org/components/plugins/maven-compiler-plugin/ > > Regards, > > Herv=C3=A9 > > > [1] http://maven.apache.org/components/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > --=20 Olivier Lamy http://twitter.com/olamy | http://linkedin.com/in/olamy --20cf301cc73c96f5bb05128939dc--