File tree Expand file tree Collapse file tree 4 files changed +33
-28
lines changed
Filter options
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 4 files changed +33
-28
lines changed
Original file line number Diff line number Diff line change 80
80
</plugins >
81
81
</pluginManagement >
82
82
<plugins >
83
-
84
- <plugin >
85
- <groupId >org.apache.maven.plugins</groupId >
86
- <artifactId >maven-gpg-plugin</artifactId >
87
- <version >1.6</version >
88
- <executions >
89
- <execution >
90
- <id >sign-artifacts</id >
91
- <phase >verify</phase >
92
- <goals >
93
- <goal >sign</goal >
94
- </goals >
95
- </execution >
96
- </executions >
97
- </plugin >
98
83
<plugin >
99
84
<groupId >org.apache.maven.plugins</groupId >
100
85
<artifactId >maven-site-plugin</artifactId >
123
108
</dependency >
124
109
</dependencies >
125
110
</plugin >
126
- <plugin >
127
- <groupId >org.apache.maven.plugins</groupId >
128
- <artifactId >maven-source-plugin</artifactId >
129
- <version >3.1.0</version >
130
- </plugin >
131
-
132
111
<plugin >
133
112
<artifactId >maven-compiler-plugin</artifactId >
134
113
<version >3.8.1</version >
283
262
<dependency >
284
263
<groupId >org.eclipse.jgit</groupId >
285
264
<artifactId >org.eclipse.jgit</artifactId >
286
- <version >5.4.3.201909031940 -r</version >
265
+ <version >5.5.1.201910021850 -r</version >
287
266
<scope >test</scope >
288
267
</dependency >
289
268
<dependency >
451
430
</plugins >
452
431
</build >
453
432
</profile >
433
+ <profile >
434
+ <id >release</id >
435
+ <build >
436
+ <plugins >
437
+ <plugin >
438
+ <groupId >org.apache.maven.plugins</groupId >
439
+ <artifactId >maven-gpg-plugin</artifactId >
440
+ <version >1.6</version >
441
+ <executions >
442
+ <execution >
443
+ <id >sign-artifacts</id >
444
+ <phase >verify</phase >
445
+ <goals >
446
+ <goal >sign</goal >
447
+ </goals >
448
+ </execution >
449
+ </executions >
450
+ </plugin >
451
+ <plugin >
452
+ <groupId >org.apache.maven.plugins</groupId >
453
+ <artifactId >maven-source-plugin</artifactId >
454
+ <version >3.1.0</version >
455
+ </plugin >
456
+ </plugins >
457
+ </build >
458
+ </profile >
454
459
</profiles >
455
460
<reporting >
456
461
<plugins >
Original file line number Diff line number Diff line change @@ -866,7 +866,7 @@ public GHHook getHook(int id) throws IOException {
866
866
867
867
/**
868
868
* Gets a comparison between 2 points in the repository. This would be similar
869
- * to calling <tt >git log id1...id2</tt > against a local repository.
869
+ * to calling <code >git log id1...id2</code > against a local repository.
870
870
* @param id1 an identifier for the first point to compare from, this can be a sha1 ID (for a commit, tag etc) or a direct tag name
871
871
* @param id2 an identifier for the second point to compare to. Can be the same as the first point.
872
872
* @return the comparison output
@@ -928,7 +928,7 @@ public PagedIterable<GHRef> listRefs() throws IOException {
928
928
929
929
/**
930
930
* Retrieves all refs of the given type for the current GitHub repository.
931
- * @param refType the type of reg to search for e.g. <tt >tags</tt > or <tt >commits</tt >
931
+ * @param refType the type of reg to search for e.g. <code >tags</code > or <code >commits</code >
932
932
* @return an array of all refs matching the request type
933
933
* @throws IOException on failure communicating with GitHub, potentially due to an invalid ref type being requested
934
934
*/
@@ -939,7 +939,7 @@ public GHRef[] getRefs(String refType) throws IOException {
939
939
/**
940
940
* Retrieves all refs of the given type for the current GitHub repository.
941
941
*
942
- * @param refType the type of reg to search for e.g. <tt >tags</tt > or <tt >commits</tt >
942
+ * @param refType the type of reg to search for e.g. <code >tags</code > or <code >commits</code >
943
943
* @return paged iterable of all refs of the specified type
944
944
* @throws IOException on failure communicating with GitHub, potentially due to an invalid ref type being requested
945
945
*/
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ public class GitHub {
115
115
*
116
116
* @param apiUrl
117
117
* The URL of GitHub (or GitHub enterprise) API endpoint, such as "https://api.github.com" or
118
- * "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <tt >/api/v3</tt > in the URL.
118
+ * "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <code >/api/v3</code > in the URL.
119
119
* For historical reasons, this parameter still accepts the bare domain name, but that's considered deprecated.
120
120
* Password is also considered deprecated as it is no longer required for api usage.
121
121
* @param login
@@ -180,7 +180,7 @@ public static GitHub connectToEnterprise(String apiUrl, String oauthAccessToken)
180
180
*
181
181
* @param apiUrl
182
182
* The URL of GitHub (or GitHub Enterprise) API endpoint, such as "https://api.github.com" or
183
- * "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <tt >/api/v3</tt > in the URL.
183
+ * "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <code >/api/v3</code > in the URL.
184
184
* For historical reasons, this parameter still accepts the bare domain name, but that's considered deprecated.
185
185
*/
186
186
public static GitHub connectToEnterpriseWithOAuth (String apiUrl , String login , String oauthAccessToken ) throws IOException {
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ public static GitHubBuilder fromProperties(Properties props) {
160
160
/**
161
161
* @param endpoint
162
162
* The URL of GitHub (or GitHub enterprise) API endpoint, such as "https://api.github.com" or
163
- * "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <tt >/api/v3</tt > in the URL.
163
+ * "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <code >/api/v3</code > in the URL.
164
164
* For historical reasons, this parameter still accepts the bare domain name, but that's considered deprecated.
165
165
*/
166
166
public GitHubBuilder withEndpoint (String endpoint ) {
You can’t perform that action at this time.
0 commit comments