Re: MavenXpp3Reader question for maven-release-manager

2011-01-17 Thread Mark Struberg
nd LieGrue, strub --- On Mon, 1/17/11, Benjamin Bentmann wrote: > From: Benjamin Bentmann > Subject: Re: MavenXpp3Reader question for maven-release-manager > To: "Maven Developers List" > Date: Monday, January 17, 2011, 11:35 AM > Mark Struberg wrote: > >

Re: MavenXpp3Reader question for maven-release-manager

2011-01-17 Thread Benjamin Bentmann
Mark Struberg wrote: It throws the checked IOException and XmlPullParserException, but can it also throw unchecked Exceptions under 'normal' conditions? AFAIK no. So I'm not sure if I should add a catch (Exception e) instead of the 2 checked exceptions, or if all sane cases are already wra

MavenXpp3Reader question for maven-release-manager

2011-01-17 Thread Mark Struberg
Hi! I have a quick question on MavenXpp3Reader#read() It throws the checked IOException and XmlPullParserException, but can it also throw unchecked Exceptions under 'normal' conditions? The code I need this for is PomFinder#findMatchingPom and PomFinder#parsePom. I like to make su

Re: MavenXpp3Reader

2009-03-17 Thread Jason van Zyl
M, Stephen Connolly wrote: Hey! So either my memory is wrong or i remember somebody saying it's a "bad thing"(TM) to use MavenXpp3Reader from a plugin I know that 99% of the time one should use model builder directly, but I have a use case where I just want the results before *a

Re: MavenXpp3Reader

2009-03-16 Thread Stephen Connolly
d and stored along >>> with the project. >>> >>> >>> On 16-Mar-09, at 10:26 AM, Stephen Connolly wrote: >>> >>> Hey! >>> >>>> >>>> So either my memory is wrong or i remember somebody saying it's a "bad >&

Re: MavenXpp3Reader

2009-03-16 Thread Jason van Zyl
his in the enforcer so there is code for 2.x there. In 3.x the model original model hierarchy is not mutated and stored along with the project. On 16-Mar-09, at 10:26 AM, Stephen Connolly wrote: Hey! So either my memory is wrong or i remember somebody saying it's a "bad thing"(T

Re: MavenXpp3Reader

2009-03-16 Thread Stephen Connolly
ted and stored along > with the project. > > > On 16-Mar-09, at 10:26 AM, Stephen Connolly wrote: > > Hey! >> >> So either my memory is wrong or i remember somebody saying it's a "bad >> thing"(TM) to use MavenXpp3Reader from a plugin >&g

Re: MavenXpp3Reader

2009-03-16 Thread Jason van Zyl
"bad thing"(TM) to use MavenXpp3Reader from a plugin I know that 99% of the time one should use model builder directly, but I have a use case where I just want the results before *any* interpolation what so ever is performed... Am I still doing a "bad thing" or is th

Re: MavenXpp3Reader

2009-03-16 Thread Stephen Connolly
but I suspect that's far worse than using the raw model from MavenXpp3Reader ;-) -Stephen 2009/3/16 John Casey > Unless someone else knows more about it than I do, I'd say you're probably > right; it's in that 1%. :-) > > The problem with skipping the projec

Re: MavenXpp3Reader

2009-03-16 Thread John Casey
d be okay... -john Stephen Connolly wrote: Hey! So either my memory is wrong or i remember somebody saying it's a "bad thing"(TM) to use MavenXpp3Reader from a plugin I know that 99% of the time one should use model builder directly, but I have a use case where I just want the

MavenXpp3Reader

2009-03-16 Thread Stephen Connolly
Hey! So either my memory is wrong or i remember somebody saying it's a "bad thing"(TM) to use MavenXpp3Reader from a plugin I know that 99% of the time one should use model builder directly, but I have a use case where I just want the results before *any* interpolation

[jira] Closed: (MNG-667) Exception "parser must be on START_TAG or TEXT to read text" in MavenXpp3Reader for model-3.0.0 POMs.

2005-07-27 Thread Brett Porter (JIRA)
[ http://jira.codehaus.org/browse/MNG-667?page=all ] Brett Porter closed MNG-667: Resolution: Duplicate Fix Version: (was: 2.0-beta-1) > Exception "parser must be on START_TAG or TEXT to read text" in > MavenXpp3Reader for

[jira] Created: (MNG-667) Exception "parser must be on START_TAG or TEXT to read text" in MavenXpp3Reader for model-3.0.0 POMs.

2005-07-27 Thread Davy Toch (JIRA)
Exception "parser must be on START_TAG or TEXT to read text" in MavenXpp3Reader for model-3.0.0 POMs. - Key: MNG-667 URL: http://jira.codehaus.org/browse/MNG-667