cleanup and upgrade requiredMavenVersion
[cdm-vaadin.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>eu.etaxonomy</groupId>
5 <artifactId>cdm-vaadin</artifactId>
6 <packaging>war</packaging>
7 <version>5.32.0-SNAPSHOT</version>
8 <name>Vaadin Web Application</name>
9 <properties>
10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11 <vaadin.version>7.7.17</vaadin.version>
12 <!-- LAST PUBLIC OPEN-SOURCE VERSION OF THE VAADIN 7 FRAMEWORK !!! -->
13 <vaadin-spring.version>1.2.0</vaadin-spring.version>
14 <vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
15 <vaadin-spring-addon-eventbus.version>2.0.0.RELEASE</vaadin-spring-addon-eventbus.version>
16 <cdmlib.version>5.32.0-SNAPSHOT</cdmlib.version>
17 <unitils.version>3.4.2</unitils.version>
18 <spring-boot.version>1.3.1.RELEASE</spring-boot.version>
19 <!-- has spring 4.2.4-RELEASE as dependency -->
20 <!--
21 lucene.version must match the version as defined in cdmlib
22 -->
23 <lucene.version>5.4.1</lucene.version>
24 <maven.compiler.source>1.8</maven.compiler.source>
25 <maven.compiler.target>1.8</maven.compiler.target>
26 <doclint>none</doclint>
27 </properties>
28 <prerequisites>
29 <maven>3.6.3</maven>
30 </prerequisites>
31 <repositories>
32 <!-- the cdm internal repository -->
33 <repository>
34 <id>EditRepository</id>
35 <url>https://cybertaxonomy.org/mavenrepo/</url>
36 </repository>
37 <!-- current spring source repositories -->
38 <repository>
39 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
40 <url>http://repository.springsource.com/maven/bundles/milestone</url>
41 </repository>
42 <repository>
43 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
44 <url>http://repository.springsource.com/maven/bundles/release</url>
45 </repository>
46 <repository>
47 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
48 <url>http://repository.springsource.com/maven/bundles/external</url>
49 </repository>
50 <repository>
51 <id>vaadin-addons</id>
52 <url>http://maven.vaadin.com/vaadin-addons</url>
53 </repository>
54 <repository>
55 <id>vaadin-snapshots</id>
56 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
57 <releases>
58 <enabled>false</enabled>
59 </releases>
60 <snapshots>
61 <enabled>true</enabled>
62 </snapshots>
63 </repository>
64 </repositories>
65 <pluginRepositories>
66 <pluginRepository>
67 <id>vaadin-snapshots</id>
68 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
69 <releases>
70 <enabled>false</enabled>
71 </releases>
72 <snapshots>
73 <enabled>true</enabled>
74 </snapshots>
75 </pluginRepository>
76 </pluginRepositories>
77 <dependencyManagement>
78 <dependencies>
79 <dependency>
80 <groupId>eu.etaxonomy</groupId>
81 <artifactId>cdmlib-parent</artifactId>
82 <version>${cdmlib.version}</version>
83 <type>pom</type>
84 <scope>import</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-parent</artifactId>
89 <version>${spring-boot.version}</version>
90 <type>pom</type>
91 <scope>import</scope>
92 </dependency>
93 <dependency>
94 <groupId>com.vaadin</groupId>
95 <artifactId>vaadin-bom</artifactId>
96 <version>${vaadin.version}</version>
97 <type>pom</type>
98 <scope>import</scope>
99 </dependency>
100 <dependency>
101 <!-- Try updating in cdmlib to 20090211 -->
102 <groupId>org.json</groupId>
103 <artifactId>json</artifactId>
104 <version>20220320</version>
105 </dependency>
106
107 <!--
108 <dependency>
109 updating to same version as in vaadin-server 7.7.28 due to https://vaadin.com/security/2021-10-27
110 is not possible due to code incompatibility
111 <groupId>org.jsoup</groupId>
112 <artifactId>jsoup</artifactId>
113 <version>1.14.3</version>
114 </dependency>
115 -->
116 <!--
117 <dependency>
118 < ! - - FIXME move to cdmlib-test - - >
119 <groupId>org.springframework</groupId>
120 <artifactId>spring-mock</artifactId>
121 <version>4.2.3.RELEASE</version>
122 </dependency>
123 <dependency>
124 <groupId>org.seleniumhq.selenium</groupId>
125 <artifactId>selenium-api</artifactId>
126 <version>3.5.3</version>
127 </dependency>
128 <dependency>
129 <groupId>org.seleniumhq.selenium</groupId>
130 <artifactId>selenium-support</artifactId>
131 <version>3.5.3</version>
132 </dependency>
133 -->
134 </dependencies>
135 </dependencyManagement>
136 <distributionManagement>
137 <repository>
138 <uniqueVersion>false</uniqueVersion>
139 <id>cybertaxonomy.eu</id>
140 <name>Edit Maven Repository</name>
141 <url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
142 <layout>default</layout>
143 </repository>
144 </distributionManagement>
145 <profiles>
146 <profile>
147 <id>align-cdmlib-version</id>
148 <activation>
149 <property>
150 <name>align-cdmlib-version</name>
151 </property>
152 </activation>
153 <build>
154 <plugins>
155 <plugin>
156 <groupId>com.google.code.maven-replacer-plugin</groupId>
157 <artifactId>replacer</artifactId>
158 <version>1.5.3</version>
159 <executions>
160 <execution>
161 <phase>process-sources</phase>
162 <goals>
163 <goal>replace</goal>
164 </goals>
165 </execution>
166 </executions>
167 <configuration>
168 <file>pom.xml</file>
169 <!-- \u003C = < , \u003E = > -->
170 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*</token>
171 <value>$1${project.version}</value>
172 </configuration>
173 </plugin>
174 </plugins>
175 </build>
176 </profile>
177 <profile>
178 <id>java8-doclint-disabled</id>
179 <activation>
180 <jdk>[1.8,)</jdk>
181 </activation>
182 <properties>
183 <javadoc.opts>-Xdoclint:none</javadoc.opts>
184 </properties>
185 </profile>
186 </profiles>
187 <build>
188 <resources>
189 <resource>
190 <!-- all main resources without filtering -->
191 <directory>src/main/resources</directory>
192 </resource>
193 <resource>
194 <!-- replace the place holders like ${...} in datasources.xml -->
195 <filtering>true</filtering>
196 <directory>src/test/resources</directory>
197 <targetPath>../test-classes</targetPath>
198 <includes>
199 <include>datasources.xml</include>
200 </includes>
201 </resource>
202 <resource>
203 <!-- all other test resources without filtering -->
204 <directory>src/test/resources</directory>
205 <targetPath>../test-classes</targetPath>
206 <excludes>
207 <exclude>datasources.xml</exclude>
208 </excludes>
209 </resource>
210 </resources>
211 <plugins>
212 <plugin>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-resources-plugin</artifactId>
215 <version>3.2.0</version>
216 </plugin>
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-compiler-plugin</artifactId>
220 <version>3.9.0</version>
221 <configuration>
222 <source>${maven.compiler.source}</source>
223 <target>${maven.compiler.target}</target>
224 <encoding>UTF-8</encoding>
225 </configuration>
226 </plugin>
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-surefire-plugin</artifactId>
230 <version>3.0.0-M7</version>
231 <configuration>
232 <argLine>-Xms256m -Xmx512m</argLine>
233 </configuration>
234 </plugin>
235 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
236 <!-- directory is cleaned properly -->
237 <plugin>
238 <artifactId>maven-clean-plugin</artifactId>
239 <version>3.1.0</version>
240 <configuration>
241 <filesets>
242 <fileset>
243 <directory>src/main/webapp/VAADIN/widgetsets</directory>
244 </fileset>
245 </filesets>
246 </configuration>
247 </plugin>
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-javadoc-plugin</artifactId>
251 <version>3.3.1</version>
252 <configuration>
253 <doclint>${doclint}</doclint>
254 </configuration>
255 </plugin>
256 <plugin>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-war-plugin</artifactId>
259 <version>3.3.2</version>
260 <configuration>
261 <failOnMissingWebXml>false</failOnMissingWebXml>
262 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*</warSourceExcludes>
263 </configuration>
264 </plugin>
265 <plugin>
266 <groupId>com.vaadin</groupId>
267 <artifactId>vaadin-maven-plugin</artifactId>
268 <version>${vaadin.plugin.version}</version>
269 <configuration>
270 <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
271 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
272 This way compatible with Vaadin eclipse plugin. -->
273 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets</webappDirectory>
274 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets</hostedWebapp>
275 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
276 <persistentunitcachedir>${project.build.directory}</persistentunitcachedir>
277 <deploy>${project.build.directory}/gwt-deploy</deploy>
278 <!-- Compile report is not typically needed either, saves hunreds
279 of mb disk -->
280 <compileReport>false</compileReport>
281 <noServer>true</noServer>
282 <!-- Remove draftCompile when project is ready -->
283 <draftCompile>false</draftCompile>
284 <style>OBF</style>
285 <runTarget>http://localhost:8080/</runTarget>
286 </configuration>
287 <executions>
288 <execution>
289 <configuration>
290 <!-- if you don't specify any modules, the plugin will find
291 them -->
292 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
293 </modules> -->
294 </configuration>
295 <goals>
296 <goal>clean</goal>
297 <goal>resources</goal>
298 <goal>update-theme</goal>
299 <goal>update-widgetset</goal>
300 <goal>compile-theme</goal>
301 <goal>compile</goal>
302 </goals>
303 </execution>
304 </executions>
305 </plugin>
306 <plugin>
307 <groupId>org.eclipse.jetty</groupId>
308 <artifactId>jetty-maven-plugin</artifactId>
309 <version>9.4.15.v20190215</version>
310 <!--
311 NOTE:
312 9.4.0.RC1 requires jdk 1.8, formerly we've been using version 9.1.3.v20140225 which was
313 the last version compatible to java 7, but this was causing other problems related to asm
314 which could not be easily solved.
315 -->
316 <configuration>
317 <useTestScope>true</useTestScope>
318 <scanIntervalSeconds>2</scanIntervalSeconds>
319 <systemProperties>
320 <force>true</force>
321 <systemProperty>
322 <name>cdm.datasource</name>
323 <value>h2_cdmTest</value>
324 </systemProperty>
325 <systemProperty>
326 <name>hibernate.hbm2ddl.auto</name>
327 <value>create-drop</value>
328 </systemProperty>
329 <systemProperty>
330 <!--
331 The lucene index should be placed into the target folder,
332 so user.home needs to be set to this folder. user.home needs to be overridden
333 since it already exists, thus the force option is turned on above
334 -->
335 <name>user.home</name>
336 <value>${basedir}/target/</value>
337 </systemProperty>
338 <systemProperty>
339 <!--
340 datasources.xml is prepared by <plugins><resources>..</resources> above
341 -->
342 <name>cdm.beanDefinitionFile</name>
343 <value>${project.build.directory}/test-classes/datasources.xml</value>
344 </systemProperty>
345 </systemProperties>
346 </configuration>
347 <dependencies>
348 <dependency>
349 <groupId>org.slf4j</groupId>
350 <artifactId>slf4j-log4j12</artifactId>
351 <version>1.6.4</version>
352 </dependency>
353 </dependencies>
354 </plugin>
355 <plugin>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-failsafe-plugin</artifactId>
358 <version>3.0.0-M5</version>
359 <configuration>
360 <!-- Remove the skipTests line below to run TestBench tests -->
361 <!-- <skipTests>true</skipTests> -->
362 </configuration>
363 <executions>
364 <execution>
365 <goals>
366 <goal>integration-test</goal>
367 <goal>verify</goal>
368 </goals>
369 </execution>
370 </executions>
371 </plugin>
372 <!-- Browser Driver Downloader -->
373 <plugin>
374 <groupId>com.lazerycode.selenium</groupId>
375 <artifactId>driver-binary-downloader-maven-plugin</artifactId>
376 <version>1.0.18</version>
377 <!-- has a bug -->
378 <configuration>
379 <rootStandaloneServerDirectory>selenium/bin</rootStandaloneServerDirectory>
380 <downloadedZipFileDirectory>selenium/zip</downloadedZipFileDirectory>
381 </configuration>
382 <executions>
383 <execution>
384 <goals>
385 <goal>selenium</goal>
386 </goals>
387 </execution>
388 </executions>
389 </plugin>
390 <plugin>
391 <!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
392 <artifactId>jgitflow-maven-plugin</artifactId>
393 <version>1.0-m8</version> -->
394 <groupId>external.atlassian.jgitflow</groupId>
395 <artifactId>jgitflow-maven-plugin</artifactId>
396 <version>1.0-m6</version>
397 <configuration>
398 <pushHotfixes>true</pushHotfixes>
399 <pushReleases>true</pushReleases>
400 <enableSshAgent>true</enableSshAgent>
401 <allowSnapshots>true</allowSnapshots>
402 <allowUntracked>true</allowUntracked>
403 </configuration>
404 <dependencies>
405 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
406 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
407 6.7 -->
408 <dependency>
409 <groupId>com.jcraft</groupId>
410 <artifactId>jsch</artifactId>
411 <version>0.1.55</version>
412 </dependency>
413 </dependencies>
414 </plugin>
415 <plugin>
416 <groupId>org.apache.maven.plugins</groupId>
417 <artifactId>maven-enforcer-plugin</artifactId>
418 <version>3.1.0</version>
419 <executions>
420 <execution>
421 <id>enforce</id>
422 <configuration>
423 <fail>false</fail>
424 <skip>false</skip>
425 <rules>
426 <dependencyConvergence />
427 <requireMavenVersion>
428 <version>[3.6.3,)</version>
429 </requireMavenVersion>
430 </rules>
431 </configuration>
432 <goals>
433 <goal>enforce</goal>
434
435 <!-- Binds by default to the lifecycle phase: validate -->
436 </goals>
437 </execution>
438 </executions>
439 </plugin>
440 </plugins>
441 <extensions>
442 <extension>
443 <groupId>org.apache.maven.wagon</groupId>
444 <artifactId>wagon-scm</artifactId>
445 <version>3.5.1</version>
446 </extension>
447 <extension>
448 <groupId>org.apache.maven.wagon</groupId>
449 <artifactId>wagon-ssh</artifactId>
450 <version>3.5.1</version>
451 </extension>
452 <extension>
453 <groupId>org.apache.maven.wagon</groupId>
454 <artifactId>wagon-ssh-external</artifactId>
455 <version>3.5.1</version>
456 </extension>
457 <extension>
458 <groupId>org.apache.maven.scm</groupId>
459 <artifactId>maven-scm-manager-plexus</artifactId>
460 <version>1.12.2</version>
461 </extension>
462 <extension>
463 <groupId>org.apache.maven.scm</groupId>
464 <artifactId>maven-scm-provider-svnexe</artifactId>
465 <version>1.12.2</version>
466 </extension>
467 <!-- WebDAV plugin to upload snapshots -->
468 <extension>
469 <groupId>org.apache.maven.wagon</groupId>
470 <artifactId>wagon-webdav-jackrabbit</artifactId>
471 <version>3.5.1</version>
472 </extension>
473 </extensions>
474 <pluginManagement>
475 <plugins>
476 <plugin>
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-eclipse-plugin</artifactId>
479 <version>2.10</version>
480 <configuration>
481 <wtpversion>2.0</wtpversion>
482 <additionalProjectnatures>
483 <projectnature>com.vaadin.integration.eclipse.widgetsetNature</projectnature>
484 </additionalProjectnatures>
485 <additionalBuildcommands>
486 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder</buildcommand>
487 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder</buildcommand>
488 </additionalBuildcommands>
489 </configuration>
490 </plugin>
491 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
492 <plugin>
493 <groupId>org.eclipse.m2e</groupId>
494 <artifactId>lifecycle-mapping</artifactId>
495 <version>1.0.0</version>
496 <configuration>
497 <lifecycleMappingMetadata>
498 <pluginExecutions>
499 <pluginExecution>
500 <pluginExecutionFilter>
501 <groupId>com.lazerycode.selenium</groupId>
502 <artifactId>
503 driver-binary-downloader-maven-plugin
504 </artifactId>
505 <versionRange>[1.0.14,)</versionRange>
506 <goals>
507 <goal>selenium</goal>
508 </goals>
509 </pluginExecutionFilter>
510 <action>
511 <ignore />
512 </action>
513 </pluginExecution>
514 </pluginExecutions>
515 </lifecycleMappingMetadata>
516 </configuration>
517 </plugin>
518 </plugins>
519 </pluginManagement>
520 </build>
521 <dependencies>
522 <!-- ============ Vaadin ============ -->
523 <dependency>
524 <groupId>com.vaadin</groupId>
525 <artifactId>vaadin-spring</artifactId>
526 <version>${vaadin-spring.version}</version>
527 </dependency>
528 <dependency>
529 <groupId>org.vaadin.spring.addons</groupId>
530 <artifactId>vaadin-spring-addon-eventbus</artifactId>
531 <version>${vaadin-spring-addon-eventbus.version}</version>
532 </dependency>
533 <dependency>
534 <groupId>com.vaadin</groupId>
535 <artifactId>vaadin-server</artifactId>
536
537 <!--
538 vaadin-server dependency jsoup upgraded due to https://vaadin.com/security/2021-10-27
539 further updating of vaadin 7 is no longer possible without purchasing the pro license
540 -->
541 </dependency>
542 <dependency>
543 <groupId>com.vaadin</groupId>
544 <artifactId>vaadin-client-compiled</artifactId>
545 </dependency>
546 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
547 For widgetset compilation, vaadin-client-compiler is automatically added
548 on the compilation classpath by vaadin-maven-plugin so normally there is
549 no need for an explicit dependency. -->
550 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
551 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
552 <dependency>
553 <groupId>com.vaadin</groupId>
554 <artifactId>vaadin-client</artifactId>
555 <scope>test</scope>
556 <exclusions>
557 <exclusion>
558 <groupId>javax.validation</groupId>
559 <artifactId>validation-api</artifactId>
560 </exclusion>
561 </exclusions>
562 </dependency>
563 <!-- disabling push for the moment because it does not work with run-jetty-run
564 due to the fact that the latest (even nightly) version of run-jetty-run uses
565 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
566 included in this pom which is 9.2.5.xx, implying that enabling the dependency
567 and running the web app via 'mvn jetty:run' works fine. -->
568 <!-- <dependency> -->
569 <!-- <groupId>com.vaadin</groupId> -->
570 <!-- <artifactId>vaadin-push</artifactId> -->
571 <!-- <version>${vaadin.version}</version> -->
572 <!-- </dependency> -->
573 <dependency>
574 <groupId>com.vaadin</groupId>
575 <artifactId>vaadin-themes</artifactId>
576 </dependency>
577 <!-- vaadin addons / extensions -->
578 <dependency>
579 <groupId>org.vaadin.addons</groupId>
580 <artifactId>contextmenu</artifactId>
581 <version>4.5</version>
582 </dependency>
583 <dependency>
584 <groupId>org.vaadin.teemu</groupId>
585 <artifactId>switch</artifactId>
586 <version>2.0.4-SNAPSHOT</version>
587 </dependency>
588 <dependency>
589 <groupId>org.vaadin</groupId>
590 <artifactId>viritin</artifactId>
591 <version>1.61</version>
592 </dependency>
593 <dependency>
594 <groupId>org.vaadin.addon</groupId>
595 <artifactId>v-leaflet</artifactId>
596 <version>1.0.3</version>
597 </dependency>
598 <dependency>
599 <groupId>org.vaadin.addons.lazyquerycontainer</groupId>
600 <artifactId>vaadin-lazyquerycontainer</artifactId>
601 <version>7.6.1.3</version>
602 </dependency>
603 <dependency>
604 <groupId>com.flowingcode.vaadin.addons</groupId>
605 <artifactId>error-window-vaadin</artifactId>
606 <version>1.0.0</version>
607 </dependency>
608 <!--
609 <dependency>
610 <groupId>org.vaadin.spring.extensions</groupId>
611 <artifactId>vaadin-spring-ext-test</artifactId>
612 <version>0.0.8-SNAPSHOT</version>
613 <scope>test</scope>
614 </dependency>
615 -->
616 <!-- <dependency>
617 only in the edit repo
618 <groupId>org.vaadin.addons</groupId>
619 <artifactId>lazyloadwrapper</artifactId>
620 <version>0.1-alpha</version>
621 </dependency> -->
622 <!-- ============ cdmlib ============ -->
623 <dependency>
624 <groupId>eu.etaxonomy</groupId>
625 <artifactId>cdmlib-remote</artifactId>
626 <scope>compile</scope>
627 </dependency>
628 <dependency>
629 <groupId>eu.etaxonomy</groupId>
630 <artifactId>cdmlib-cache</artifactId>
631 <version>${cdmlib.version}</version>
632 </dependency>
633 <dependency>
634 <groupId>eu.etaxonomy</groupId>
635 <artifactId>cdmlib-test</artifactId>
636 <scope>test</scope>
637 </dependency>
638 <dependency>
639 <groupId>eu.etaxonomy</groupId>
640 <artifactId>cdmlib-db</artifactId>
641 <version>${cdmlib.version}</version>
642 <scope>test</scope>
643 </dependency>
644 <!-- ============ Other ============ -->
645 <!--
646 to override version number coming with vaadin client
647 version is managed in cdmlib-parent
648 -->
649 <dependency>
650 <groupId>javax.validation</groupId>
651 <artifactId>validation-api</artifactId>
652 </dependency>
653 <!-- <dependency>
654 <groupId>org.springmodules</groupId>
655 <artifactId>spring-modules-cache</artifactId>
656 <version>0.7</version>
657 <exclusions>
658 <exclusion>
659 <groupId>org.springframework</groupId>
660 <artifactId>spring</artifactId>
661 </exclusion>
662 <exclusion>
663 <groupId>org.springframework</groupId>
664 <artifactId>spring-mock</artifactId>
665 </exclusion>
666 </exclusions>
667 <scope>test</scope>
668 </dependency> -->
669 <dependency>
670 <groupId>org.springframework</groupId>
671 <artifactId>spring-test</artifactId>
672 <scope>test</scope>
673 </dependency>
674 <dependency>
675 <groupId>org.json</groupId>
676 <artifactId>json</artifactId>
677 </dependency>
678 <dependency>
679 <groupId>javax.servlet</groupId>
680 <artifactId>javax.servlet-api</artifactId>
681 <scope>provided</scope>
682 </dependency>
683 <!-- ========== testing ======== -->
684 <dependency>
685 <groupId>com.codeborne</groupId>
686 <artifactId>selenide</artifactId>
687 <version>4.7.1</version>
688 <scope>test</scope>
689 </dependency>
690 <dependency>
691 <groupId>org.springframework.boot</groupId>
692 <artifactId>spring-boot</artifactId>
693 </dependency>
694 <dependency>
695 <groupId>org.springframework.boot</groupId>
696 <artifactId>spring-boot-starter-jetty</artifactId>
697 </dependency>
698 <dependency>
699 <groupId>org.springframework</groupId>
700 <artifactId>spring-beans</artifactId>
701 </dependency>
702 </dependencies>
703 </project>