maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <ja...@sonatype.com>
Subject Re: can a plugin add dependencies to a project's dependency list
Date Tue, 12 Apr 2011 21:50:41 GMT

On Apr 12, 2011, at 5:38 PM, Justin Edelson wrote:

> On Tue, Apr 12, 2011 at 2:25 PM, Jason van Zyl <jason@sonatype.com> wrote:
>> 
>> On Apr 12, 2011, at 3:49 PM, Carsten Ziegeler wrote:
>> 
>>> We're thinking about this for our Apache Sling launchpad plugin. We
>>> basically have an additional configuration file listening dependencies
>>> (OSGi bundles) together with some meta information. We could first list
>>> all these dependencies in the dependency section of the pom and then
>>> again in the configuration, but that's a maintenance nightmare.
>>> 
>>> Or is there maybe anything else we could do?
>>> 
>> 
>> List them in the dependencies of the POM and generate the configuration with a template
(Freemarker/Velocity) where the dependency information can be injected.
> 
> We need additional metadata per dependency which can't be done in the
> POM (until 3.1 or so I hear...)
> 

Can you show a snippet of the configuration file?

> Justin
> 
>> 
>>> Regards
>>> Carsten
>>> 
>>> Justin Edelson  wrote
>>>> Is it possible to write a plugin which will add dependencies to a
>>>> project's dependency list in such a way that those plugins are used as
>>>> part of the reactor order *and* are checked for snapshots by the
>>>> release plugin?
>>>> 
>>>> Thanks,
>>>> Justin
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> Carsten Ziegeler
>>> cziegeler@apache.org
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>> 
>> 
>> Thanks,
>> 
>> Jason
>> 
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder,  Apache Maven
>> http://twitter.com/jvanzyl
>> ---------------------------------------------------------
>> 
>> {script:nopre:"/Users/jvanzyl/signature/signature.sh"}
>> 
>> 
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

{script:nopre:"/Users/jvanzyl/signature/signature.sh"}




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message