Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-14 Thread Will Iverson
not the > easiest thing to change. > > You mention that 12 line SBT build - that’s great, but the moment you need > to deviate from something normal - it can deviate quite quickly IMHO. > > > > > From: Hunter C Payne > > Reply: Maven Developers List > Date: 14 December 2020 at 10:06:25 AM > To: Maven Developers List > Subject: Re: [DISCUSS] Allow attributes shorthand in pom.xml > > Hunter PS I've never even heard someone want a repeatable build. I have no > idea why that would even be that desirable.

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-13 Thread Hunter C Payne
10:06:25 AM To: Maven Developers List Subject:  Re: [DISCUSS] Allow attributes shorthand in pom.xml Hunter PS I've never even heard someone want a repeatable build.  I have no idea why that would even be that desirable.

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-13 Thread Mark Derricutt
:25 AM To: Maven Developers List Subject: Re: [DISCUSS] Allow attributes shorthand in pom.xml Hunter PS I've never even heard someone want a repeatable build. I have no idea why that would even be that desirable.

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-13 Thread Hunter C Payne
, however. Gruss Bernd -- http://bernd.eckenfels.net Von: Hunter C Payne Gesendet: Saturday, December 12, 2020 8:02:15 PM An: Maven Developers List Betreff: Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml So there have been a few comments so far (yea) so I'm

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-13 Thread Bernd Eckenfels
: Saturday, December 12, 2020 8:02:15 PM An: Maven Developers List Betreff: Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml So there have been a few comments so far (yea) so I'm going to try to address them here: 1) choice of formatAny format that specifies a POM should have validation (which

Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Karl Heinz Marbaise
he Nachricht- Von: Will Iverson [mailto:wiver...@gmail.com] Gesendet: Freitag, 11. Dezember 2020 23:40 An: dev@maven.apache.org Betreff: [DISCUSS] Allow attributes shorthand in pom.xml One of the biggest complaints about Maven has long been the verbosity of the XML format. The verbosity is due in lar

Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Will Iverson
gt; > > So please join your forces and spend your energy on improving polyglot! > > > > thanks, > > Robert > > On 12-12-2020 11:04:33, Markus KARG wrote: > > Wouldn't it be a more modern and even more effective approach to add JSON > > support for POMs? We c

Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Hunter C Payne
l.com] > Gesendet: Freitag, 11. Dezember 2020 23:40 > An: dev@maven.apache.org > Betreff: [DISCUSS] Allow attributes shorthand in pom.xml > > One of the biggest complaints about Maven has long been the verbosity of > the XML format. The verbosity is due in large part to the

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Elliotte Rusty Harold
On Sat, Dec 12, 2020 at 3:23 PM Markus KARG wrote: > > Okay, seems you got me wrong. The idea is not to force YOU to write JSON, but > to allows OTHERS to do that. There are people that like JSON and YAML over > XML, so we if would have a separating layer between the information needed by >

Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Gary Gregory
OM.xml for legacy reasons but add support > for POM.json files. > -Markus > > -Ursprüngliche Nachricht- > Von: Will Iverson [mailto:wiver...@gmail.com] > Gesendet: Freitag, 11. Dezember 2020 23:40 > An: dev@maven.apache.org > Betreff: [DISCUSS] Allow attribut

AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Markus KARG
, 12. Dezember 2020 12:46 An: dev@maven.apache.org Betreff: Re: [DISCUSS] Allow attributes shorthand in pom.xml Am 2020-12-12 um 11:04 schrieb Markus KARG: > Wouldn't it be a more modern and even more effective approach to add JSON > support for POMs? We could keep POM.xml for legacy reasons b

