| Author |
maven release build error
|
Anadi Misra
Ranch Hand
Joined: Jun 03, 2008
Posts: 69
|
|
Hi,
I configured the maven-release-plugin for a multi module project , how ever when I run
I get and error like this
I am bit confused here since the module had version 1.0-SNAPSHOT and when I run a release build it should change to 1.0 and release, then why is it looking for a 1.0 in repos to download before it runs a build?
|
Anadi Mishra.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
You didn't supply the POM itself, but it looks like you've defined this POM as a subproject and that the parent project's artifact ID isn't complete.
I don't think it has anything to do with the version-bumping mechanism other than that the version won't be bumped if you can't do a build.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Anadi Misra
Ranch Hand
Joined: Jun 03, 2008
Posts: 69
|
|
hi,
did some changes , to the POM strucutre. but I still get the error, although now it is not for the properties module.
I didn't quite understand what you meant by version bumping, can you explain a bit more?
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
Version bumping is where the maven process updates the version number, like from 1.0.1 to 1.0.2. That's one of the useful features of the release goals.
You still seem to have a misdefinition on a dependency. It appears like you set up something like this:
"com.project." isn't a proper group id. It would typically be something more like "com.project.mvntest".
|
 |
Anadi Misra
Ranch Hand
Joined: Jun 03, 2008
Posts: 69
|
|
hi,
but that's because this is the parent pom , here's how it looks
and here's my maven settings .xml
I'll check if any of the child poms have . entered by mistake
|
 |
Anadi Misra
Ranch Hand
Joined: Jun 03, 2008
Posts: 69
|
|
hi,
thanks a ton!! it was the same error as you said ... I had missed it earlier ,
seems to be running well now
|
 |
Anadi Misra
Ranch Hand
Joined: Jun 03, 2008
Posts: 69
|
|
Ok, stuck at a different place now
it fails when it tries to tag the release version before transforming to a SNAPSHOT again. when i browse the SVN repo I dont see a mvntest-2.0.0 tag.
|
 |
 |
|
|
subject: maven release build error
|
|
|