* Java 3590 (#11367) * JAVA-3590: updating junit-jupiter dependency in the main pom.xml * resolving unnecessary mockito stubbings exception * adding junit-bom in dependency management * fixing tests which were not getting discovered * Revert "fixing tests which were not getting discovered" This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263. * fixing tests in ninja, open-liberty and spring-ejb * removing junit4 dependency and replacing it with junit-vintage-engine * removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda * removing junit dependency and replacing it with junit-vintage-engine * removing junit and replacing it with junit-vintage-engine * fixing tests that were not getting discovered due to old version of junit:junit * updated failsafe plugin configuration to skip integration tests in blade * fixing tests that were not getting discovered due to old version of junit:junit * fixing tests in libraries and libraries-2 modules Co-authored-by: chaos2418 <> * Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382) * JAVA-3590: updating junit-jupiter dependency in the main pom.xml * resolving unnecessary mockito stubbings exception * adding junit-bom in dependency management * fixing tests which were not getting discovered * Revert "fixing tests which were not getting discovered" This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263. * fixing tests in ninja, open-liberty and spring-ejb * removing junit4 dependency and replacing it with junit-vintage-engine * removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda * removing junit dependency and replacing it with junit-vintage-engine * removing junit and replacing it with junit-vintage-engine * fixing tests that were not getting discovered due to old version of junit:junit * updated failsafe plugin configuration to skip integration tests in blade * fixing tests that were not getting discovered due to old version of junit:junit * fixing tests in libraries and libraries-2 modules * fixing integration tests in restx and spring-5-webflux Co-authored-by: chaos2418 <> Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
114 lines
4.7 KiB
XML
114 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
<!-- POM file generated with GWT webAppCreator -->
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>google-web-toolkit</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>google-web-toolkit</name>
|
|
<packaging>war</packaging>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>parent-modules</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- ensure all GWT deps use the same version (unless overridden) -->
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt</artifactId>
|
|
<version>${gwt.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-servlet</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-user</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-dev</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.vintage</groupId>
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
<version>${junit-jupiter.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes" update them
|
|
in DevMode -->
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
|
|
<plugins>
|
|
<!-- GWT Maven Plugin -->
|
|
<plugin>
|
|
<groupId>net.ltgt.gwt.maven</groupId>
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
|
<version>${gwt.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>test</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<moduleName>com.baeldung.Google_web_toolkit</moduleName>
|
|
<moduleShortName>Google_web_toolkit</moduleShortName>
|
|
<failOnError>true</failOnError>
|
|
<!-- GWT compiler 2.8 requires 1.8, hence define sourceLevel here if you use a different
|
|
source language for java compilation -->
|
|
<sourceLevel>${maven.compiler.source}</sourceLevel>
|
|
<!-- Compiler configuration -->
|
|
<compilerArgs>
|
|
<!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
|
|
<arg>-compileReport</arg>
|
|
<arg>-XcompilerMetrics</arg>
|
|
</compilerArgs>
|
|
<!-- DevMode configuration -->
|
|
<warDir>${project.build.directory}/${project.build.finalName}</warDir>
|
|
<classpathScope>compile+runtime</classpathScope>
|
|
<!-- URL(s) that should be opened by DevMode (gwt:devmode). -->
|
|
<startupUrls>
|
|
<startupUrl>Google_web_toolkit.html</startupUrl>
|
|
</startupUrls>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Skip normal test execution, we use gwt:test instead -->
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<!-- Setting maven.compiler.source to something different to 1.8 needs that you configure the
|
|
sourceLevel in gwt-maven-plugin since GWT compiler 2.8 requires 1.8 (see gwt-maven-plugin block below) -->
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<gwt.version>2.8.2</gwt.version>
|
|
<gwt.plugin.version>1.0-rc-8</gwt.plugin.version>
|
|
</properties>
|
|
|
|
</project> |