Hi,

the reason i need it is that a plugin generates code that depends on a
framework in a specific configuration. And the knowledge witch
combination of frameworks is needed, is provided by the generator (the
plugin). I do not like to duplicate this knowledge in evey module that
uses the plugin, this is why i would like the plugin (or some other
mean) to include the dependencies in the ProjectModel.

The IDE integration should be no problem because the included
dependencies would (and must) be included in the ProjectModel and
therefore are propagated to all running plugins as if they were in the
pom directly.

mfg
Ritchie

Milos Kleint wrote:
> I discourage any dynamic tweaking of the project. Among other things
> is breaks IDE integration. appfuse' warpath plugin does this sort of
> thing somehow. I would say it's a hack however and might not work in
> future versions..
> 
> Milos
> 
> On Thu, Apr 24, 2008 at 9:33 AM, Richard van Nieuwenhoven <[EMAIL PROTECTED]> 
> wrote:
>> Hi,
>>
>>  i have a strange requirement, i need a possibility to extend the
>>  dependencies of a MavenProject in a plugin or component during build
>>  time. I tried adding dependencies in a validation phase plugin, with no
>>  success.
>>
>>  Is there a "official" way to do this? Maybe a dynamic profile? Defaults
>>  injector?
>>
>>  (The built stability is guarantied because the plugin or component will
>>  produce alway the same dependencies for a project configuration).
>>
>>  thanks for any ideas!
>>  Ritchie
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to