-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Have you ever used java object serialization without specifying:

static final long serialVersionUID = <somevalue>;

then changed the class once you had some serialized data somewhere? This
version element has a similar purpose to serialVersionUID, and it's
every bit as important.

- -j

John Casey wrote:
| It will help avoid another problem like we're having right now in moving
| from maven 1 POMs to maven 2 POMs, for one thing.
|
| I understand wanting to streamline the amount of xml you have to write
| for a new project, but surely 34 characters that don't ever change (like
| versions of your project do) isn't too much to ask for future
| compatibility??
|
| -john
|
| Thomas Van de Velde wrote:
| | But this is irrelevant for people not using legecy POM's (which I would
| | think is the great majority). What would be the inconvenience of having
| | defaut values? People wanting to use legacy poms just need to override
| | those.
| |
| | Thomas
| |
| | On 10/5/05, Anthony B. Coates <[EMAIL PROTECTED]> wrote:
| |
| |>Such a default value would be bad karma, in the sense that you have no
| |>indication which version of the POM (Schema) the POM instance was
written
| |>against. That stops you from doing intelligent support of legacy POMs,
| |>especially if you make a non-backwards-compatible major version change.
| |>Although it is a nuisance, it really is better for each POM instance to
| |>explicitly state which POM version it is supposed to be valid against.
| |>
| |>Cheers, Tony.
| |>
| |>On Wed, 05 Oct 2005 12:51:42 +0100, Thomas Van de Velde
| |><[EMAIL PROTECTED]> wrote:
| |>
| |>
| |>>Hi,
| |>>
| |>>Currently you are forced to define the modelVersion for each pom, even
| |>>when
| |>>declaring a parent. To me this seems to be a purely technical element
| |>>that
| |>>is of limited interest to end users. Would it not make sense to provide
| |>
| |>a
| |>
| |>>default value (4.0.0) if not defined explicitly in the POM?
| |>
| |>--
| |>Anthony B. Coates, Director
| |>Information Design, Messaging and Management
| |>mailto:[EMAIL PROTECTED]
| |>Mobile/Cell: +44 (79) 0543 9026
| |>--
| |>MDDL Editor (Market Data Definition Language)
| |>http://www.mddl.org/
| |>FpML AWG Member (Financial Products Markup Language)
| |>http://www.fpml.org/
| |>
| |>---------------------------------------------------------------------
| |>To unsubscribe, e-mail: [EMAIL PROTECTED]
| |>For additional commands, e-mail: [EMAIL PROTECTED]
| |>
| |>
| |
| |

- ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDQ+XkK3h2CZwO/4URAltcAKCSpEOwMgwzZMByDmG7y/lckx0y5gCgnnS3
b6MLmc1oXtj0pkQNp3P5c9c=
=8ibX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to