Skip to content

Commit b83060e

Browse files
authored
Release24.0.0 (#1643)
Released v24.0.0 with updated Maven publishing configs, dependency bumps (`commons-lang3`, `nimbus-jose-jwt`), and minor fixes.
1 parent a2dc4ce commit b83060e

File tree

8 files changed

+23
-17
lines changed

8 files changed

+23
-17
lines changed

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.okta.sdk</groupId>
2323
<artifactId>okta-sdk-root</artifactId>
24-
<version>24.0.0-SNAPSHOT</version>
24+
<version>24.0.1-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>okta-sdk-api</artifactId>

coverage/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.okta.sdk</groupId>
2323
<artifactId>okta-sdk-root</artifactId>
24-
<version>24.0.0-SNAPSHOT</version>
24+
<version>24.0.1-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>okta-sdk-coverage</artifactId>

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.okta.sdk</groupId>
2323
<artifactId>okta-sdk-root</artifactId>
24-
<version>24.0.0-SNAPSHOT</version>
24+
<version>24.0.1-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>okta-sdk-examples</artifactId>

examples/quickstart/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.okta.sdk</groupId>
2222
<artifactId>okta-sdk-examples</artifactId>
23-
<version>24.0.0-SNAPSHOT</version>
23+
<version>24.0.1-SNAPSHOT</version>
2424
<relativePath>../pom.xml</relativePath>
2525
</parent>
2626

impl/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.okta.sdk</groupId>
2323
<artifactId>okta-sdk-root</artifactId>
24-
<version>24.0.0-SNAPSHOT</version>
24+
<version>24.0.1-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>okta-sdk-impl</artifactId>

integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.okta.sdk</groupId>
2222
<artifactId>okta-sdk-root</artifactId>
23-
<version>24.0.0-SNAPSHOT</version>
23+
<version>24.0.1-SNAPSHOT</version>
2424
<relativePath>../pom.xml</relativePath>
2525
</parent>
2626

integration-tests/src/test/groovy/com/okta/sdk/tests/it/util/Util.groovy

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,29 +123,24 @@ class Util {
123123
.findFirst().isPresent()
124124
}
125125

126-
static void assertUserNotInGroup(User user, Group group, GroupApi groupApi, int times, long delayInMilliseconds, boolean present = true) {
126+
static void assertUserNotInGroup(User user, Group group, GroupApi groupApi, int times, long delayInMilliseconds) {
127127
for (int ii = 0; ii < times; ii++) {
128-
129128
sleep(delayInMilliseconds)
130129

131130
boolean userIsPresent = StreamSupport.stream(
132131
groupApi.listGroupUsers(group.getId(), null, null).spliterator(), false
133132
).anyMatch { listUser -> listUser.id == user.id }
134133

135-
if ((present && userIsPresent) || (!present && !userIsPresent)) {
134+
if (!userIsPresent) {
136135
return
137136
}
138137
}
139138

140-
141-
if (present) {
142-
Assert.fail("User not found in group after ${times} attempts")
143-
} else {
144-
Assert.fail("User found in group after ${times} attempts")
145-
}
139+
Assert.fail("User found in group after ${times} attempts")
146140
}
147141

148142

143+
149144
static def ignoring = { Class<? extends Throwable> catchMe, Closure callMe ->
150145
try {
151146
callMe.call()

pom.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
<parent>
2121
<groupId>com.okta</groupId>
2222
<artifactId>okta-parent</artifactId>
23-
<version>36</version>
23+
<version>38</version>
2424
</parent>
2525

2626
<groupId>com.okta.sdk</groupId>
2727
<artifactId>okta-sdk-root</artifactId>
28-
<version>24.0.0-SNAPSHOT</version>
28+
<version>24.0.1-SNAPSHOT</version>
2929
<packaging>pom</packaging>
3030

3131
<name>Okta Java SDK</name>
@@ -229,6 +229,17 @@
229229
<build>
230230
<pluginManagement>
231231
<plugins>
232+
<plugin>
233+
<groupId>org.sonatype.central</groupId>
234+
<artifactId>central-publishing-maven-plugin</artifactId>
235+
<version>0.8.0</version>
236+
<extensions>true</extensions>
237+
<configuration>
238+
<publishingServerId>central</publishingServerId>
239+
<autoPublish>true</autoPublish>
240+
<waitUntil>published</waitUntil>
241+
</configuration>
242+
</plugin>
232243
<plugin>
233244
<groupId>org.apache.maven.plugins</groupId>
234245
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)