You can:
1) First parameterize the properties using
webapp.property=${my.build.webapp.property}

2) define the properties in the parent pom:
<properties>
  <property>
   
<my.build.webapp.property>value-for-webapp-propertye</my.buiild.webapp.property>
  </property>
</properties>

3) turn on resource filtering  in the parent pom.

Now your webapps have copies of parameterized property files, but the values
are controlled in a single place, the parent pom.  You will also have the
ability to provide developer specific property values using a profile in the
setting.xml file.

Regards,
John


-- 
View this message in context: 
http://www.nabble.com/How-to-build-multiple-webapps-that-share-resources-tf3492220s177.html#a9755696
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to