I mean, you can grab any array pom properties by index in a variable, why not do it in code, if you don't want duplication. This way the fragility is limited to index and easily fixed if it gets messed up by an added dependency.
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide http://jira.codehaus.org/browse/PLXUTILS-37 It's just an idea, and not something I'd do. Fred. On Thu, Apr 4, 2013 at 5:53 PM, Andrei Pozolotin <[email protected] > wrote: > Fred > > I am sorry I do not understand what you mean. Can you please clarify? > > The only reason am I bothering people on maven dev list is because > maven refuses to work at all when I add custom xml entries to the > <dependency>. > I would assume it would be easy change just to ignore things maven does > not expect, and do not blow up. > > Thank you, > > Andrei > > -------- Original Message -------- > Subject: Re: [VOTE] Apache 3.1.0-alpha-1 > From: Fred Cooke <[email protected]> <[email protected]> > To: Maven Developers List <[email protected]> <[email protected]> > Date: Thu 04 Apr 2013 10:31:57 AM CDT > > Can you not programatically access the dependencies by index? Sure it would > be fragile to dep order changes, but it would not be duplication. +1 to > everything Wayne said. > > On Thu, Apr 4, 2013 at 5:03 PM, Andrei Pozolotin <[email protected] > > wrote: > > *Wayne* > > 1) in this case "I choose madness" :-) > > 2) here is my request: > please provide an option to modello or whoever is enforcing strict > xml model in maven > to relax the rules, so people can use maven they way it fits them, > while enforcing the rules by default. > > Thank you, > > Andrei > > -------- Original Message -------- > Subject: Re: [VOTE] Apache 3.1.0-alpha-1 > From: Wayne Fay <[email protected]> <[email protected]> > To: Andrei Pozolotin <[email protected]> <[email protected]> > Cc: Maven Developers List <[email protected]> <[email protected]> > Date: Thu 04 Apr 2013 09:56:40 AM CDT > > the way I understand your suggestions is essentially I must duplicate > configuration: > > Yes, just like you do with the other plugins mentioned. > > Wayne > > > >
