Skip to content

Commit

Permalink
[maven-release-plugin] prepare release gitlab4j-api-5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jabby committed Mar 17, 2022
1 parent c6711a1 commit b6b9ec4
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ To utilize GitLab4J™ API in your Java project, simply add the following de
```java
dependencies {
...
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.19.0'
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '5.0.0'
}
```

Expand All @@ -65,7 +65,7 @@ dependencies {
<dependency>
<groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId>
<version>4.19.0</version>
<version>5.0.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId>
<packaging>jar</packaging>
<version>4.20.0-SNAPSHOT</version>
<version>5.0.0</version>
<name>GitLab4J-API - GitLab API Java Client</name>
<description>GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.</description>
<url>https://github.com/gitlab4j/gitlab4j-api</url>
Expand Down Expand Up @@ -80,7 +80,7 @@
<url>git@github.com:gitlab4j/gitlab4j-api.git</url>
<connection>scm:git:git@github.com:gitlab4j/gitlab4j-api.git</connection>
<developerConnection>scm:git:git@github.com:gitlab4j/gitlab4j-api.git</developerConnection>
<tag>head</tag>
<tag>gitlab4j-api-5.0.0</tag>
</scm>

<build>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/gitlab4j/api/GroupApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ public Group updateGroup(Object groupIdOrPath, String name, String path, String
* @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group
* @return the created Group instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #addGroup(String, String, String, Visibility,
* @deprecated Will be removed in version 6.0, replaced by {@link #addGroup(String, String, String, Visibility,
* Boolean, Boolean, Long)}
*/
@Deprecated
Expand Down Expand Up @@ -682,7 +682,7 @@ public Group addGroup(String name, String path, String description, Boolean memb
* @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group
* @return the updated Group instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #updateGroup(Object, String, String, String,
* @deprecated Will be removed in version 6.0, replaced by {@link #updateGroup(Object, String, String, String,
* Visibility, Boolean, Boolean, Long)}
*/
@Deprecated
Expand Down Expand Up @@ -873,7 +873,7 @@ public List<Member> getAllMembers(Object groupIdOrPath) throws GitLabApiExceptio
* @return a list of group members viewable by the authenticated user, including inherited members
* through ancestor groups in the specified page range
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0
* @deprecated Will be removed in version 6.0
*/
@Deprecated
public List<Member> getAllMembers(Object groupIdOrPath, int page, int perPage) throws GitLabApiException {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/gitlab4j/api/LabelsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public List<Label> getLabels(Object projectIdOrPath) throws GitLabApiException {
* @param perPage the number of items per page
* @return a list of project's labels in the specified range
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in the next major release (5.0.0)
* @deprecated Will be removed in the next major release (6.0.0)
*/
@Deprecated
public List<Label> getLabels(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/org/gitlab4j/api/ProjectApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public Stream<Project> getProjectsStream() throws GitLabApiException {
* @param statistics include project statistics
* @return a list of projects accessible by the authenticated user and matching the supplied parameters
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #getProjects(Boolean, Visibility,
* @deprecated Will be removed in version 6.0, replaced by {@link #getProjects(Boolean, Visibility,
* Constants.ProjectOrderBy, Constants.SortOrder, String, Boolean, Boolean, Boolean, Boolean, Boolean)}
*/
@Deprecated
Expand Down Expand Up @@ -1510,7 +1510,7 @@ public List<Member> getAllMembers(Object projectIdOrPath) throws GitLabApiExcept
* @param perPage the number of Member instances per page
* @return the project members viewable by the authenticated user, including inherited members through ancestor groups
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0
* @deprecated Will be removed in version 6.0
*/
@Deprecated
public List<Member> getAllMembers(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
Expand Down Expand Up @@ -2203,7 +2203,7 @@ public ProjectHook modifyHook(ProjectHook hook) throws GitLabApiException {
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @return a list of project's issues
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssues(Object)}
* @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssues(Object)}
*/
@Deprecated
public List<Issue> getIssues(Object projectIdOrPath) throws GitLabApiException {
Expand All @@ -2220,7 +2220,7 @@ public List<Issue> getIssues(Object projectIdOrPath) throws GitLabApiException {
* @param perPage the number of issues per page
* @return the list of issues in the specified range
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssues(Object, int, int)}
* @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssues(Object, int, int)}
*/
@Deprecated
public List<Issue> getIssues(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
Expand All @@ -2237,7 +2237,7 @@ public List<Issue> getIssues(Object projectIdOrPath, int page, int perPage) thro
* @param itemsPerPage the number of issues per page
* @return the list of issues in the specified range
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssues(Object, int)}
* @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssues(Object, int)}
*/
@Deprecated
public Pager<Issue> getIssues(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException {
Expand All @@ -2252,7 +2252,7 @@ public Pager<Issue> getIssues(Object projectIdOrPath, int itemsPerPage) throws G
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @return a Stream of the project's issues
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssues(Object)}
* @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssues(Object)}
*/
@Deprecated
public Stream<Issue> getIssuesStream(Object projectIdOrPath) throws GitLabApiException {
Expand All @@ -2268,7 +2268,7 @@ public Stream<Issue> getIssuesStream(Object projectIdOrPath) throws GitLabApiExc
* @param issueId the internal ID of a project's issue
* @return the specified Issue instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssue(Object, Long)}
* @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssue(Object, Long)}
*/
@Deprecated
public Issue getIssue(Object projectIdOrPath, Long issueId) throws GitLabApiException {
Expand All @@ -2284,7 +2284,7 @@ public Issue getIssue(Object projectIdOrPath, Long issueId) throws GitLabApiExce
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @param issueId the internal ID of a project's issue
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#deleteIssue(Object, Long)}
* @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#deleteIssue(Object, Long)}
*/
@Deprecated
public void deleteIssue(Object projectIdOrPath, Long issueId) throws GitLabApiException {
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/org/gitlab4j/api/RepositoryFileApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public RepositoryFile getFile(Object projectIdOrPath, String filePath, String re
* @param ref (required) - The name of branch, tag or commit
* @return a RepositoryFile instance with the file info and file content
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #getFile(Object, String, String)}
* @deprecated Will be removed in version 6.0, replaced by {@link #getFile(Object, String, String)}
*/
@Deprecated
public RepositoryFile getFile(String filePath, Long projectId, String ref) throws GitLabApiException {
Expand Down Expand Up @@ -181,7 +181,7 @@ public RepositoryFile getFile(Object projectIdOrPath, String filePath, String re
* @param ref (required) - The name of branch, tag or commit
* @return a RepositoryFile instance with the file info
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0
* @deprecated Will be removed in version 6.0
*/
@Deprecated
protected RepositoryFile getFileV3(String filePath, Long projectId, String ref) throws GitLabApiException {
Expand Down Expand Up @@ -242,7 +242,7 @@ public RepositoryFile createFile(Object projectIdOrPath, RepositoryFile file, St
* @param commitMessage the commit message
* @return a RepositoryFile instance with the created file info
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #createFile(Object, RepositoryFile, String, String)}
* @deprecated Will be removed in version 6.0, replaced by {@link #createFile(Object, RepositoryFile, String, String)}
*/
@Deprecated
public RepositoryFile createFile(RepositoryFile file, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
Expand Down Expand Up @@ -299,7 +299,7 @@ public RepositoryFile updateFile(Object projectIdOrPath, RepositoryFile file, St
* @param commitMessage the commit message
* @return a RepositoryFile instance with the updated file info
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #updateFile(Object, RepositoryFile, String, String)}
* @deprecated Will be removed in version 6.0, replaced by {@link #updateFile(Object, RepositoryFile, String, String)}
*/
@Deprecated
public RepositoryFile updateFile(RepositoryFile file, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
Expand Down Expand Up @@ -355,7 +355,7 @@ public void deleteFile(Object projectIdOrPath, String filePath, String branchNam
* @param branchName the name of branch
* @param commitMessage the commit message
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #deleteFile(Object, String, String, String)}
* @deprecated Will be removed in version 6.0, replaced by {@link #deleteFile(Object, String, String, String)}
*/
@Deprecated
public void deleteFile(String filePath, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/gitlab4j/api/UserApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ public Stream<User> findUsersStream(String emailOrUsername) throws GitLabApiExce
* @param projectsLimit the maximum number of project
* @return created User instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #createUser(User, CharSequence, boolean)}
* @deprecated Will be removed in version 6.0, replaced by {@link #createUser(User, CharSequence, boolean)}
*/
@Deprecated
public User createUser(User user, CharSequence password, Integer projectsLimit) throws GitLabApiException {
Expand Down Expand Up @@ -624,7 +624,7 @@ public User updateUser(User user, CharSequence password) throws GitLabApiExcepti
* @param projectsLimit the maximum number of project
* @return the modified User instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0, replaced by {@link #updateUser(User, CharSequence)}
* @deprecated Will be removed in version 6.0, replaced by {@link #updateUser(User, CharSequence)}
*/
@Deprecated
public User modifyUser(User user, CharSequence password, Integer projectsLimit) throws GitLabApiException {
Expand Down

0 comments on commit b6b9ec4

Please sign in to comment.