Unverified Commit b6b9ec4c authored by Gautier de Saint Martin Lacaze's avatar Gautier de Saint Martin Lacaze
Browse files

[maven-release-plugin] prepare release gitlab4j-api-5.0.0

parent c6711a10
...@@ -54,7 +54,7 @@ To utilize GitLab4J™ API in your Java project, simply add the following de ...@@ -54,7 +54,7 @@ To utilize GitLab4J™ API in your Java project, simply add the following de
```java ```java
dependencies { dependencies {
... ...
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.19.0' compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '5.0.0'
} }
``` ```
...@@ -65,7 +65,7 @@ dependencies { ...@@ -65,7 +65,7 @@ dependencies {
<dependency> <dependency>
<groupId>org.gitlab4j</groupId> <groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId> <artifactId>gitlab4j-api</artifactId>
<version>4.19.0</version> <version>5.0.0</version>
</dependency> </dependency>
``` ```
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<groupId>org.gitlab4j</groupId> <groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId> <artifactId>gitlab4j-api</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>4.20.0-SNAPSHOT</version> <version>5.0.0</version>
<name>GitLab4J-API - GitLab API Java Client</name> <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> <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> <url>https://github.com/gitlab4j/gitlab4j-api</url>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<url>git@github.com:gitlab4j/gitlab4j-api.git</url> <url>git@github.com:gitlab4j/gitlab4j-api.git</url>
<connection>scm:git:git@github.com:gitlab4j/gitlab4j-api.git</connection> <connection>scm:git:git@github.com:gitlab4j/gitlab4j-api.git</connection>
<developerConnection>scm:git:git@github.com:gitlab4j/gitlab4j-api.git</developerConnection> <developerConnection>scm:git:git@github.com:gitlab4j/gitlab4j-api.git</developerConnection>
<tag>head</tag> <tag>gitlab4j-api-5.0.0</tag>
</scm> </scm>
<build> <build>
......
...@@ -641,7 +641,7 @@ public class GroupApi extends AbstractApi { ...@@ -641,7 +641,7 @@ public class GroupApi extends AbstractApi {
* @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group * @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group
* @return the created Group instance * @return the created Group instance
* @throws GitLabApiException if any exception occurs * @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)} * Boolean, Boolean, Long)}
*/ */
@Deprecated @Deprecated
...@@ -682,7 +682,7 @@ public class GroupApi extends AbstractApi { ...@@ -682,7 +682,7 @@ public class GroupApi extends AbstractApi {
* @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group * @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group
* @return the updated Group instance * @return the updated Group instance
* @throws GitLabApiException if any exception occurs * @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)} * Visibility, Boolean, Boolean, Long)}
*/ */
@Deprecated @Deprecated
...@@ -873,7 +873,7 @@ public class GroupApi extends AbstractApi { ...@@ -873,7 +873,7 @@ public class GroupApi extends AbstractApi {
* @return a list of group members viewable by the authenticated user, including inherited members * @return a list of group members viewable by the authenticated user, including inherited members
* through ancestor groups in the specified page range * through ancestor groups in the specified page range
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0 * @deprecated Will be removed in version 6.0
*/ */
@Deprecated @Deprecated
public List<Member> getAllMembers(Object groupIdOrPath, int page, int perPage) throws GitLabApiException { public List<Member> getAllMembers(Object groupIdOrPath, int page, int perPage) throws GitLabApiException {
......
...@@ -355,7 +355,7 @@ public class LabelsApi extends AbstractApi { ...@@ -355,7 +355,7 @@ public class LabelsApi extends AbstractApi {
* @param perPage the number of items per page * @param perPage the number of items per page
* @return a list of project's labels in the specified range * @return a list of project's labels in the specified range
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public List<Label> getLabels(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { public List<Label> getLabels(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
......
...@@ -196,7 +196,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -196,7 +196,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param statistics include project statistics * @param statistics include project statistics
* @return a list of projects accessible by the authenticated user and matching the supplied parameters * @return a list of projects accessible by the authenticated user and matching the supplied parameters
* @throws GitLabApiException if any exception occurs * @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)} * Constants.ProjectOrderBy, Constants.SortOrder, String, Boolean, Boolean, Boolean, Boolean, Boolean)}
*/ */
@Deprecated @Deprecated
...@@ -1510,7 +1510,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -1510,7 +1510,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param perPage the number of Member instances per page * @param perPage the number of Member instances per page
* @return the project members viewable by the authenticated user, including inherited members through ancestor groups * @return the project members viewable by the authenticated user, including inherited members through ancestor groups
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0 * @deprecated Will be removed in version 6.0
*/ */
@Deprecated @Deprecated
public List<Member> getAllMembers(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { public List<Member> getAllMembers(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
...@@ -2203,7 +2203,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -2203,7 +2203,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required * @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @return a list of project's issues * @return a list of project's issues
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public List<Issue> getIssues(Object projectIdOrPath) throws GitLabApiException { public List<Issue> getIssues(Object projectIdOrPath) throws GitLabApiException {
...@@ -2220,7 +2220,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -2220,7 +2220,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param perPage the number of issues per page * @param perPage the number of issues per page
* @return the list of issues in the specified range * @return the list of issues in the specified range
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public List<Issue> getIssues(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { public List<Issue> getIssues(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
...@@ -2237,7 +2237,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -2237,7 +2237,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param itemsPerPage the number of issues per page * @param itemsPerPage the number of issues per page
* @return the list of issues in the specified range * @return the list of issues in the specified range
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public Pager<Issue> getIssues(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException { public Pager<Issue> getIssues(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException {
...@@ -2252,7 +2252,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -2252,7 +2252,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required * @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 * @return a Stream of the project's issues
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public Stream<Issue> getIssuesStream(Object projectIdOrPath) throws GitLabApiException { public Stream<Issue> getIssuesStream(Object projectIdOrPath) throws GitLabApiException {
...@@ -2268,7 +2268,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -2268,7 +2268,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param issueId the internal ID of a project's issue * @param issueId the internal ID of a project's issue
* @return the specified Issue instance * @return the specified Issue instance
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public Issue getIssue(Object projectIdOrPath, Long issueId) throws GitLabApiException { public Issue getIssue(Object projectIdOrPath, Long issueId) throws GitLabApiException {
...@@ -2284,7 +2284,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -2284,7 +2284,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required * @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 * @param issueId the internal ID of a project's issue
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public void deleteIssue(Object projectIdOrPath, Long issueId) throws GitLabApiException { public void deleteIssue(Object projectIdOrPath, Long issueId) throws GitLabApiException {
......
...@@ -133,7 +133,7 @@ public class RepositoryFileApi extends AbstractApi { ...@@ -133,7 +133,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param ref (required) - The name of branch, tag or commit * @param ref (required) - The name of branch, tag or commit
* @return a RepositoryFile instance with the file info and file content * @return a RepositoryFile instance with the file info and file content
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public RepositoryFile getFile(String filePath, Long projectId, String ref) throws GitLabApiException { public RepositoryFile getFile(String filePath, Long projectId, String ref) throws GitLabApiException {
...@@ -181,7 +181,7 @@ public class RepositoryFileApi extends AbstractApi { ...@@ -181,7 +181,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param ref (required) - The name of branch, tag or commit * @param ref (required) - The name of branch, tag or commit
* @return a RepositoryFile instance with the file info * @return a RepositoryFile instance with the file info
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version 5.0 * @deprecated Will be removed in version 6.0
*/ */
@Deprecated @Deprecated
protected RepositoryFile getFileV3(String filePath, Long projectId, String ref) throws GitLabApiException { protected RepositoryFile getFileV3(String filePath, Long projectId, String ref) throws GitLabApiException {
...@@ -242,7 +242,7 @@ public class RepositoryFileApi extends AbstractApi { ...@@ -242,7 +242,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param commitMessage the commit message * @param commitMessage the commit message
* @return a RepositoryFile instance with the created file info * @return a RepositoryFile instance with the created file info
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public RepositoryFile createFile(RepositoryFile file, Long projectId, String branchName, String commitMessage) throws GitLabApiException { public RepositoryFile createFile(RepositoryFile file, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
...@@ -299,7 +299,7 @@ public class RepositoryFileApi extends AbstractApi { ...@@ -299,7 +299,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param commitMessage the commit message * @param commitMessage the commit message
* @return a RepositoryFile instance with the updated file info * @return a RepositoryFile instance with the updated file info
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public RepositoryFile updateFile(RepositoryFile file, Long projectId, String branchName, String commitMessage) throws GitLabApiException { public RepositoryFile updateFile(RepositoryFile file, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
...@@ -355,7 +355,7 @@ public class RepositoryFileApi extends AbstractApi { ...@@ -355,7 +355,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param branchName the name of branch * @param branchName the name of branch
* @param commitMessage the commit message * @param commitMessage the commit message
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public void deleteFile(String filePath, Long projectId, String branchName, String commitMessage) throws GitLabApiException { public void deleteFile(String filePath, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
......
...@@ -511,7 +511,7 @@ public class UserApi extends AbstractApi { ...@@ -511,7 +511,7 @@ public class UserApi extends AbstractApi {
* @param projectsLimit the maximum number of project * @param projectsLimit the maximum number of project
* @return created User instance * @return created User instance
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public User createUser(User user, CharSequence password, Integer projectsLimit) throws GitLabApiException { public User createUser(User user, CharSequence password, Integer projectsLimit) throws GitLabApiException {
...@@ -624,7 +624,7 @@ public class UserApi extends AbstractApi { ...@@ -624,7 +624,7 @@ public class UserApi extends AbstractApi {
* @param projectsLimit the maximum number of project * @param projectsLimit the maximum number of project
* @return the modified User instance * @return the modified User instance
* @throws GitLabApiException if any exception occurs * @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 @Deprecated
public User modifyUser(User user, CharSequence password, Integer projectsLimit) throws GitLabApiException { public User modifyUser(User user, CharSequence password, Integer projectsLimit) throws GitLabApiException {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment