|
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 | <artifactId>direct-common</artifactId> |
6 | 6 | <name>Direct Project common APIs</name> |
7 | | - <version>7.0</version> |
| 7 | + <version>8.0.0</version> |
8 | 8 | <description>Direct Project common APIs. Includes instrumentation, auditing, and other utility APIs</description> |
9 | 9 | <inceptionYear>2010</inceptionYear> |
10 | 10 | <url>http://api.nhindirect.org/x/www/api.nhindirect.org/java/site/direct-common/${project.version}</url> |
|
23 | 23 | <url>http://nhindirect.org</url> |
24 | 24 | </organization> |
25 | 25 | <prerequisites> |
26 | | - <maven>3.0.0</maven> |
| 26 | + <maven>3.5.0</maven> |
27 | 27 | </prerequisites> |
| 28 | + <properties> |
| 29 | + <jmockit.version>1.49</jmockit.version> |
| 30 | + <cf-env.version>2.4.0</cf-env.version> |
| 31 | + <guava.version>30.1.1-jre</guava.version> |
| 32 | + <jdom.version>1.1.3</jdom.version> |
| 33 | + <javax-mail.version>1.6.2</javax-mail.version> |
| 34 | + <dsn.version>1.6.7</dsn.version> |
| 35 | + <commons-text.version>1.9</commons-text.version> |
| 36 | + <commons-io.version>2.8.0</commons-io.version> |
| 37 | + <mina-core.version>2.1.4</mina-core.version> |
| 38 | + <bcprov-jdk15on.version>1.68</bcprov-jdk15on.version> |
| 39 | + <bcmail-jdk15on>1.68</bcmail-jdk15on> |
| 40 | + </properties> |
28 | 41 | <parent> |
29 | 42 | <groupId>org.springframework.boot</groupId> |
30 | 43 | <artifactId>spring-boot-dependencies</artifactId> |
31 | | - <version>2.2.4.RELEASE</version> |
| 44 | + <version>2.5.2</version> |
| 45 | + <relativePath /> |
32 | 46 | </parent> |
33 | 47 | <scm> |
34 | 48 | <url>scm:git:https://github.com/DirectProjectJavaRI/direct-common.git</url> |
|
45 | 59 | <dependency> |
46 | 60 | <groupId>org.springframework.boot</groupId> |
47 | 61 | <artifactId>spring-boot-dependencies</artifactId> |
48 | | - <version>2.2.2.RELEASE</version> |
| 62 | + <version>2.5.2</version> |
49 | 63 | <type>pom</type> |
50 | 64 | <scope>import</scope> |
51 | 65 | </dependency> |
52 | 66 | <dependency> |
53 | 67 | <groupId>org.springframework.cloud</groupId> |
54 | 68 | <artifactId>spring-cloud-starter-parent</artifactId> |
55 | | - <version>Hoxton.SR1</version> |
| 69 | + <version>2020.0.3</version> |
56 | 70 | <type>pom</type> |
57 | 71 | <scope>import</scope> |
58 | 72 | </dependency> |
|
82 | 96 | <dependency> |
83 | 97 | <groupId>io.pivotal.cfenv</groupId> |
84 | 98 | <artifactId>java-cfenv-boot</artifactId> |
85 | | - <version>2.1.0.RELEASE</version> |
| 99 | + <version>${cf-env.version}</version> |
86 | 100 | </dependency> |
87 | 101 | <dependency> |
88 | 102 | <groupId>io.pivotal.cfenv</groupId> |
89 | 103 | <artifactId>java-cfenv-test-support</artifactId> |
90 | 104 | <scope>test</scope> |
| 105 | + <version>${cf-env.version}</version> |
91 | 106 | </dependency> |
| 107 | + <dependency> |
| 108 | + <groupId>org.projectlombok</groupId> |
| 109 | + <artifactId>lombok</artifactId> |
| 110 | + </dependency> |
92 | 111 | <dependency> |
93 | 112 | <groupId>com.google.guava</groupId> |
94 | 113 | <artifactId>guava</artifactId> |
95 | | - <version>28.2-jre</version> |
| 114 | + <version>${guava.version}</version> |
96 | 115 | </dependency> |
97 | | - <dependency> |
98 | | - <groupId>javax.mail</groupId> |
99 | | - <artifactId>mail</artifactId> |
100 | | - <version>1.4.3</version> |
101 | | - </dependency> |
102 | 116 | <dependency> |
103 | 117 | <groupId>org.jdom</groupId> |
104 | 118 | <artifactId>jdom</artifactId> |
105 | | - <version>1.1</version> |
106 | | - </dependency> |
| 119 | + <version>${jdom.version}</version> |
| 120 | + </dependency> |
| 121 | + <dependency> |
| 122 | + <groupId>com.sun.mail</groupId> |
| 123 | + <artifactId>javax.mail</artifactId> |
| 124 | + <version>${javax-mail.version}</version> |
| 125 | + </dependency> |
107 | 126 | <dependency> |
108 | 127 | <groupId>com.sun.mail</groupId> |
109 | 128 | <artifactId>dsn</artifactId> |
110 | | - <version>1.4.3</version> |
| 129 | + <version>${dsn.version}</version> |
111 | 130 | </dependency> |
112 | 131 | <dependency> |
113 | 132 | <groupId>org.apache.commons</groupId> |
|
120 | 139 | <dependency> |
121 | 140 | <groupId>org.apache.commons</groupId> |
122 | 141 | <artifactId>commons-text</artifactId> |
123 | | - <version>1.4</version> |
| 142 | + <version>${commons-text.version}</version> |
124 | 143 | </dependency> |
125 | 144 | <dependency> |
126 | 145 | <groupId>commons-io</groupId> |
127 | 146 | <artifactId>commons-io</artifactId> |
128 | | - <version>2.6</version> |
| 147 | + <version>${commons-io.version}</version> |
129 | 148 | </dependency> |
130 | 149 | <dependency> |
131 | 150 | <groupId>org.apache.mina</groupId> |
132 | 151 | <artifactId>mina-core</artifactId> |
133 | | - <version>1.0.9</version> |
| 152 | + <version>${mina-core.version}</version> |
134 | 153 | </dependency> |
135 | 154 | <dependency> |
136 | 155 | <groupId>org.bouncycastle</groupId> |
137 | 156 | <artifactId>bcprov-jdk15on</artifactId> |
138 | | - <version>1.64</version> |
| 157 | + <version>${bcprov-jdk15on.version}</version> |
139 | 158 | </dependency> |
140 | 159 | <dependency> |
141 | 160 | <groupId>org.bouncycastle</groupId> |
142 | 161 | <artifactId>bcmail-jdk15on</artifactId> |
143 | | - <version>1.64</version> |
| 162 | + <version>${bcmail-jdk15on}</version> |
144 | 163 | </dependency> |
145 | | - <dependency> |
146 | | - <groupId>org.springframework.boot</groupId> |
147 | | - <artifactId>spring-boot-starter-web</artifactId> |
148 | | - <scope>test</scope> |
149 | | - </dependency> |
150 | 164 | <dependency> |
151 | 165 | <groupId>org.springframework.boot</groupId> |
152 | 166 | <artifactId>spring-boot-starter-test</artifactId> |
153 | 167 | <scope>test</scope> |
154 | | - </dependency> |
155 | | - <dependency> |
156 | | - <groupId>org.mockito</groupId> |
157 | | - <artifactId>mockito-core</artifactId> |
158 | | - <scope>test</scope> |
159 | | - </dependency> |
160 | | - <dependency> |
161 | | - <groupId>junit</groupId> |
162 | | - <artifactId>junit</artifactId> |
163 | | - <scope>test</scope> |
164 | | - </dependency> |
| 168 | + </dependency> |
| 169 | + <dependency> |
| 170 | + <groupId>org.jmockit</groupId> |
| 171 | + <artifactId>jmockit</artifactId> |
| 172 | + <version>${jmockit.version}</version> |
| 173 | + <scope>test</scope> |
| 174 | + </dependency> |
165 | 175 | </dependencies> |
166 | 176 | <build> |
167 | 177 | <extensions> |
168 | 178 | <extension> |
169 | 179 | <groupId>org.apache.maven.wagon</groupId> |
170 | 180 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
171 | | - <version>3.1.0</version> |
172 | 181 | </extension> |
173 | 182 | <extension> |
174 | 183 | <groupId>org.apache.maven.wagon</groupId> |
175 | 184 | <artifactId>wagon-ssh-external</artifactId> |
176 | | - <version>3.1.0</version> |
177 | 185 | </extension> |
178 | 186 | <extension> |
179 | 187 | <groupId>org.apache.maven.wagon</groupId> |
180 | 188 | <artifactId>wagon-ssh</artifactId> |
181 | | - <version>3.1.0</version> |
182 | 189 | </extension> |
183 | 190 | </extensions> |
184 | 191 | <resources> |
|
203 | 210 | <plugin> |
204 | 211 | <groupId>org.apache.maven.plugins</groupId> |
205 | 212 | <artifactId>maven-surefire-plugin</artifactId> |
| 213 | + <configuration> |
| 214 | + <argLine> |
| 215 | + -javaagent:"${settings.localRepository}"/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar |
| 216 | + </argLine> |
| 217 | + </configuration> |
206 | 218 | </plugin> |
207 | 219 | <plugin> |
208 | 220 | <groupId>org.apache.maven.plugins</groupId> |
209 | 221 | <artifactId>maven-jxr-plugin</artifactId> |
| 222 | + <version>3.1.1</version> |
210 | 223 | </plugin> |
211 | 224 | <plugin> |
212 | 225 | <groupId>org.apache.maven.plugins</groupId> |
|
239 | 252 | </execution> |
240 | 253 | </executions> |
241 | 254 | </plugin> |
242 | | - <plugin> |
243 | | - <groupId>org.apache.maven.plugins</groupId> |
244 | | - <artifactId>maven-jar-plugin</artifactId> |
245 | | - <configuration> |
246 | | - <archive> |
247 | | - <index>true</index> |
248 | | - </archive> |
249 | | - </configuration> |
250 | | - </plugin> |
251 | | - <plugin> |
252 | | - <groupId>org.apache.maven.plugins</groupId> |
253 | | - <artifactId>maven-jar-plugin</artifactId> |
254 | | - <executions> |
255 | | - <execution> |
256 | | - <goals> |
257 | | - <goal>test-jar</goal> |
258 | | - </goals> |
259 | | - </execution> |
260 | | - </executions> |
261 | | - </plugin> |
| 255 | + <plugin> |
| 256 | + <groupId>org.apache.maven.plugins</groupId> |
| 257 | + <artifactId>maven-jar-plugin</artifactId> |
| 258 | + <configuration> |
| 259 | + <archive> |
| 260 | + <index>true</index> |
| 261 | + </archive> |
| 262 | + </configuration> |
| 263 | + <executions> |
| 264 | + <execution> |
| 265 | + <goals> |
| 266 | + <goal>test-jar</goal> |
| 267 | + </goals> |
| 268 | + </execution> |
| 269 | + </executions> |
| 270 | + </plugin> |
262 | 271 | <plugin> |
263 | 272 | <groupId>org.apache.maven.plugins</groupId> |
264 | 273 | <artifactId>maven-javadoc-plugin</artifactId> |
265 | | - <version>2.9.1</version> |
266 | 274 | <configuration> |
267 | | - <additionalparam>-Xdoclint:none</additionalparam> |
| 275 | + <additionalJOption>-Xdoclint:none</additionalJOption> |
268 | 276 | <charset>UTF-8</charset> |
269 | 277 | <docencoding>UTF-8</docencoding> |
270 | 278 | <docfilessubdirs>true</docfilessubdirs> |
|
285 | 293 | </goals> |
286 | 294 | </execution> |
287 | 295 | </executions> |
288 | | - </plugin> |
| 296 | + </plugin> |
| 297 | + <!-- For Releases only |
289 | 298 | <plugin> |
290 | 299 | <groupId>org.apache.maven.plugins</groupId> |
291 | 300 | <artifactId>maven-gpg-plugin</artifactId> |
|
298 | 307 | </goals> |
299 | 308 | </execution> |
300 | 309 | </executions> |
301 | | - </plugin> |
| 310 | + <version>3.0.1</version> |
| 311 | + </plugin> |
| 312 | + --> |
302 | 313 | </plugins> |
303 | 314 | </build> |
304 | 315 | <reporting> |
305 | 316 | <plugins> |
306 | 317 | <plugin> |
307 | 318 | <groupId>org.apache.maven.plugins</groupId> |
308 | 319 | <artifactId>maven-project-info-reports-plugin</artifactId> |
309 | | - <version>2.9</version> |
310 | 320 | </plugin> |
311 | 321 | <plugin> |
312 | 322 | <groupId>org.apache.maven.plugins</groupId> |
313 | 323 | <artifactId>maven-javadoc-plugin</artifactId> |
314 | | - <version>2.9.1</version> |
315 | 324 | <configuration> |
316 | | - <additionalparam>-Xdoclint:none</additionalparam> |
| 325 | + <additionalJOption>-Xdoclint:none</additionalJOption> |
317 | 326 | <charset>UTF-8</charset> |
318 | 327 | <docencoding>UTF-8</docencoding> |
319 | 328 | <docfilessubdirs>true</docfilessubdirs> |
|
340 | 349 | <plugin> |
341 | 350 | <groupId>org.apache.maven.plugins</groupId> |
342 | 351 | <artifactId>maven-jxr-plugin</artifactId> |
| 352 | + <version>3.1.1</version> |
343 | 353 | </plugin> |
344 | 354 | <plugin> |
345 | 355 | <groupId>org.codehaus.mojo</groupId> |
346 | 356 | <artifactId>findbugs-maven-plugin</artifactId> |
347 | | - <version>2.3.2</version> |
348 | 357 | <configuration> |
349 | 358 | <effort>Max</effort> |
350 | 359 | <excludeFilterFile>${project.basedir}/src/report/findbugs-exclude.xml</excludeFilterFile> |
|
0 commit comments