You mean , i need to remove the below dependency from my pom.xml
<groupId>com.ning</groupId>
<artifactId>async-http-client</artifactId>
<version>1.9.40</version>
</dependency>```
and on top of that in Jenkins , I tried to use JAXB plugin , it is also showing as grey out one. if i hover my mouse on it then it is showing the depency on other plugins and the chain is going on
![image|690x119](upload://B7HWE4iNsMCLOIn1IXgCSqIMZd.png)
I don’t know your code so I can’t tell if you use the async-http-client or not. But in case you use it I would recommend to replace it with a modern http library.
Other plugins are also using jaxb plugin probably. You just need to replace the 2 direct dependencies for the jaxb libraries with a dependency to the jaxb plugin
I tried to add the dependencies related to jaxb but getting build error and all . Can we connect over google meet for 10-15 mins because i am stuck in this issue for last 10 days. It would be really appreciable if you can guide me for the same over call
I tried to add the dependency in pom.xml and jquery reference in global.jelly file as per documentation JQuery3 API | Jenkins plugin but still the jquery3 plugin is coming as greyed out.
As already stated, the jquery3 plugin is installed. In order to use it in your plugin you will need to add the following line in the jelly where you want to use jquery3 <st:adjunct includes="io.jenkins.plugins.jquery3"/>
It is not available by default.
I have 3 jelly files in the code global , config and index. So as per my understanding i added this line in global.jelly like below
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<!-- Include jQuery 3 -->
<st:adjunct includes="io.jenkins.plugins.jquery3"/>
<!--
This Jelly script is used to produce the global configuration option.
Jenkins uses a set of tag libraries to provide uniformity in forms.
To determine where this tag is defined, first check the namespace URI,
and then look under $JENKINS/views/. For example, <f:section> is defined
in $JENKINS/views/lib/form/section.jelly.
It's also often useful to just check other similar scripts to see what
tags they use. Views are always organized according to its owner class,
so it should be straightforward to find them.
-->
<!--
<f:section title="Hello World Builder">
<f:entry title="French" field="useFrench"
description="Check if we should say hello in French">
<f:checkbox />
</f:entry>
</f:section>
-->
</j:jelly>
I am able to create .hpi file while running mvn clean package command . As I got to know plugin is already installed so how can i sure that my plugin is now compatible with Jquery3 from testing perspective ?
See JQuery3 API the warning at the end. Since Jenkins uses jQuery 1.x as well make sure to use the global symbol jQuery3rather than$ when accessing jQuery 3.x.