You have several possibilities.

- define properties and use them (<properties>...)
- use dependencyManagement for multi module projects
- avoid defining a own version in multi module projects (inherits the
parent pom)

Don't know your use case. But one of those methods should solve it.


Sincerly,

Johannes

Wayne Fay wrote:
>> You'll notice I have "1.0-SNAPSHOT" hard-coded a couple of times in my
>> webapp/pom.xml.  Is there any way I can replace that with something that
>> will be automatically inherited from the parent?
> 
> If you're using the release plugin, this is not generally a problem.
> So, what is your reason behind asking this question?
> 
> I'll bet you're coming from Ant and just love properties files... ;-)
> 
> Wayne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to