AW: AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Markus KARG
-Ursprüngliche Nachricht- Von: Robert Scholte [mailto:rfscho...@apache.org] Gesendet: Samstag, 12. Dezember 2020 12:53 An: dev@maven.apache.org Betreff: Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml Here's my unpopular response: I'm not going to invest in attribute support for Maven

Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Romain Manni-Bucau
p POM.xml for legacy reasons but add > support > > for POM.json files. > > -Markus > > > > -Ursprüngliche Nachricht- > > Von: Will Iverson [mailto:wiver...@gmail.com] > > Gesendet: Freitag, 11. Dezember 2020 23:40 > > An: dev@maven.apache.o

Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Tamás Cservenák
or POMs? We could keep POM.xml for legacy reasons but add support > for POM.json files. > -Markus > > -Ursprüngliche Nachricht- > Von: Will Iverson [mailto:wiver...@gmail.com] > Gesendet: Freitag, 11. Dezember 2020 23:40 > An: dev@maven.apache.org > Betreff: [DISCUSS] A

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Karl Heinz Marbaise
Hi, On 11.12.20 23:40, Will Iverson wrote: One of the biggest complaints about Maven has long been the verbosity of the XML format. The verbosity is due in large part to the exclusive reliance on XML elements in Maven. Which I can't see. Only a few people are complainging about that... I

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Elliotte Rusty Harold
Hard no. While this might be a good idea if were we starting for scratch—I have no opinion about that—it would be massively incompatible with the existing toolchain; not just Maven but Gradle, SBT, static analysis tools, bazel, and everything else that sits on top of the Maven repository system.

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Romain Manni-Bucau
refer YAML for this. > > > > > -Ursprüngliche Nachricht- > > > Von: Will Iverson [mailto:wiver...@gmail.com] > > > Gesendet: Freitag, 11. Dezember 2020 23:40 > > > An: dev@maven.apache.org > > > Betreff: [DISCUSS] Allow attributes shor

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread John Patrick
il.com] > > Gesendet: Freitag, 11. Dezember 2020 23:40 > > An: dev@maven.apache.org > > Betreff: [DISCUSS] Allow attributes shorthand in pom.xml > > > > One of the biggest complaints about Maven has long been the verbosity of > > the XML format. The verbosity is due

Re: AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Robert Scholte
] Gesendet: Freitag, 11. Dezember 2020 23:40 An: dev@maven.apache.org Betreff: [DISCUSS] Allow attributes shorthand in pom.xml One of the biggest complaints about Maven has long been the verbosity of the XML format. The verbosity is due in large part to the exclusive reliance on XML elements in Maven.

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Michael Osipov
. It is a decent serialization format, but a horrible one for humans. I would rather prefer YAML for this. -Ursprüngliche Nachricht- Von: Will Iverson [mailto:wiver...@gmail.com] Gesendet: Freitag, 11. Dezember 2020 23:40 An: dev@maven.apache.org Betreff: [DISCUSS] Allow attributes

AW: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread Markus KARG
23:40 An: dev@maven.apache.org Betreff: [DISCUSS] Allow attributes shorthand in pom.xml One of the biggest complaints about Maven has long been the verbosity of the XML format. The verbosity is due in large part to the exclusive reliance on XML elements in Maven. Proposal: Allow Maven pom.xml

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-11 Thread Gary Gregory
I'd love less verbose XML. Gary On Fri, Dec 11, 2020, 17:40 Will Iverson wrote: > One of the biggest complaints about Maven has long been the verbosity of > the XML format. The verbosity is due in large part to the exclusive > reliance on XML elements in Maven. > > Proposal: Allow Maven

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-11 Thread Hunter C Payne
I agree that the XML format is a bit long.  That's why a bit ago I wrote Maven Unbound. Homepage: https://hunterpayne.github.io/maven-unbound-site/Source: https://github.com/hunterpayne/maven-unbound Its a way to generate pom.xml files from Hocon/Json (and visa-versa).  This allows two things:

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-11 Thread Will Iverson
Ha, looking at the source code for polyglot-xml it's using Modello to do something very similar to what I'm proposing- it's tweaking Modello code gen to allow dependencies and plugins to be defined via attributes. It also is generating a new XSD and a new pom.xml41 which uses that XSD. The

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-11 Thread Manfred Moser
You can use polyglot-maven for a compatible approach for your own pom files right now.. https://github.com/takari/polyglot-maven/tree/master/polyglot-xml Manfred Will Iverson wrote on 2020-12-11 14:40 (GMT -08:00): > One of the biggest complaints about Maven has long been the verbosity of

[DISCUSS] Allow attributes shorthand in pom.xml

2020-12-11 Thread Will Iverson
One of the biggest complaints about Maven has long been the verbosity of the XML format. The verbosity is due in large part to the exclusive reliance on XML elements in Maven. Proposal: Allow Maven pom.xml to treat attributes as a short-hand for declaring configuration elements. Example: One of