Hi Parichay,
Yes I have tried. I have given build var plugin as a dependency and scope
as compile time.
While packaging using mvn package, it’s asking me do check commons-Lang 2.1
and Jenkins expecting 2.6. Can you please explain how Can I resolve this
kind of issue.

On Sat, 18 May 2019 at 9:35 PM, Parichay Barpanda <
parichay.barpa...@gmail.com> wrote:

> Hi Vignesh,
>
> I am not quite sure I understand your problem but installing your
> dependency plugins before installing your plugin should be pretty
> straightforward:
>
> 1) Inside POM mention your dependency plugins within 'dependencies' tag
>
> 2) Run 'mvn clean install' then 'mvn hpi:run', your plugin should run a
> pseudo Jenkins instance with your plugin and it's dependencies installed.
>
> Thanks,
> Parichay (baymac)
>
> On Sat 18 May, 2019, 21:16 Jeff Pearce, <jeff...@gmail.com> wrote:
>
>> I don’t quite get it. Can you describe the real world scenario you’re
>> trying to implement?
>>
>> Best,
>> Jeff
>>
>> Sent from my iPhone
>>
>> On May 18, 2019, at 8:07 AM, selva vignesh <selvavignesh...@gmail.com>
>> wrote:
>>
>> Hi Adrien,
>> Thanks for replying.. my question is if I want to install my plugin it
>> should ask me to mentioned plugin should be installed example pipeline
>> plugin should be installed first and after that only allow to install my
>> plugin.  Or else installation must be failed and showing warning message as
>> pipeline plugin install before install my plugin.
>> Hope you understand now.. If not please let me know. I will explain
>> again.
>> On Sat, 18 May 2019 at 3:17 PM, Adrien Lecharpentier <
>> adrien.lecharpent...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> all you need is to declare the plugins as dependencies of your plugin.
>>> You need to specify them in `compile` scope and not optional.
>>>
>>> However, you should only declare those plugins if you need their code
>>> for your own plugin.
>>> From your question, I'm not sure it's the case.
>>>
>>> BR,
>>> -- Adrien
>>>
>>> Le sam. 18 mai 2019 à 08:40, selva vignesh <selvavignesh...@gmail.com>
>>> a écrit :
>>>
>>>> HI,
>>>>   How to make some dependency plugin to be installed while our plugin
>>>> before installing.
>>>> What are the changes need to be done at pom.xml.
>>>> Thanks in advance
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Jenkins Developers" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to jenkinsci-dev+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jenkinsci-dev/f678a5d0-0ee5-4a76-b5f5-ed2b395bc674%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/f678a5d0-0ee5-4a76-b5f5-ed2b395bc674%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> --
>>> Adrien Lecharpentier
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jenkinsci-dev+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-dev/CAKwJSvyFrXQFEfo_mCpvzZWiKc_rUZaz28r9Hx2mRg3S%2B0ACoQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAKwJSvyFrXQFEfo_mCpvzZWiKc_rUZaz28r9Hx2mRg3S%2B0ACoQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CAOVVkp%3D9e_QYCutDYnVL3qq4SMtuia%2BGyKJPGAV57GWdumDHTA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAOVVkp%3D9e_QYCutDYnVL3qq4SMtuia%2BGyKJPGAV57GWdumDHTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/FC7C0AA5-276E-4A8A-8CAC-1D17758D682C%40gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/FC7C0AA5-276E-4A8A-8CAC-1D17758D682C%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAD0DWAP6nZQ0%3DNFTkN%3Duzqr3noNAMxLruUKrcMyQAcZiBK-ZAg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAD0DWAP6nZQ0%3DNFTkN%3Duzqr3noNAMxLruUKrcMyQAcZiBK-ZAg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAOVVkp%3DXqvtKks%3D03d2aGya_F1wbYx-kz0%2BE4Uy5Szty41-KXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to