4 Replies Latest reply on Nov 1, 2013 3:25 AM by henrique.viecili

    How to update configuration from maven after feature is installed?

    henrique.viecili

      Hi,

       

      I am deploying this feature with configfile:

      <feature name="my-feature">
       <configfile finalname="/etc/com.my.feature.cfg" override="true">mvn:com.feature/my-feature/${project.version}/cfg/com.my.feature</configfile>
       <bundle>mvn:com.feature/my-feature/${project.version}</bundle>
      </feature>
      
      

       

      and, once the feature is installed, how should I subsequently override the whole configuration with a new set of properties?

       

      I've tried to execute osgi:update and also to re-install the feature (feature:install), but the configuration remains the same.