Skip to content

Commit ef42b6a

Browse files
committed
Upgrade wrensec-commons dependency to get the latest fixes
1 parent af9a964 commit ef42b6a

File tree

8 files changed

+57
-16
lines changed

8 files changed

+57
-16
lines changed

opendj-bom/pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.wrensecurity</groupId>
2323
<artifactId>wrensec-parent</artifactId>
24-
<version>3.5.1</version>
24+
<version>4.0.2</version>
2525
<relativePath />
2626
</parent>
2727

@@ -66,7 +66,10 @@
6666
</repositories>
6767

6868
<properties>
69-
<wrensec-commons.version>22.3.0</wrensec-commons.version>
69+
<!-- This is here only to satisfy Maven Enforcer -->
70+
<maven.compiler.release>8</maven.compiler.release>
71+
72+
<wrensec-commons.version>22.6.2</wrensec-commons.version>
7073
</properties>
7174

7275
<dependencyManagement>

opendj-core/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
<artifactId>i18n-core</artifactId>
4040
</dependency>
4141

42+
<dependency>
43+
<groupId>org.wrensecurity.commons.guava</groupId>
44+
<artifactId>wrensec-guava-io</artifactId>
45+
<scope>test</scope>
46+
</dependency>
47+
4248
<dependency>
4349
<groupId>org.slf4j</groupId>
4450
<artifactId>slf4j-api</artifactId>

opendj-core/src/test/java/org/forgerock/opendj/ldap/ByteStringTestCase.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,22 @@
1313
*
1414
* Copyright 2010 Sun Microsystems, Inc.
1515
* Portions copyright 2011-2016 ForgeRock AS.
16-
* Portions copyright 2022 Wren Security.
16+
* Portions copyright 2022-2026 Wren Security.
1717
*/
1818
package org.forgerock.opendj.ldap;
1919

20+
import static org.fest.assertions.Assertions.assertThat;
21+
2022
import java.nio.ByteBuffer;
2123
import java.nio.CharBuffer;
2224
import java.nio.charset.Charset;
2325
import java.nio.charset.CharsetDecoder;
2426
import java.util.Arrays;
25-
26-
import com.google.common.io.BaseEncoding;
2727
import org.forgerock.i18n.LocalizedIllegalArgumentException;
2828
import org.testng.Assert;
2929
import org.testng.annotations.DataProvider;
3030
import org.testng.annotations.Test;
31-
32-
import static org.fest.assertions.Assertions.*;
31+
import org.wrensecurity.guava.common.io.BaseEncoding;
3332

3433
/**
3534
* This class defines a set of tests for the ByteString class.

opendj-doc-maven-plugin/pom.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,23 @@
6666
<dependency>
6767
<groupId>org.apache.maven.plugin-tools</groupId>
6868
<artifactId>maven-plugin-annotations</artifactId>
69-
<version>3.2</version>
69+
<version>3.15.2</version>
7070
<scope>provided</scope>
7171
</dependency>
7272
</dependencies>
7373

7474

7575
<build>
76+
<pluginManagement>
77+
<plugins>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-plugin-plugin</artifactId>
81+
<version>3.15.2</version>
82+
</plugin>
83+
</plugins>
84+
</pluginManagement>
85+
7686
<plugins>
7787
<plugin>
7888
<groupId>org.wrensecurity.commons</groupId>

opendj-dsml-servlet/pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,15 @@
3838
</properties>
3939

4040
<dependencies>
41+
<dependency>
42+
<groupId>com.sun.xml.ws</groupId>
43+
<artifactId>jaxws-rt</artifactId>
44+
</dependency>
45+
4146
<!-- Servlet API -->
4247
<dependency>
4348
<groupId>javax.servlet</groupId>
4449
<artifactId>javax.servlet-api</artifactId>
45-
<version>3.1.0</version>
4650
<scope>provided</scope>
4751
</dependency>
4852

opendj-maven-plugin/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,20 @@
5151
<dependency>
5252
<groupId>org.apache.maven.plugin-tools</groupId>
5353
<artifactId>maven-plugin-annotations</artifactId>
54-
<version>3.2</version>
54+
<version>3.15.2</version>
5555
<scope>provided</scope>
5656
</dependency>
5757
</dependencies>
58+
59+
<build>
60+
<pluginManagement>
61+
<plugins>
62+
<plugin>
63+
<groupId>org.apache.maven.plugins</groupId>
64+
<artifactId>maven-plugin-plugin</artifactId>
65+
<version>3.15.2</version>
66+
</plugin>
67+
</plugins>
68+
</pluginManagement>
69+
</build>
5870
</project>

opendj-server-legacy/src/main/java/org/opends/server/replication/server/changelog/api/AbortedChangelogCursorException.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
*/
1616
package org.opends.server.replication.server.changelog.api;
1717

18-
import javax.annotation.Generated;
19-
2018
import org.forgerock.i18n.LocalizableMessage;
2119

2220
/**
@@ -28,7 +26,6 @@
2826
public class AbortedChangelogCursorException extends ChangelogException
2927
{
3028

31-
@Generated("Eclipse")
3229
private static final long serialVersionUID = -2123770048083474999L;
3330

3431
/**

pom.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.wrensecurity</groupId>
2323
<artifactId>wrensec-parent</artifactId>
24-
<version>3.5.1</version>
24+
<version>4.0.2</version>
2525
<relativePath />
2626
</parent>
2727

@@ -99,6 +99,8 @@
9999
<product.locales>ca_ES,es,de,fr,ja,ko,pl,zh_CN,zh_TW</product.locales>
100100
<localized.jars.classifier>i18n</localized.jars.classifier>
101101

102+
<maven.compiler.release>8</maven.compiler.release>
103+
102104
<freemarker.version>2.3.24-incubating</freemarker.version>
103105
<grizzly-framework.version>2.3.28</grizzly-framework.version>
104106
<metrics-core.version>3.1.2</metrics-core.version>
@@ -117,6 +119,14 @@
117119

118120
<dependencyManagement>
119121
<dependencies>
122+
<dependency>
123+
<groupId>com.sun.xml.ws</groupId>
124+
<artifactId>jaxws-ri</artifactId>
125+
<version>2.3.7</version>
126+
<type>pom</type>
127+
<scope>import</scope>
128+
</dependency>
129+
120130
<dependency>
121131
<groupId>org.wrensecurity.wrends</groupId>
122132
<artifactId>opendj-bom</artifactId>
@@ -290,7 +300,7 @@
290300
<?m2e execute onConfiguration?>
291301
<groupId>org.wrensecurity.commons</groupId>
292302
<artifactId>i18n-maven-plugin</artifactId>
293-
<version>22.3.0</version>
303+
<version>22.6.2</version>
294304
</plugin>
295305

296306
<!-- This is needed to use annotations in maven plugins with maven 3.0.x -->
@@ -318,7 +328,7 @@
318328
<?m2e ignore?>
319329
<groupId>org.wrensecurity.commons</groupId>
320330
<artifactId>doc-maven-plugin</artifactId>
321-
<version>22.4.0</version>
331+
<version>22.6.2</version>
322332
<configuration>
323333
<projectName>Wren:DS</projectName>
324334
<projectVersion>${project.version}</projectVersion>

0 commit comments

Comments
 (0)