Hi

I have written a plugin and used it also with continuum. Unfortunately if there is an error in the plugin the build will be interrupted, but continuum sends a mail with a successful build message. How to handle that?

Thanks for your help
Heiko

Online report : 
http://localhost:8080/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/6/buildId/36
Build statistics:
 State: Ok
 Previous Build: No previous build.
 Started at: Di, 29 Nov 2005 15:48:48 +0100
 Finished at: Di, 29 Nov 2005 15:48:55 +0100
 Total time: 6s
 Build Trigger: Forced
 Exit code: 0
 Building machine hostname: silversurfer
 Operating system : Windows XP(Service Pack 1)
 Java version : 1.5.0_05(Sun Microsystems Inc.)

Changes
     No files changed
****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Maven
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [buildnumber:create {execution: default}]
[INFO] Properties file to load: mynumber.properties
[INFO] 
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] null
[INFO] 
----------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Properties.java:365)
        at java.util.Properties.load(Properties.java:293)
        at 
com.form105.maven.plugin.CreateNumberMojo.execute(CreateNumberMojo.java:46)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
at



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

Reply via email to