Skip to content

Commit e968d3d

Browse files
committed
dep bump, rename / deprecate / new methods in base utils and remove use of deprecated methods
1 parent b2985dc commit e968d3d

File tree

13 files changed

+639
-92
lines changed

13 files changed

+639
-92
lines changed

pom.xml

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,13 @@
1919

2020
<groupId>com.americanexpress.unify.jdocs</groupId>
2121
<artifactId>unify-jdocs</artifactId>
22-
<version>1.7.1</version>
22+
<version>1.8.0</version>
2323
<packaging>jar</packaging>
2424

2525
<name>unify-jdocs</name>
2626

2727
<properties>
2828
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29-
<maven.compiler.source>1.8</maven.compiler.source>
30-
<maven.compiler.target>1.8</maven.compiler.target>
31-
32-
<!-- dependency versions -->
33-
<slf4j-api.version>1.7.30</slf4j-api.version>
34-
<log4j-slf4j-impl.version>2.17.1</log4j-slf4j-impl.version>
35-
<jackson.version>2.16.1</jackson.version>
36-
<jfiglet.version>0.0.8</jfiglet.version>
37-
<junit-jupiter-engine.version>5.3.1</junit-jupiter-engine.version>
38-
<mockito-core.version>2.21.0</mockito-core.version>
39-
<mockito-junit-jupiter.version>2.23.0</mockito-junit-jupiter.version>
40-
<powermock-api-mockito2.version>2.0.0-beta.5</powermock-api-mockito2.version>
41-
<junit-platform-launcher.version>1.3.1</junit-platform-launcher.version>
42-
<junit-vintage-engine.version>5.2.0</junit-vintage-engine.version>
4329
</properties>
4430

4531
<licenses>
@@ -74,38 +60,38 @@
7460
<dependency>
7561
<groupId>org.slf4j</groupId>
7662
<artifactId>slf4j-api</artifactId>
77-
<version>${slf4j-api.version}</version>
63+
<version>1.7.30</version>
7864
</dependency>
7965

8066
<dependency>
8167
<groupId>org.apache.logging.log4j</groupId>
8268
<artifactId>log4j-slf4j-impl</artifactId>
83-
<version>${log4j-slf4j-impl.version}</version>
69+
<version>2.17.1</version>
8470
<scope>test</scope>
8571
</dependency>
8672

8773
<dependency>
8874
<groupId>com.fasterxml.jackson.core</groupId>
8975
<artifactId>jackson-databind</artifactId>
90-
<version>${jackson.version}</version>
76+
<version>2.16.1</version>
9177
</dependency>
9278

9379
<dependency>
9480
<groupId>com.fasterxml.jackson.core</groupId>
9581
<artifactId>jackson-annotations</artifactId>
96-
<version>${jackson.version}</version>
82+
<version>2.16.1</version>
9783
</dependency>
9884

9985
<dependency>
10086
<groupId>com.fasterxml.jackson.core</groupId>
10187
<artifactId>jackson-core</artifactId>
102-
<version>${jackson.version}</version>
88+
<version>2.16.1</version>
10389
</dependency>
10490

10591
<dependency>
10692
<groupId>com.github.lalyos</groupId>
10793
<artifactId>jfiglet</artifactId>
108-
<version>${jfiglet.version}</version>
94+
<version>0.0.8</version>
10995
</dependency>
11096

11197
<dependency>
@@ -117,42 +103,42 @@
117103
<dependency>
118104
<groupId>org.junit.jupiter</groupId>
119105
<artifactId>junit-jupiter-engine</artifactId>
120-
<version>${junit-jupiter-engine.version}</version>
106+
<version>5.11.4</version>
121107
<scope>test</scope>
122108
</dependency>
123109

124110
<dependency>
125111
<groupId>org.mockito</groupId>
126112
<artifactId>mockito-core</artifactId>
127-
<version>${mockito-core.version}</version>
113+
<version>5.15.2</version>
128114
<scope>test</scope>
129115
</dependency>
130116

131117
<dependency>
132118
<groupId>org.mockito</groupId>
133119
<artifactId>mockito-junit-jupiter</artifactId>
134-
<version>${mockito-junit-jupiter.version}</version>
120+
<version>5.15.2</version>
135121
<scope>test</scope>
136122
</dependency>
137123

138124
<dependency>
139125
<groupId>org.powermock</groupId>
140126
<artifactId>powermock-api-mockito2</artifactId>
141-
<version>${powermock-api-mockito2.version}</version>
127+
<version>2.0.9</version>
142128
<scope>test</scope>
143129
</dependency>
144130

145131
<dependency>
146132
<groupId>org.junit.platform</groupId>
147133
<artifactId>junit-platform-launcher</artifactId>
148-
<version>${junit-platform-launcher.version}</version>
134+
<version>1.11.4</version>
149135
<scope>test</scope>
150136
</dependency>
151137

152138
<dependency>
153139
<groupId>org.junit.vintage</groupId>
154140
<artifactId>junit-vintage-engine</artifactId>
155-
<version>${junit-vintage-engine.version}</version>
141+
<version>5.11.4</version>
156142
<scope>test</scope>
157143
</dependency>
158144

@@ -163,17 +149,27 @@
163149
<plugin>
164150
<groupId>org.apache.maven.plugins</groupId>
165151
<artifactId>maven-jar-plugin</artifactId>
166-
<version>3.2.2</version>
152+
<version>3.4.2</version>
167153
</plugin>
168154
<plugin>
169155
<groupId>org.apache.maven.plugins</groupId>
170156
<artifactId>maven-deploy-plugin</artifactId>
171-
<version>2.8.2</version>
157+
<version>3.1.4</version>
172158
</plugin>
173159
<plugin>
174160
<groupId>org.apache.maven.plugins</groupId>
175161
<artifactId>maven-compiler-plugin</artifactId>
176-
<version>3.8.0</version>
162+
<version>3.14.0</version>
163+
<configuration>
164+
<compilerArgs>
165+
<arg>-Xlint:deprecation</arg>
166+
<arg>-Xlint:unchecked</arg>
167+
<arg>-Xlint:-options</arg>
168+
</compilerArgs>
169+
<release>8</release>
170+
<source>8</source>
171+
<target>8</target>
172+
</configuration>
177173
</plugin>
178174
</plugins>
179175
</build>

readme.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,26 @@ It completely eliminates the need to have model / POJO classes and instead works
66
on the JSON document. Once you use this library, you may never
77
want to return to using Java model classes or using JSON schema for JSON document validation.
88

9+
Once you have taken a look, if you like what you see, we would very much appreciate a like for the project - it keeps us motivated knowing that our
10+
work is getting traction and helping people in the community.
11+
12+
And while you are here, may we mention another of our offerings which could be of interest:
13+
14+
***Unify-flowret - A lightweight Java based orchestration engine***
15+
16+
https://github.com/americanexpress/unify-flowret
17+
918
---
1019

1120
#### Getting JDocs package
1221

1322
JDocs is available as a jar file in Maven central with the following latest Maven coordinates.
1423

15-
````pom
24+
```pom
1625
<groupId>com.americanexpress.unify.jdocs</groupId>
1726
<artifactId>unify-jdocs</artifactId>
18-
<version>1.7.1</version>
19-
````
27+
<version>1.8.0</version>
28+
```
2029

2130
---
2231

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.americanexpress.unify.base;
2+
3+
public enum ActionEnum {
4+
set_null_if_empty,
5+
trim,
6+
upper,
7+
remove_spaces,
8+
replace_multiple_spaces_with_single_space,
9+
remove_all_non_numeric
10+
}

0 commit comments

Comments
 (0)