git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARIES-1802) ConfigProperties does not produce xml


Terrien Jean-Yves created ARIES-1802:
----------------------------------------

             Summary: ConfigProperties does not produce xml
                 Key: ARIES-1802
                 URL: https://issues.apache.org/jira/browse/ARIES-1802
             Project: Aries
          Issue Type: Test
         Environment: Java 8

{code:java}
<groupId>org.apache.aries.blueprint</groupId>
<artifactId>blueprint-maven-plugin</artifactId>
<version>1.10.0</version>
<executions>
  <execution>
    <goals>
      <goal>blueprint-generate</goal>
    </goals>
  </execution>
</executions>
<configuration>
  <scanPaths>
    <scanPath>${scanPath}</scanPath>
  </scanPaths>
</configuration>
{code}

            Reporter: Terrien Jean-Yves


I've this annotation in my class
{code:java}
@ConfigProperties(
 pid="my.system",
 update=true
 ){code}

 public void update (Map<String, String> map) throws Exception {

but only services injection is producted
{code:java}
<bean xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0";   id="environnement"   class="fr.aphp.olympe.hermes.services.environnement.impl.EnvironmentImpl"   ext:field-injection="true" init-method="activate" destroy-method="destroy">
 <property name="blueprintBundleContext" ref="bundleContext"/>
 <property name="transactionManager" ref="transactionManager"/>
</bean>{code}
I would like to reproduce
{code:java}
<bean id="environnement"
  class="fr.aphp.olympe.hermes.services.environnement.impl.EnvironmentImpl"
  init-method="activate" destroy-method="destroy">
  <cm:managed-properties update-strategy="component-managed"
    persistent-id="my.system" update-method="update" />
  <property name="bundleContext" ref="blueprintBundleContext" />
  <property name="transactionManager" ref="transactionManager" />
</bean>
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-aries-development/msg01762.html on line 132
Call Stack
#TimeMemoryFunctionLocation
10.0046368696{main}( ).../msg01762.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-aries-development/msg01762.html on line 132
Call Stack
#TimeMemoryFunctionLocation
10.0046368696{main}( ).../msg01762.html:0