Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 80432 invoked from network); 12 Nov 2005 07:18:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Nov 2005 07:18:58 -0000 Received: (qmail 62598 invoked by uid 500); 12 Nov 2005 07:18:51 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 62564 invoked by uid 500); 12 Nov 2005 07:18:50 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 62553 invoked by uid 99); 12 Nov 2005 07:18:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2005 23:18:50 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of brett.porter@gmail.com designates 66.249.82.206 as permitted sender) Received: from [66.249.82.206] (HELO xproxy.gmail.com) (66.249.82.206) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2005 23:18:43 -0800 Received: by xproxy.gmail.com with SMTP id s18so1030128wxc for ; Fri, 11 Nov 2005 23:18:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=efIhxTucG0VdNDv8HUFoi/n8c8nlDv94ke+8+lnF2SEeMCsAj4vB9KolypcqiBwlXdIcB5aqGh6f3gXKvnCJyB231eGQg6fELLR6wbGkzMBa8SoIpjHnYBRfd3kqkItO0n5v5rocspHWuXyNRZn8ph6vgsgi6WCl6OrSxoECA/g= Received: by 10.70.44.7 with SMTP id r7mr2900953wxr; Fri, 11 Nov 2005 23:18:29 -0800 (PST) Received: by 10.70.40.13 with HTTP; Fri, 11 Nov 2005 23:18:29 -0800 (PST) Message-ID: <9e3862d80511112318p3d4c5fc6te638e9f15072f5f9@mail.gmail.com> Date: Sat, 12 Nov 2005 18:18:29 +1100 From: Brett Porter To: Maven Users List Subject: Re: [m2] Exception in release plugin In-Reply-To: <1947ec880511111702m5fcee3do341a4ba47bf93933@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1947ec880511111702m5fcee3do341a4ba47bf93933@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Do you correctly specify the groupID in the parent? Please file a bug, yes. - Brett On 11/12/05, Arik Kfir wrote: > Hi, > > I've encountered the following exception: > > arik@corleon:~/projects/corleon-site/trunk$ mvn release:prepare > -Dusername=3Darikkfir > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'release'. > [INFO] > -------------------------------------------------------------------------= --- > [INFO] Building Corleon > [INFO] task-segment: [release:prepare] (aggregator-style) > [INFO] > -------------------------------------------------------------------------= --- > [INFO] [release:prepare] > [INFO] What tag name should be used? > RELEASE-1.0 > [INFO] Verifying there are no local modifications ... > [INFO] Checking lineage for snapshots ... > [INFO] Checking dependencies for snapshots ... > [INFO] Checking plugins for snapshots ... > [INFO] What is the release version for 'org.corleon:corleon'? [1.0] > > [INFO] Checking in modified POMs > [INFO] Tagging release with the label RELEASE-1.0. > [INFO] What is the new development version for 'org.corleon:corleon'? [ > 1.1-SNAPSHOT] > > [INFO] > -------------------------------------------------------------------------= --- > [ERROR] FATAL ERROR > [INFO] > -------------------------------------------------------------------------= --- > [INFO] groupId was null > [INFO] > -------------------------------------------------------------------------= --- > [INFO] Trace > java.lang.NullPointerException: groupId was null > at org.apache.maven.artifact.ArtifactUtils.versionlessKey(ArtifactUtils.j= ava > :47) > at > org.apache.maven.plugins.release.helpers.ProjectScmRewriter.restoreScmInf= o( > ProjectScmRewriter.java:51) > at org.apache.maven.plugins.release.PrepareReleaseMojo.execute( > PrepareReleaseMojo.java:259) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo( > DefaultPluginManager.java:399) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > DefaultLifecycleExecutor.java:519) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneG= oal > (DefaultLifecycleExecutor.java:482) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( > DefaultLifecycleExecutor.java:452) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleF= ailures > (DefaultLifecycleExecutor.java:301) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment= s( > DefaultLifecycleExecutor.java:214) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > DefaultLifecycleExecutor.java:137) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j= ava > :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) > [INFO] > -------------------------------------------------------------------------= --- > [INFO] Total time: 28 seconds > [INFO] Finished at: Sat Nov 12 02:33:49 IST 2005 > [INFO] Final Memory: 3M/6M > [INFO] > -------------------------------------------------------------------------= --- > > My POM extends another POM which defines the group ID (the child POM has = no > group ID). When I add a groupId to the child POM it works ok. > > File a JIRA on this? > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org