Have you looked at the new import scope feature?

-----Original Message-----
From: Richard van Nieuwenhoven [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 24, 2008 6:47 AM
To: Maven Developers List
Subject: Re: a way to extend the dependencies at build time

Hi,

That is why i ask for an "official" solution, a plugin will probably not
work. But is there an other? like a custom "dependence resolution
component" for this project. Or a global custom "dependence resolution
component". Or a way to dynamically create a global or local profile.

Or ...... any ideas?

thanks for the help,
Ritchie

Gilles Scokart wrote:
> On 24/04/2008, Richard van Nieuwenhoven <[EMAIL PROTECTED]> wrote:
>> 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
>>
> Only if the plugin is executed.  IDE (or other tools like Ivy for
> instance) don't run the plugins to use the dependency informations.
> 
> Also think to what you will publish to a repository.  The projects
> that depends on the project using the plugin will not execute your
> plugin neither.
> 


---------------------------------------------------------------------
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