Sorry ,for typing errors on my previous message about the use of release plugin.
So I write

After updating release plugin ,I have not nullpointer exception anymore.
The new one is the following
C:\_eclipse\workspace\example>mvn -e  release:prepare
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Example
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] 
----------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Checking in modified POMs
[INFO] What tag name should be used?
BABYLONE
Provider message:
The cvs command failed.
Command output:
cvs commit: in directory src/main/webapp:
cvs [commit aborted]: there is no version here; do 'cvs checkout' first

[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] An error is occurred in the checkin process.

Embedded error: Error!
[INFO] 
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error is
occurred in the checkin process.
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544)
        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.jav
a: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)
Caused by: org.apache.maven.plugin.MojoExecutionException: An error is
occurred in the checkin process.
        at 
org.apache.maven.plugins.release.PrepareReleaseMojo.checkIn(PrepareReleaseMojo.java:1336)
        at 
org.apache.maven.plugins.release.PrepareReleaseMojo.checkInRelease(PrepareReleaseMojo.java:1217)
        at 
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:244)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
        ... 16 more
Caused by: org.apache.maven.scm.ScmException: Error!
        at 
org.apache.maven.plugins.release.helpers.ScmHelper.checkResult(ScmHelper.java:124)
        at 
org.apache.maven.plugins.release.helpers.ScmHelper.checkin(ScmHelper.java:214)
        at 
org.apache.maven.plugins.release.PrepareReleaseMojo.checkIn(PrepareReleaseMojo.java:1332)
        ... 20 more
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Tue Nov 29 16:26:11 CET 2005
[INFO] Final Memory: 3M/5M
[INFO] 
----------------------------------------------------------------------------

Release.properties is created under ${basedir}.
Do I need to create the tag-base directory?by default ../tags
Is this  cvs or maven problem

regards,

Tom.



