RE: Re: Proposal: Required declaration of properties in pom.xml

2007-07-12 Thread Brian E. Fox
-tf3231437s177 .html#a8979318 -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jochen Kuhnle Sent: Thursday, July 12, 2007 5:57 AM To: dev@maven.apache.org Subject: Re: Proposal: Required declaration of properties in pom.xml On 2007-07-10 13:04:50 +0200, Kenney Westerhof

Re: Proposal: Required declaration of properties in pom.xml

2007-07-12 Thread Jochen Kuhnle
On 2007-07-10 13:04:50 +0200, Kenney Westerhof <[EMAIL PROTECTED]> said: currently, Maven does not require declaration of properties used in the pom, you just use them anywhere you like. Usually, if a property is missing, bad things tend to happen because it is replaced with the string "null

Re: Proposal: Required declaration of properties in pom.xml

2007-07-10 Thread Kenney Westerhof
Jochen Kuhnle wrote: Hi, currently, Maven does not require declaration of properties used in the pom, you just use them anywhere you like. Usually, if a property is missing, bad things tend to happen because it is replaced with the string "null". On a good day, resources from "translations-

Re: Proposal: Required declaration of properties in pom.xml

2007-07-04 Thread Jason van Zyl
Thanks for putting the proposals in the wiki. Now with a simple page watch anyone can be notified when new proposals are added. On 4 Jul 07, at 12:00 AM 4 Jul 07, Jochen Kuhnle wrote: On 2007-07-03 19:30:33 +0200, "Jochen Wiedmann" <[EMAIL PROTECTED]> said: currently, Maven does not requi

Re: Proposal: Required declaration of properties in pom.xml

2007-07-04 Thread Mark Hobson
How about simply using XSD for validation and accepting namespaced properties? Mark On 04/07/07, Jochen Kuhnle <[EMAIL PROTECTED]> wrote: On 2007-07-04 09:04:10 +0200, "Jochen Wiedmann" <[EMAIL PROTECTED]> said: > On 7/4/07, Jochen Kuhnle <[EMAIL PROTECTED]> wrote: > >> Can properties be used

Re: Proposal: Required declaration of properties in pom.xml

2007-07-04 Thread Jochen Kuhnle
On 2007-07-04 09:04:10 +0200, "Jochen Wiedmann" <[EMAIL PROTECTED]> said: On 7/4/07, Jochen Kuhnle <[EMAIL PROTECTED]> wrote: Can properties be used in this way in the pom.xml? Since the pom language has no control structures like loops etc., it should be hard to use lists. Could you give an

Re: Proposal: Required declaration of properties in pom.xml

2007-07-04 Thread Jochen Wiedmann
On 7/4/07, Jochen Kuhnle <[EMAIL PROTECTED]> wrote: Can properties be used in this way in the pom.xml? Since the pom language has no control structures like loops etc., it should be hard to use lists. Could you give an example, maybe we can find a way to change the proposal to suit both needs?

Re: Proposal: Required declaration of properties in pom.xml

2007-07-04 Thread Jochen Kuhnle
On 2007-07-03 19:30:33 +0200, "Jochen Wiedmann" <[EMAIL PROTECTED]> said: currently, Maven does not require declaration of properties used in the pom, you just use them anywhere you like. Don't like the proposal. It is suitable for 90% of all cases, but doesn't match the cases where you don't

Re: Proposal: Required declaration of properties in pom.xml

2007-07-03 Thread Jochen Wiedmann
currently, Maven does not require declaration of properties used in the pom, you just use them anywhere you like. Don't like the proposal. It is suitable for 90% of all cases, but doesn't match the cases where you don't know the possible property set in advance. (For example, if you use somethin

Re: Proposal: Required declaration of properties in pom.xml

2007-07-03 Thread Jochen Kuhnle
eclare their variables. Regards, Jochen From: news on behalf of Jochen Kuhnle Sent: Tue 7/3/2007 12:05 PM To: dev@maven.apache.org Subject: Proposal: Required declaration of properties in pom.xml Hi, currently, Maven does not require declaration of properties used in the pom, you just use them any

RE: Proposal: Required declaration of properties in pom.xml

2007-07-03 Thread Brian E. Fox
e Sent: Tue 7/3/2007 12:05 PM To: dev@maven.apache.org Subject: Proposal: Required declaration of properties in pom.xml Hi, currently, Maven does not require declaration of properties used in the pom, you just use them anywhere you like. Usually, if a property is missing, bad things tend to ha

Re: Proposal: Required declaration of properties in pom.xml

2007-07-03 Thread Paul Gier
+1 I think this is a good idea. The next release of the enforcer plugin (http://maven.apache.org/plugins/maven-enforcer-plugin/) will have some property verification features, but it would be nice to add the property verification stuff directly to the pom. Jochen Kuhnle wrote: Hi, current

Proposal: Required declaration of properties in pom.xml

2007-07-03 Thread Jochen Kuhnle
Hi, currently, Maven does not require declaration of properties used in the pom, you just use them anywhere you like. Usually, if a property is missing, bad things tend to happen because it is replaced with the string "null". On a good day, resources from "translations-null-null" aren't inclu