You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Pierre De Rop <pi...@alcatel-lucent.fr> on 2009/02/05 09:02:37 UTC
Can I use SCR Plugin without maven ?
Hi all,
For some of our service components, we are using the SCR for dependency
management, but we are not all using maven ...
Now, I am wondering if we are definitely forced to use maven, when using
the scr plugin, or if there is any ant task, or even a standalone script
which we could use without maven.
For instance: something like "java -jar scrplugin.jar MyBundle.jar"
which would generate serviceComponent.xml ...
Best Regards;
/pierre
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Can I use SCR Plugin without maven ?
Posted by Pierre De Rop <pi...@alcatel-lucent.fr>.
ok, Carsten, thanks for the info.
/pierre
Carsten Ziegeler wrote:
> Pierre De Rop wrote:
>
>> Hi all,
>>
>> For some of our service components, we are using the SCR for dependency
>> management, but we are not all using maven ...
>> Now, I am wondering if we are definitely forced to use maven, when using
>> the scr plugin, or if there is any ant task, or even a standalone script
>> which we could use without maven.
>> For instance: something like "java -jar scrplugin.jar MyBundle.jar"
>> which would generate serviceComponent.xml ...
>>
>>
> Hi,
>
> I don't think that such a thing exists. The plugin requires a lot of the
> maven infrastructure to run. So I fear if you want to use the plugin
> you have to use maven for this one.
> It's of course possible to refactor the scr plugin to make it usable
> outside of maven and maybe add an ant task. That's another choice you
> have, but this one requires some work.
>
> HTH
> Carsten
>
>
Re: Can I use SCR Plugin without maven ?
Posted by Carsten Ziegeler <cz...@apache.org>.
Pierre De Rop wrote:
> Hi all,
>
> For some of our service components, we are using the SCR for dependency
> management, but we are not all using maven ...
> Now, I am wondering if we are definitely forced to use maven, when using
> the scr plugin, or if there is any ant task, or even a standalone script
> which we could use without maven.
> For instance: something like "java -jar scrplugin.jar MyBundle.jar"
> which would generate serviceComponent.xml ...
>
Hi,
I don't think that such a thing exists. The plugin requires a lot of the
maven infrastructure to run. So I fear if you want to use the plugin
you have to use maven for this one.
It's of course possible to refactor the scr plugin to make it usable
outside of maven and maybe add an ant task. That's another choice you
have, but this one requires some work.
HTH
Carsten
--
Carsten Ziegeler
cziegeler@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org