Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] resource filtering in a dependency

Hello,

I'm using eclipse helios with m2eclipse 0.10 and have the following 
project structure

* parent
     * module A
     * module B


The parent pom contains my profile with all the application settings 
('development' and 'production'). The 'development' profile is active by 
default.

Module A contains the resources that need to be filtered (logging, 
database settings, etc)

Module B contains a jetty:run configuration.

Now I've created an eclipse run configuration (with workspace resolution) to start the goal 
'jetty:run' in the module B eclipse project. When I specify a profile for 
this run configuration ('production') the resources in module A don't 
get filtered again. So the 'development' profile is still the last active
profile used.

Is there a way of telling m2eclipse to filter the resources of module A 
again when starting the run configuration for module B ?

Thanks,

Ronald Spierenburg

Back to the top