Yes, the parent project is correctly parsed and deployed, so I assume the
parent's group ID is ok.

Filed in JIRA under: http://jira.codehaus.org/browse/MNG-1527


On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote:
>
> Do you correctly specify the groupID in the parent?
>
> Please file a bug, yes.
>
> - Brett
>
> On 11/12/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've encountered the following exception:
> >
> > [EMAIL PROTECTED]:~/projects/corleon-site/trunk$ mvn release:prepare
> > -Dusername=arikkfir
> > [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.java
> > :47)
> > at
> >
> org.apache.maven.plugins.release.helpers.ProjectScmRewriter.restoreScmInfo
> (
> > 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.executeStandaloneGoal
> > (DefaultLifecycleExecutor.java:482)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > DefaultLifecycleExecutor.java:452)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (DefaultLifecycleExecutor.java:301)
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > 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.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)
> > [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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to