Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 411097

Summary: NPE on set-versions
Product: z_Archived Reporter: Simon Goodall <simon.goodall>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jan.sievers
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Sample problem pom
none
Error log of problem none

Description Simon Goodall CLA 2013-06-19 05:35:57 EDT
Created attachment 232529 [details]
Sample problem pom

I am getting a NullPointerException on a project when using the set-version mojo with Tycho 0.18.0. I have no problems using tycho 0.17.0.

I've tracked it down to my inclusion of the maven assembly plugin in my pom. As often shown in example the groupId is omitted. This appears to cause the NPE.
Comment 1 Simon Goodall CLA 2013-06-19 05:37:08 EDT
Created attachment 232530 [details]
Error log of problem
Comment 2 Simon Goodall CLA 2013-06-19 05:37:50 EDT
My command execution is;

mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:0.18.0:set-version -DnewVersion=2.0.0-SNAPSHOT
Comment 3 Jan Sievers CLA 2013-06-19 05:39:10 EDT

*** This bug has been marked as a duplicate of bug 409912 ***