*Environment Details*,
                Apache Maven 2.2.1
                Java version: 1.6.0_20
                Spring2

        *Generating Parent War*
        I have create a war from the common resource without mention the 
property
value.
        This war has been generated by maven-assembly command. 
        Then, i am getting the war in my target folder as
"rdpv-core-webapp-1.1.war". 
        This war will be used as parent war.

        (For example consider one of my common resource is
"applicationContext-service.xml"
        This xml file handle a property *"${current.vertical.title}"* as given
below,

                     <bean
class="com.radaptive.rdpv.admin.service.impl.AccountServiceImpl">
                                <property name="accountDAO">
                                        <ref bean="accountDAO" />
                                </property>
                                <property name="userCache">
                                        <ref bean="userCache" />
                                </property>
                                <property name="messageResource">
                                        <ref bean="logResourceForService" />
                                </property>
                                <property name="auditLogSerivce">
                                        <ref bean="auditLogSerivce"/>
                                </property>
                                <property
name="currentVertical"><value>*${current.vertical.title}*</value></property>
                        </bean>
        )       
        
        *Deploy Child Project*
        Now, I create a child project with parent war dependency as given 
below,        

                <dependency>
                        <groupId>org.radaptive.core</groupId>
                        <artifactId>rdpv-core-webapp</artifactId>
                        <version>1.1</version>
                        <type>war</type>
                </dependency>

        Also i mention the property value in this pom.xml as
*"<current.vertical.title>IDEAMED</current.vertical.title>"*

        
        *Here my complexity* is,
                When i run install command for child project, this parent war 
getting
extracted in my deploy path.
                But, Still the replacement of the property values change does 
not occur.

Thanks,
Babu K,
Ideas2it Technologies,
Mob: +91 95002 96737,
Email: [email protected]

--
View this message in context: 
http://maven.40175.n5.nabble.com/replace-parameters-when-overlaying-in-maven-tp5626856p5629092.html
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