Hi All,
I have in-house developed maven plugin(lets call it A) which uses spring IOC container and a maven project(call it B) that uses this plugin.
I want to specify particular plugin configuration in B's pom.xml, so this property will be accessed in plugin's spring context
I expect something like this, pom.xml (project B)
<plugin>
...
<configuration>
<dummyproperty>dummy_value</dummyproperty>
</configuration>
...
</plugin>
Spring_context.xml (project A - plugin)
<bean class="com.blabla.SomeClass">
<property name="someBeanProperty" value="${dummyproperty}" />
</bean>
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
I've tried various approaches with using plugin configuration, , additional property files, but placeholders in spring context not get populated with real values. Asking for your help with this
Thanks in advance