Return-Path: Delivered-To: apmail-maven-doxia-dev-archive@www.apache.org Received: (qmail 22034 invoked from network); 11 Dec 2008 01:20:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2008 01:20:22 -0000 Received: (qmail 26625 invoked by uid 500); 11 Dec 2008 01:20:34 -0000 Delivered-To: apmail-maven-doxia-dev-archive@maven.apache.org Received: (qmail 26607 invoked by uid 500); 11 Dec 2008 01:20:34 -0000 Mailing-List: contact doxia-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: doxia-dev@maven.apache.org Delivered-To: mailing list doxia-dev@maven.apache.org Received: (qmail 26596 invoked by uid 99); 11 Dec 2008 01:20:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2008 17:20:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vincent.siveton@gmail.com designates 74.125.44.154 as permitted sender) Received: from [74.125.44.154] (HELO yx-out-1718.google.com) (74.125.44.154) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 01:20:19 +0000 Received: by yx-out-1718.google.com with SMTP id 4so407642yxp.6 for ; Wed, 10 Dec 2008 17:19:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0O5mFwdYaO2GSYn47x96iPvbDSIFnCjcs8mJKPBokq0=; b=tgg+VHg4uH9QfZE2u3Ep5RRbe/SBx/cxEDJYOcopWxqUuDwddcyGatU7s3yyV1sDvr 4ZKb5YQe/k31Kb7bngy9g/5IAA6HdxIgiCAM53r6C3cN/gYPzqWYVeEaBk+utqil7+Tl 68YOmRlSJY5ck/taRHYDCMG2peZHuqFJHkkJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=K7dMDokbFI/GWewZfWp/BsMtG1z4aVc11MTR15ba/Ljp1chdvnvK8c0L2jeMVS3vLZ HW9SUkr7sF61yni/hwYr3wd5/8ft9GJ7kObPz0NJ8216OqhECE2sMWMJoBe/h+jdlF2v hOUhAaxOKG+5gfgHOAsWRUwbfebKQ21JMFlmg= Received: by 10.100.190.14 with SMTP id n14mr1645001anf.19.1228958398519; Wed, 10 Dec 2008 17:19:58 -0800 (PST) Received: by 10.100.133.8 with HTTP; Wed, 10 Dec 2008 17:19:58 -0800 (PST) Message-ID: <9ae367340812101719h6cb138e0hd1c1d28267aefe45@mail.gmail.com> Date: Wed, 10 Dec 2008 20:19:58 -0500 From: "Vincent Siveton" To: doxia-dev@maven.apache.org Subject: Re: Preparation of Doxia 1.0-beta-1 release In-Reply-To: <493D50DF.3040705@udo.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9ae367340812060657u4e4faa8eqc30fd6a9abbdec65@mail.gmail.com> <493D086E.1060109@apache.org> <9ae367340812080417r79da538ap1b8fc5e908c832e1@mail.gmail.com> <493D50DF.3040705@udo.edu> X-Virus-Checked: Checked by ClamAV on apache.org Hi Benjamin and Paul, According your comments, I created a new module doxia-test-docs which includes svn copy on several documents. I also updated tests to fetch these changes. Any comments are welcome! Cheers, Vincent 2008/12/8 Benjamin Bentmann : > Vincent Siveton wrote: > >> The tests are to perform XSD validations under our current >> documentation. Since we add new XSD files in this release, I think >> these tests are useful. > > No doubt, tests are useful but I feel we mix two different test targets > here: > > a) correctness of the XSDs > b) correctness of the currently available Maven documentation > > IMHO, only point a) should be a concern of Doxia, the rest is just outside > world. The day we have a validating Doxia under the hood of the Site Plugin > and it detects errors in our docs, we can simply fix them when be try to > build the corresponding site, not when building Doxia. > >> Instead of svn co, we could link to relative doc path, ie from >> doxia-module-fml using ../../../plugins/maven-ant-plugin/src/site > > -1 on hard-coding inter-module or even worse inter-project paths. This > introduces tight coupling where none should be. Imagine a contributor to > Doxia who wants to try out patching it would end up checking out Maven > plugins to test Doxia. > > Also, both "svn co" and the relative path to a local checkout make the idea > of a reproducible build unreachable, as Paul already pointed out. > > To realize test target a), it is surely a nice idea to just grab samples of > existing and presumable good docs and check whether the validator doesn't > freak out. To do so, how about if we just collect all the doc files of > interest from the Maven/plugin sites and copy them to a new Doxia module > (doxia-test-docs or whatever). This module would mimic a "svn co" of a > locked SVN revision and is also under Doxia control, i.e. one could also > create artifical input documents to check more complex syntax structures > that are currently not in use on the Maven sites. The other Doxia modules > like XDoc etc. could depend on this test module and extract the input files > from the test class path or from local file system after unpacking with the > Dependency Plugin. Wouldn't that work? > > > Benjamin >