>-----Original Message-----
>From: [email protected] [mailto:[email protected]]
On
>Behalf Of Paul Benedict
>Sent: Tuesday, October 26, 2010 11:22 AM
>To: Maven Users List
>Subject: Re: avoiding dependency version number duplication
>
>>>Which is a problem because there's lots of other ways for that
variable
>>> to be set that aren't going to be available after the pom is
deployed.
>
>I wouldn't deploy a POM with variables that are not set. Won't the
><properties> tag be included either in the POM or the parent POM?

Variables can be set in profiles.xml, or on the command line, or it'll
might be conditional based on how the build is done (e.g. "mvn -P
devbuild deploy" vs "mvn -P releasebuild deploy", and perhaps those
profile define different values).
Those are just the few cases that I can think of off the top of my head,
but I wouldn't be surprised if there are others.

eric

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to