[ 
https://issues.apache.org/jira/browse/FELIX-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13701673#comment-13701673
 ] 

Andreas Zschorn commented on FELIX-3392:
----------------------------------------

I found the error and a solution, but i am not sure if this is to much in one 
step. Reson is that instead of the PluginParameterExpressionEvaluator a default 
expressionEvaluator is used. I created a patch for it which used the correct 
expressionevaluator  and it works. Two points are problematic, The ancient 
dependency to maven 2.0.7 has to be updated to 3.0.x. I used 3.0.5.  In the 
case the deprecated AllBundlePlugin had to be removed, I could not make it 
work, and it did not seem to make sense to get it working if it is deprecated 
anyways. The other problem is that i had to remove the (internal) 
ResolutionListenerForDepMgmt Listener from  the 
DependencyTreeResolutionListener. To be honest, i did not found any 
implementation to it, so i can't tell who is using it. Any feedback would be 
appreciated.
 
                
> Generated Manifest ignores properties set by other plugins
> ----------------------------------------------------------
>
>                 Key: FELIX-3392
>                 URL: https://issues.apache.org/jira/browse/FELIX-3392
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.7
>            Reporter: Paul Gier
>             Fix For: maven-bundle-plugin-future
>
>         Attachments: patchPropertyResolution.patch, test-bundle-properties.zip
>
>
> My usecase is that I want to generate a build timestamp for my build using 
> the buildnumber-maven-plugin, then add this timestamp to my jar manifest.  
> Using the maven jar plugin, this works as expected and the property is set.  
> Using the bundle plugin, the property is not resolved and I get something 
> like "${timestamp}" in my manifest.  It appears that the bundle plugin does 
> not resolve properties that were set earlier in the build.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to