There will be no choice but to walk in a few bytes of the POM,
determine the version and use the appropriate reader.
That said I don't think anything language specific a la ruby or groovy
has any place in Maven proper. Lots of room for side projects that use
the embedder and whatever other magic they like. I think a less
verbose form of XML would be universally appreciated.
On 10-Feb-08, at 1:11 PM, Ralph Goers wrote:
Tim O'Brien wrote:
People will use whatever implementation they feel like using. I'd
propose that you start by shipping Maven with two:
1. Classic - the way it works now
2. Reduced XML - the thing that Nicolas proposed
If someone wants to ship an implementation that understands
something like:
http://www.coderoshi.com/2007/08/maven-less-ugly.html
If people start using it, and there is a demand to add native
support for someone's format, then you can add it in later.
As long as it contains the same info, no more, no less, than the
POM you have now. What's the damage? Does Eric's YAML break the
Universal Understanding, or does it provide another path for users
who might not want to start at XML even if it is different?
I wish it was that simple. There are hundreds of pre-existing poms
that you would need to be able to read, so it isn't just a case of
use one or the other. In a best case scenario you would need to use
your "new" parser for the new format and the "classic" for the old.
Now if folks start creating poms using all kinds of syntax the
situation will quickly get out of hand. To me, making this
pluggable is a recipe for disaster.
Ralph
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
Three people can keep a secret provided two of them are dead.
-- Unknown
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]