Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 43045 invoked from network); 23 Sep 2008 16:41:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Sep 2008 16:41:46 -0000 Received: (qmail 90326 invoked by uid 500); 23 Sep 2008 16:41:42 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 90264 invoked by uid 500); 23 Sep 2008 16:41:42 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 90248 invoked by uid 99); 23 Sep 2008 16:41:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2008 09:41:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.86.89.62] (HELO elasmtp-dupuy.atl.sa.earthlink.net) (209.86.89.62) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2008 16:40:42 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=JjGOrLtb4bUq4DHdGOeorAKkpYrOuq5GgHVvH79vC585VCetda4F1yjlYKicZHog; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [24.40.200.241] (helo=tetra.local) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1KiAwq-0007NH-Oh for dev@geronimo.apache.org; Tue, 23 Sep 2008 12:41:12 -0400 Message-ID: <48D91C28.8030805@earthlink.net> Date: Tue, 23 Sep 2008 12:41:12 -0400 From: Joe Bohn User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: relativePath in our parent pom entries. References: <48D9126D.4010000@earthlink.net> In-Reply-To: <48D9126D.4010000@earthlink.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: c408501814fc19611aa676d7e74259b7b3291a7d08dfec790a62846050c15917e30e2efb34ae27d6350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.40.200.241 X-Virus-Checked: Checked by ClamAV on apache.org Hmmm ... perhaps it isn't just the relativePath. I just attempted to build site for trunk and received a similar warning attempting to load a parent project (this time in buildsupport) followed by a bunch of failures of this type: [ERROR] RHS of #set statement is null. Context will not be modified. META-INF/maven/site.vm [line 17, column 1] [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = META-INF/maven/site.vm [line 19,column 30] : $alt is not a valid reference. [INFO] Generate "CPD Report" report. [ERROR] RHS of #set statement is null. Context will not be modified. META-INF/maven/site.vm [line 17, column 1] and .... [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] 'helpmojo' was specified in an execution, but not found in the plugin Joe Bohn wrote: > Is there ever a valid need to specify relativePath in the parent section > of our poms? > > I noticed that nearly all of the relativePath entries have been removed > from trunk but not branches/2.1. The only existing relativePath entries > in trunk are for concurrent-testsuite and command-testsuite ... which I > suspect are the results of merged changes from branches/2.1. > > I'm asking because I've been trying to understand the site generation > for multi-module builds so that I can get this to aggregate at the top > level for samples -- BTW, any pointers there are also appreciated :-) . > In the process I attempted a site build for server branches/2.1 which > failed with the following exception that I suspect is due to > relativePath not being set correctly in security-testsuite. > > > [WARNING] Unable to load parent project from repository: Could not find > the model file '/Users/bohn/geronimo-2.1/../pom.xml'. for project unknown > [INFO] Skipped "Maven Surefire Report" report, file > "surefire-report.html" already exists for the English version. > [INFO] Generate "Plugin documentation" report. > [INFO] Using 2 extractors. > [INFO] Applying extractor for language: java > [INFO] Extractor for language: java found 0 mojo descriptors. > [INFO] Applying extractor for language: bsh > [INFO] Extractor for language: bsh found 0 mojo descriptors. > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] null > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NullPointerException > at > org.apache.maven.tools.plugin.generator.PluginXdocGenerator.execute(PluginXdocGenerator.java:46) > > at > org.apache.maven.plugin.plugin.PluginReport.generatePluginDocumentation(PluginReport.java:192) > > at > org.apache.maven.plugin.plugin.PluginReport.executeReport(PluginReport.java:141) > > at > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) > > at > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67) > > at > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239) > > at > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115) > > at > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124) > at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >