Skip to content

Commit 0fa5c9c

Browse files
committed
Update gitlab-api dependency
1 parent 972a634 commit 0fa5c9c

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
<id>repo.jenkins-ci.org</id>
5656
<url>https://repo.jenkins-ci.org/public/</url>
5757
</repository>
58+
<repository>
59+
<id>incrementals</id>
60+
<url>https://repo.jenkins-ci.org/incrementals/</url>
61+
</repository>
5862
</repositories>
5963
<pluginRepositories>
6064
<pluginRepository>
@@ -89,6 +93,7 @@
8993
<dependency>
9094
<groupId>io.jenkins.plugins</groupId>
9195
<artifactId>gitlab-api</artifactId>
96+
<version>6.1.0-106.v92a_3834b_fe7e</version>
9297
</dependency>
9398
<dependency>
9499
<groupId>org.jenkins-ci.plugins</groupId>
@@ -276,6 +281,14 @@
276281
</execution>
277282
</executions>
278283
</plugin>
284+
<plugin>
285+
<groupId>org.apache.maven.plugins</groupId>
286+
<artifactId>maven-compiler-plugin</artifactId>
287+
<configuration>
288+
<source>8</source>
289+
<target>8</target>
290+
</configuration>
291+
</plugin>
279292
</plugins>
280293
</build>
281294
</project>

src/main/java/org/jenkinsci/plugins/GitLabAuthenticationToken.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ of this software and associated documentation files (the "Software"), to deal
4343
import jenkins.model.Jenkins;
4444
import org.apache.commons.collections.CollectionUtils;
4545
import org.apache.commons.lang.StringUtils;
46-
import org.gitlab4j.api.Constants.TokenType;
4746
import org.gitlab4j.api.GitLabApi;
4847
import org.gitlab4j.api.GitLabApiException;
4948
import org.gitlab4j.api.models.Group;
5049
import org.gitlab4j.api.models.Project;
5150
import org.gitlab4j.api.models.User;
51+
import org.gitlab4j.models.Constants.TokenType;
5252
import org.springframework.security.authentication.AbstractAuthenticationToken;
5353
import org.springframework.security.core.GrantedAuthority;
5454
import org.springframework.security.core.authority.SimpleGrantedAuthority;

src/main/java/org/jenkinsci/plugins/GitLabSecurityRealm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
import org.apache.http.impl.client.HttpClients;
7373
import org.apache.http.message.BasicNameValuePair;
7474
import org.apache.http.util.EntityUtils;
75-
import org.gitlab4j.api.Constants.TokenType;
7675
import org.gitlab4j.api.GitLabApiException;
7776
import org.gitlab4j.api.models.Group;
77+
import org.gitlab4j.models.Constants.TokenType;
7878
import org.jfree.util.Log;
7979
import org.kohsuke.stapler.DataBoundConstructor;
8080
import org.kohsuke.stapler.Header;

0 commit comments

Comments
 (0)