Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Problem with Resource Filtering and eclipse-feature Projects


> The case is that I've setup maven-resources-plugin in the root POM (both
> PluginManagement and Plugins). I've defined common resources directories
> and set filtering to true.
> 
> When Tycho process eclipse-plugin projects maven-resources-plugin is
> called and executed properly. I mean, the filtering files (in that case,
> bundle.properties) are properly updated and copied to target jar.
> 
> But when tycho process a eclipse-feature project, the resource plugin is
> not being called and the feature.properties is not being updated.

You don't need to rely on the packaging type to execute a goal for you. You can just enforce the execution through and <execution> element (see Maven documentation).

> Btw, another thing that I've noted is that the feature.properties is in
> build.properties and it is not being copied to the feature jar.

This could be a bug. Please open a bug report with an example project reproducing the problem.
 
> any suggestion ?
> 
> cheers
> 
> Cristiano


Regards
Tobias


Back to the top