|
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 | <groupId>org.kohsuke</groupId> |
4 | 4 | <artifactId>github-api</artifactId> |
5 | | - <version>1.119-SNAPSHOT</version> |
| 5 | + <version>1.123-SNAPSHOT</version> |
6 | 6 | <name>GitHub API for Java</name> |
7 | 7 | <url>https://github-api.kohsuke.org/</url> |
8 | 8 | <description>GitHub API for Java</description> |
|
33 | 33 |
|
34 | 34 | <properties> |
35 | 35 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
36 | | - <spotbugs-maven-plugin.version>4.1.4</spotbugs-maven-plugin.version> |
| 36 | + <spotbugs-maven-plugin.version>4.2.0</spotbugs-maven-plugin.version> |
37 | 37 | <spotbugs.version>4.1.3</spotbugs.version> |
38 | 38 | <spotbugs-maven-plugin.failOnError>true</spotbugs-maven-plugin.failOnError> |
39 | 39 | <hamcrest.version>2.2</hamcrest.version> |
40 | 40 | <okhttp3.version>4.4.1</okhttp3.version> |
41 | 41 | <okio.version>2.5.0</okio.version> |
42 | 42 | <spotless-maven-plugin.goal>apply</spotless-maven-plugin.goal> |
43 | 43 | <!-- Using this as the minimum bar for code coverage. Adding methods without covering them will fail this. --> |
44 | | - <jacoco.coverage.target.bundle.method>0.60</jacoco.coverage.target.bundle.method> |
45 | | - <jacoco.coverage.target.class.method>0.25</jacoco.coverage.target.class.method> |
| 44 | + <jacoco.coverage.target.bundle.method>0.70</jacoco.coverage.target.bundle.method> |
| 45 | + <jacoco.coverage.target.class.method>0.50</jacoco.coverage.target.class.method> |
46 | 46 | <!-- For non-ci builds we'd like the build to still complete if jacoco metrics aren't met. --> |
47 | 47 | <jacoco.haltOnFailure>false</jacoco.haltOnFailure> |
| 48 | + <jjwt.suite.version>0.11.2</jjwt.suite.version> |
48 | 49 | </properties> |
49 | 50 |
|
50 | 51 | <build> |
|
152 | 153 | <!-- Sample only --> |
153 | 154 | <exclude>org.kohsuke.github.example.*</exclude> |
154 | 155 |
|
155 | | - <!-- No methods --> |
156 | | - <exclude>org.kohsuke.github.Previews</exclude> |
157 | 156 |
|
158 | 157 | <!-- Deprecated --> |
159 | 158 | <exclude>org.kohsuke.github.extras.OkHttp3Connector</exclude> |
160 | 159 | <exclude>org.kohsuke.github.EnforcementLevel</exclude> |
161 | 160 | <exclude>org.kohsuke.github.GHPerson.1</exclude> |
162 | | - |
163 | | - <!-- These fail coverage on windows because tests are disabled --> |
164 | | - <exclude>org.kohsuke.github.GHAsset</exclude> |
165 | | - <exclude>org.kohsuke.github.GHReleaseBuilder</exclude> |
166 | | - <exclude>org.kohsuke.github.GHRelease</exclude> |
| 161 | + <!-- TODO: Some coverage, but more needed --> |
| 162 | + <exclude>org.kohsuke.github.GHPullRequestReviewBuilder.DraftReviewComment</exclude> |
| 163 | + <exclude>org.kohsuke.github.GHIssue.PullRequest</exclude> |
| 164 | + <exclude>org.kohsuke.github.GHCommitSearchBuilder</exclude> |
| 165 | + <exclude>org.kohsuke.github.GHRepositorySearchBuilder</exclude> |
| 166 | + <exclude>org.kohsuke.github.GHUserSearchBuilder</exclude> |
167 | 167 |
|
168 | 168 | <!-- TODO: These still need test coverage --> |
169 | 169 | <exclude>org.kohsuke.github.GHBranchProtection.RequiredSignatures</exclude> |
170 | 170 | <exclude>org.kohsuke.github.GHBranchProtectionBuilder.Restrictions</exclude> |
171 | 171 | <exclude>org.kohsuke.github.GHBranchProtection.Restrictions</exclude> |
172 | 172 | <exclude>org.kohsuke.github.GHCommentAuthorAssociation</exclude> |
173 | | - <exclude>org.kohsuke.github.GHCommitBuilder.UserInfo</exclude> |
174 | | - <exclude>org.kohsuke.github.GHCommitState</exclude> |
175 | 173 | <exclude>org.kohsuke.github.GHCompare.Commit</exclude> |
176 | 174 | <exclude>org.kohsuke.github.GHCompare.InnerCommit</exclude> |
177 | | - <exclude>org.kohsuke.github.GHCompare.Status</exclude> |
178 | 175 | <exclude>org.kohsuke.github.GHCompare.Tree</exclude> |
179 | 176 | <exclude>org.kohsuke.github.GHCompare.User</exclude> |
180 | 177 | <exclude>org.kohsuke.github.GHCompare</exclude> |
181 | 178 | <exclude>org.kohsuke.github.GHDeployKey</exclude> |
182 | | - <exclude>org.kohsuke.github.GHDeploymentStatusBuilder</exclude> |
183 | | - <exclude>org.kohsuke.github.GHDirection</exclude> |
184 | 179 | <exclude>org.kohsuke.github.GHEmail</exclude> |
185 | | - <exclude>org.kohsuke.github.GHEventPayload.Ping</exclude> |
186 | | - <exclude>org.kohsuke.github.GHEventPayload.Release</exclude> |
187 | | - <exclude>org.kohsuke.github.GHException</exclude> |
188 | | - <exclude>org.kohsuke.github.GHHook</exclude> |
189 | | - <exclude>org.kohsuke.github.GHHooks.OrgContext</exclude> |
190 | 180 | <exclude>org.kohsuke.github.GHInvitation</exclude> |
191 | | - <exclude>org.kohsuke.github.GHMilestoneState</exclude> |
192 | | - <exclude>org.kohsuke.github.GHOrgHook</exclude> |
193 | | - <exclude>org.kohsuke.github.GHProject.ProjectStateFilter</exclude> |
194 | 181 | <exclude>org.kohsuke.github.GHPullRequestCommitDetail.Authorship</exclude> |
195 | 182 | <exclude>org.kohsuke.github.GHPullRequestCommitDetail.Commit</exclude> |
196 | 183 | <exclude>org.kohsuke.github.GHPullRequestCommitDetail.CommitPointer</exclude> |
197 | 184 | <exclude>org.kohsuke.github.GHPullRequestCommitDetail.Tree</exclude> |
198 | 185 | <exclude>org.kohsuke.github.GHPullRequestCommitDetail</exclude> |
199 | 186 | <exclude>org.kohsuke.github.GHPullRequestFileDetail</exclude> |
200 | | - <exclude>org.kohsuke.github.GHPullRequestQueryBuilder.Sort</exclude> |
201 | 187 | <exclude>org.kohsuke.github.GHReleaseUpdater</exclude> |
202 | | - <exclude>org.kohsuke.github.GHRepository.ForkSort</exclude> |
203 | 188 | <exclude>org.kohsuke.github.GHRequestedAction</exclude> |
204 | | - <exclude>org.kohsuke.github.GHStargazer</exclude> |
205 | | - <exclude>org.kohsuke.github.GHTagObject</exclude> |
206 | | - <exclude>org.kohsuke.github.GHTeam.Role</exclude> |
207 | | - <exclude>org.kohsuke.github.GHUserSearchBuilder.Sort</exclude> |
208 | 189 | <exclude>org.kohsuke.github.GHVerifiedKey</exclude> |
209 | 190 | </excludes> |
210 | 191 | </rule> |
|
344 | 325 | <plugin> |
345 | 326 | <groupId>com.diffplug.spotless</groupId> |
346 | 327 | <artifactId>spotless-maven-plugin</artifactId> |
347 | | - <version>2.6.1</version> |
| 328 | + <version>2.7.0</version> |
348 | 329 | <executions> |
349 | 330 | <execution> |
350 | 331 | <id>spotless-check</id> |
|
409 | 390 | <dependency> |
410 | 391 | <groupId>com.tngtech.archunit</groupId> |
411 | 392 | <artifactId>archunit</artifactId> |
412 | | - <version>0.15.0</version> |
| 393 | + <version>0.16.0</version> |
413 | 394 | <scope>test</scope> |
414 | 395 | </dependency> |
415 | 396 | <dependency> |
|
489 | 470 | <dependency> |
490 | 471 | <groupId>io.jsonwebtoken</groupId> |
491 | 472 | <artifactId>jjwt-api</artifactId> |
492 | | - <version>0.11.2</version> |
493 | | - <scope>test</scope> |
| 473 | + <version>${jjwt.suite.version}</version> |
| 474 | + <optional>true</optional> |
494 | 475 | </dependency> |
495 | 476 | <dependency> |
496 | 477 | <groupId>io.jsonwebtoken</groupId> |
497 | 478 | <artifactId>jjwt-impl</artifactId> |
498 | | - <version>0.11.2</version> |
499 | | - <scope>test</scope> |
| 479 | + <version>${jjwt.suite.version}</version> |
| 480 | + <optional>true</optional> |
500 | 481 | </dependency> |
501 | 482 | <dependency> |
502 | 483 | <groupId>io.jsonwebtoken</groupId> |
503 | 484 | <artifactId>jjwt-jackson</artifactId> |
504 | | - <version>0.11.2</version> |
505 | | - <scope>test</scope> |
| 485 | + <version>${jjwt.suite.version}</version> |
| 486 | + <optional>true</optional> |
506 | 487 | </dependency> |
507 | 488 | <dependency> |
508 | 489 | <groupId>com.squareup.okio</groupId> |
|
539 | 520 | <dependency> |
540 | 521 | <groupId>org.mockito</groupId> |
541 | 522 | <artifactId>mockito-core</artifactId> |
542 | | - <version>3.6.28</version> |
| 523 | + <version>3.7.7</version> |
543 | 524 | <scope>test</scope> |
544 | 525 | </dependency> |
545 | 526 | <dependency> |
|
591 | 572 | </os> |
592 | 573 | </activation> |
593 | 574 | <properties> |
| 575 | + <!-- Only fail code coverage on non-windows machines --> |
| 576 | + <jacoco.haltOnFailure>true</jacoco.haltOnFailure> |
594 | 577 | <spotless-maven-plugin.goal>check</spotless-maven-plugin.goal> |
595 | 578 | </properties> |
596 | 579 | </profile> |
|
601 | 584 | <name>enable-ci</name> |
602 | 585 | </property> |
603 | 586 | </activation> |
604 | | - <properties> |
605 | | - <jacoco.haltOnFailure>true</jacoco.haltOnFailure> |
606 | | - </properties> |
607 | 587 | <build> |
608 | 588 | <plugins> |
609 | 589 | <plugin> |
|
0 commit comments