The following is the pom of my plugin.

<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
    <parent>
        <artifactId>blueocean-parent</artifactId>
        <groupId>io.jenkins.blueocean</groupId>
        <version>1.2.0-beta-2-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <name>Gitlab Pipeline for Blue Ocean</name>
    <artifactId>blueocean-gitlab-pipeline</artifactId>
    <packaging>hpi</packaging>

    <url>http://maven.apache.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>


    <dependencies>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>blueocean-pipeline-api-impl</artifactId>
        </dependency>

        <dependency>
            <groupId>org.gitlab4j</groupId>
            <artifactId>gitlab4j-api</artifactId>
            <version>4.4.1</version>
        </dependency>
        <dependency>
            <groupId>org.jenkins-ci.plugins</groupId>
            <artifactId>pubsub-light</artifactId>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>blueocean-git-pipeline</artifactId>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>blueocean-github-pipeline</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jenkins-ci.plugins</groupId>
            <artifactId>gitlab-plugin</artifactId>
        </dependency>
    </dependencies>
</project>


在 2017年7月22日星期六 UTC+8下午8:16:24,Daniel Beck写道:
>
>
> > On 22. Jul 2017, at 13:39, CrazyPotato <[email protected] <javascript:>> 
> wrote: 
> > 
> > I  have searched  the plugins installed by hpi:run ,but did not find 
>  JerseyClientBuilder 
> > 
> > 在 2017年7月22日星期六 UTC+8上午1:57:04,Keith Zantow写道: 
> > AFAIK JerseyClientBuilder is not a BlueOcean dependency, maybe you have 
> some other plugin(s) misbehaving? 
> > 
> > On Fri, Jul 21, 2017 at 8:12 AM, 陈晓晖 <[email protected]> wrote: 
> > Hi! 
> > 
> >  I am developing a plugin for jenkins/blue ocean  base on 
> jenkinsci/blueocean-plugin.  I introduce the  dependency 
>  gmessner/gitlab4j-api which contain 
> org.glassfish.jersey.core:jersey-client:jar:2.25.1. 
> > When I debug my code , the following code throw an exception: 
> > 
> > GitLabApi gitLabApi = new GitLabApi(GitLabApi.ApiVersion.V3, url, 
> accessToken); 
> > try{ 
> >     gitLabApi.getGroupApi().getGroups(); 
> >     ..... 
> > } 
> > 
>
> Could you show your code? Note that your plugin must bundle its transitive 
> library dependencies as needed. _Some_ plugins exist that provide a library 
> shared among other plugins, but those are the exception.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/039ad6f2-7933-4a6c-ab4e-317298fc5a8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to