2005/11/29, Tom Joad <[EMAIL PROTECTED]>:
> After updating maven release plugin , i have not nullpointer
> esceptionanymore ,but
> I have new error
> I execute mvn -e release:preprare under ${basedir} of my project
> and i get the following message
>
> C:\_eclipse\workspace\example>mvn -e  release:prepare
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'release'.
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Building Example
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO] Checking in modified POMs
> [INFO] What tag name should be used?
> BABYLONE
> Provider message:
> The cvs command failed.
> Command output:
> cvs commit: in directory src/main/webapp:
> cvs [commit aborted]: there is no version here; do 'cvs checkout' first
>
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] An error is occurred in the checkin process.
>
> Embedded error: Error!
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error is
> occurred in the checkin process.
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544)
>         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.jav
> a: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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An error is
> occurred in the checkin process.
>         at 
> org.apache.maven.plugins.release.PrepareReleaseMojo.checkIn(PrepareReleaseMojo.java:1336)
>         at 
> org.apache.maven.plugins.release.PrepareReleaseMojo.checkInRelease(PrepareReleaseMojo.java:1217)
>         at 
> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:244)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
>         ... 16 more
> Caused by: org.apache.maven.scm.ScmException: Error!
>         at 
> org.apache.maven.plugins.release.helpers.ScmHelper.checkResult(ScmHelper.java:124)
>         at 
> org.apache.maven.plugins.release.helpers.ScmHelper.checkin(ScmHelper.java:214)
>         at 
> org.apache.maven.plugins.release.PrepareReleaseMojo.checkIn(PrepareReleaseMojo.java:1332)
>         ... 20 more
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Tue Nov 29 16:26:11 CET 2005
> [INFO] Final Memory: 3M/5M
> [INFO] 
> ----------------------------------------------------------------------------
>
> is it maven poblem or cvs problem?
>
> regards,
>
>
> 2005/11/29, Tom Joad <[EMAIL PROTECTED]>:
> > It works with mvn -U
> >  Thanks,
> >
> >
> >  Tom
> >
> >
> > 2005/11/29, Emmanuel Venisse <[EMAIL PROTECTED]>:
> > >  it seems you have a very old version of release plugin (2.0-beta-1 ?)
> > >
> > > you can run mvn -U release:prepare to update it.
> > >
> > > if you don't want update it, you need to add connection, 
> > > developerConnection, url, tag in <scm/> in
> > > your pom
> > >
> > > Emmanuel
> > >
> > > Tom Joad a écrit :
> > > > C:\_eclipse\workspace\example>mvn -e  release:prepare
> > > > + Error stacktraces are turned on.
> > > > [INFO] Scanning for projects...
> > > > [INFO] Searching repository for plugin with prefix: 'release'.
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > > [INFO] Building Example
> > > > [INFO]    task-segment: [release:prepare] (aggregator-style)
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > > [INFO] [release:prepare]
> > > > [INFO] What tag name should be used?
> > > > 1-0-SNAPSHOT
> > > > [INFO] Verifying there are no local modifications ...
> > > > [INFO] What is the release version for 'fr.gouv.finances.cp:example '? 
> > > > [1-0]
> > > > 1-0-SNAPSHOT
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > > [ERROR] FATAL ERROR
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > > [INFO] null
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > > [INFO] Trace
> > > > java.lang.NullPointerException
> > > >         at java.util.Hashtable.put (Hashtable.java:396)
> > > >         at java.util.Properties.setProperty(Properties.java:128)
> > > >         at
> > > > org.apache.maven.plugins.release.helpers.ReleaseProgressTracker.addOriginalScmInfo
> > > > (ReleaseProgressTracker.jav
> > > > a:201)
> > > >         at
> > > > org.apache.maven.plugins.release.helpers.ProjectScmRewriter.rewriteScmInfo(
> > > > ProjectScmRewriter.java:52)
> > > >         at 
> > > > org.apache.maven.plugins.release.PrepareReleaseMojo.executeTask (
> > > > PrepareReleaseMojo.java:184)
> > > >         at org.apache.maven.plugins.release.AbstractReleaseMojo.execute(
> > > > AbstractReleaseMojo.java:73)
> > > >         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.jav
> > > > a: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: 23 seconds
> > > > [INFO] Finished at: Tue Nov 29 13:58:24 CET 2005
> > > > [INFO] Final Memory: 2M/5M
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > >
> > > >
> > > > On my pom.xml i just define
> > > >
> > > > <scm>
> > > >         <developerConnection> scm:cvs:pserver:Tomjoad:[EMAIL PROTECTED]
> > > > :/CVS/cvsas:example</developerConnection>
> > > >         <tag>1-0-SNAPSHOT</tag>
> > > >         <url/>
> > > >     </scm>
> > > > I see tag <tag>  is not used by the plugin.
> > > >
> > > > regards,
> > > > Tom
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 2005/11/29, Emmanuel Venisse <[EMAIL PROTECTED]>:
> > > >
> > > >>Can you run it with -e, and send us the full stackTrace. It will be more
> > > >>esay to find what is the
> > > >>problem.
> > > >>
> > > >>Emmanuel
> > > >>
> > > >>Tom Joad a écrit :
> > > >>
> > > >>>Hello,
> > > >>>
> > > >>>When i perform mvn release:prepare
> > > >>> I have a nullpointer exception directly after prompting
> > > >>>to give tag name and release version
> > > >>>
> > > >>>[INFO] [release:prepare]
> > > >>>[INFO] What tag name should be used?
> > > >>>TEST1
> > > >>>[INFO] Verifying there are no local modifications ...
> > > >>>[INFO] What is the release version for 'example'? [1-0]
> > > >>>1-0
> > > >>>[INFO]
> > > >>>
> > >  >>
> > > >>----------------------------------------------------------------------------
> > > >>
> > > >>>[ERROR] FATAL ERROR
> > > >>>[INFO]
> > > >>>
> > > >>
> > > >>----------------------------------------------------------------------------
> > > >>
> > > >>>[INFO] null
> > > >>>[INFO]
> > > >>>
> > > >>
> > > >>----------------------------------------------------------------------------
> > > >>
> > > >>>[INFO] Trace
> > >  >>>java.lang.NullPointerException
> > > >>>        at java.util.Hashtable.put(Hashtable.java:396)
> > > >>>
> > > >>>probably, there  is something missing somewhere but I don't know what.
> > > >>>On the  pom.xml ?
> > > >>>Could someone help me?
> > > >>>
> > > >>>Thanks in advance,
> > > >>>
> > > >>>Tom
> > > >>>
> > > >>
> > > >>
> > > >>---------------------------------------------------------------------
> > > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > > >>
> > > >>
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to