Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 89079 invoked from network); 21 Nov 2006 19:42:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2006 19:42:29 -0000 Received: (qmail 84352 invoked by uid 500); 21 Nov 2006 19:42:32 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 84285 invoked by uid 500); 21 Nov 2006 19:42:32 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 84265 invoked by uid 99); 21 Nov 2006 19:42:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 11:42:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ml@wrinkledog.com designates 207.162.210.50 as permitted sender) Received: from [207.162.210.50] (HELO wrinkledog.com) (207.162.210.50) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Nov 2006 11:42:17 -0800 Received: (qmail 8609 invoked by uid 0); 21 Nov 2006 19:41:57 -0000 Received: from unknown (HELO ?192.168.0.5?) (ml@67.171.172.83) by wrinkledog.com with SMTP; 21 Nov 2006 19:41:57 -0000 Mime-Version: 1.0 (Apple Message framework v624) In-Reply-To: <45633F26.3080801@nada.kth.se> References: <724FBE6DAE2F074A8CF33C6FB207C72C03B851@server2.SEI.local> <455C6CC9.7000306@reverycodes.com> <422170EC-259D-47CD-981D-B3D94A3C2833@apache.org> <45622284.7070104@nada.kth.se> <01487F5F-EAE6-440E-914B-C98974D0D368@apache.org> <45633F26.3080801@nada.kth.se> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: <8a1369284352b8bd3d7c33e775a2a238@wrinkledog.com> Content-Transfer-Encoding: quoted-printable From: Mark Lundquist Subject: Re: getting started with 2.2 Date: Tue, 21 Nov 2006 11:41:52 -0800 To: dev@cocoon.apache.org X-Mailer: Apple Mail (2.624) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 21, 2006, at 10:02 AM, Daniel Fagerstrom wrote: > You need -Dalldists also to activate the compilation of the dist =20 > modules (take a look at the profile information in =20 > http://svn.apache.org/repos/asf/cocoon/trunk/dists/pom.xml). I haven't = =20 > verified that it actually will work from root though. It will work =20= > if you do a "mvn package", from the cocoon-dist-samples. When I tried this, I get the following: java.lang.NullPointerException at =20 org.apache.maven.plugin.war.AbstractWarMojo.unpack(AbstractWarMojo.java:=20= 704) at =20 org.apache.maven.plugin.war.AbstractWarMojo.unpackWarToTempDirectory(Abs=20= tractWarMojo.java:680) at =20 org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.=20= java:600) at =20 org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(Abstract=20= WarMojo.java:379) at =20 org.apache.cocoon.maven.deployer.AbstractDeployMojo.deployMonolithicCoco=20= onAppAsWebapp(AbstractDeployMojo.java:182) at =20 org.apache.cocoon.maven.deployer.DeployExplodedMojo.execute(DeployExplod=20= edMojo.java:64) at =20 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa=20= nager.java:412) at =20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default=20= LifecycleExecutor.java:534) at =20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec=20= ycle(DefaultLifecycleExecutor.java:475) at =20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL=20= ifecycleExecutor.java:454) at =20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle=20= Failures(DefaultLifecycleExecutor.java:306) at =20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(=20= DefaultLifecycleExecutor.java:273) at =20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec=20= ycleExecutor.java:140) at =20 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at =20 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav=20= a:39) at =20 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor=20= Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at =20 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at =20 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) I see the same behavior w/: =95=A0"mvn install -Dalldists" from root =95=A0"mvn install -Dalldists" from dists =95=A0"mvn package" from dists/cocoon-dist-samples The only difference is that in the first two cases, the error happens =20= in the build of the publishing distribution. So it happens for both =20 publication and samples distributions, and as far as I can tell =20 '-Dalldists' does what it's supposed to do, but the package goal just =20= isn't working Any ideas? thx, =97ml=97