Hi, 

I have a parent pom that defines everything that is shared by all projects of 
the company. 

1. Sometimes I have to redefine PARTS (= child elements) of an element defined 
in the parent pom. It does work to redefine the version number or the scope of 
a dependency. However, I think it does not work to redefine certain settings of 
a certain plugin. Like just changing an input or output folder for the war 
plugin - in this case I always had to redefine the entire element for this 
plugin. 
--> Is there a way to just redefine parts of a POM element?

2. I would like to REUSE elements defined in my Parent POM. For example, I 
defined all developers of the company, writing down the first and last name, 
email adress and company name of each developer. Now, for each individual 
project, I would like to use the id of a developer as a reference to the 
information given in the parent pom, and that when the project's website is 
build by using "mvn site" that the site displays ALL information for this 
developer. Otherwise, I would have to re-type a lot of  information - as some 
developers work in all projects, I would have LOTS of redundant information 
which greatly increases maintenance. 
--> Is there a way to avoid redundant definitions in the POM inheritance 
hierarchies?

Thanks in advance, 

Stefanie
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

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

Reply via email to