BAEL-10957 Fix Jhipster Module Tests and Module Renaming
-Added hibernate-java8 dependency in jhipster parent project to fix mapping of Java8 Date, Time types to database types and thereby fix all the tests that were failing due to this
This commit is contained in:
parent
1f933b8f8f
commit
cf5c99745f
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>jhipster-monolithic</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<name>jhipster-monolithic</name>
|
||||
<name>jhipster-monolithic</name>
|
||||
<description>JHipster Monolithic Application</description>
|
||||
|
||||
<parent>
|
||||
|
@ -87,7 +87,7 @@
|
|||
<dependency>
|
||||
<groupId>io.dropwizard.metrics</groupId>
|
||||
<artifactId>metrics-annotation</artifactId>
|
||||
</dependency>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.dropwizard.metrics</groupId>
|
||||
<artifactId>metrics-core</artifactId>
|
||||
|
@ -95,15 +95,15 @@
|
|||
<dependency>
|
||||
<groupId>io.dropwizard.metrics</groupId>
|
||||
<artifactId>metrics-json</artifactId>
|
||||
</dependency>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.dropwizard.metrics</groupId>
|
||||
<artifactId>metrics-jvm</artifactId>
|
||||
</dependency>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.dropwizard.metrics</groupId>
|
||||
<artifactId>metrics-servlet</artifactId>
|
||||
</dependency>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.dropwizard.metrics</groupId>
|
||||
<artifactId>metrics-servlets</artifactId>
|
||||
|
@ -201,10 +201,6 @@
|
|||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-java8</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.liquibase</groupId>
|
||||
<artifactId>liquibase-core</artifactId>
|
||||
|
@ -301,8 +297,8 @@
|
|||
<defaultGoal>spring-boot:run</defaultGoal>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven
|
||||
build itself. Remove when the m2e plugin can correctly bind to Maven lifecycle -->
|
||||
<!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. Remove when the m2e plugin can correctly
|
||||
bind to Maven lifecycle -->
|
||||
<plugin>
|
||||
<groupId>org.eclipse.m2e</groupId>
|
||||
<artifactId>lifecycle-mapping</artifactId>
|
||||
|
@ -344,11 +340,27 @@
|
|||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<!-- <plugin> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> <version>${sortpom-maven-plugin.version}</version>
|
||||
<executions> <execution> <phase>verify</phase> <goals> <goal>sort</goal> </goals> </execution> </executions> <configuration>
|
||||
<sortProperties>true</sortProperties> <nrOfIndentSpace>4</nrOfIndentSpace> <sortDependencies>groupId,artifactId</sortDependencies>
|
||||
<sortPlugins>groupId,artifactId</sortPlugins> <keepBlankLines>true</keepBlankLines> <expandEmptyElements>false</expandEmptyElements>
|
||||
</configuration> </plugin> -->
|
||||
<!-- <plugin>
|
||||
<groupId>com.github.ekryd.sortpom</groupId>
|
||||
<artifactId>sortpom-maven-plugin</artifactId>
|
||||
<version>${sortpom-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sort</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<sortProperties>true</sortProperties>
|
||||
<nrOfIndentSpace>4</nrOfIndentSpace>
|
||||
<sortDependencies>groupId,artifactId</sortDependencies>
|
||||
<sortPlugins>groupId,artifactId</sortPlugins>
|
||||
<keepBlankLines>true</keepBlankLines>
|
||||
<expandEmptyElements>false</expandEmptyElements>
|
||||
</configuration>
|
||||
</plugin> -->
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
|
@ -375,8 +387,7 @@
|
|||
<resultsFolder>target/gatling/results</resultsFolder>
|
||||
<bodiesFolder>src/test/gatling/bodies</bodiesFolder>
|
||||
<simulationsFolder>src/test/gatling/simulations</simulationsFolder>
|
||||
<!-- This will run multiple simulations one by one. Useful when doing gatling tests in CI You must remove
|
||||
the simulationClass property in order to run multiple simulations -->
|
||||
<!-- This will run multiple simulations one by one. Useful when doing gatling tests in CI You must remove the simulationClass property in order to run multiple simulations -->
|
||||
<runMultipleSimulations>true</runMultipleSimulations>
|
||||
<!-- This will force Gatling to ask which simulation to run This is useful when you have multiple simulations -->
|
||||
<!-- <simulationClass>*</simulationClass> -->
|
||||
|
@ -740,9 +751,8 @@
|
|||
</dependencies>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- Profile for doing "continuous compilation" with the Scala Maven plugin. It allows automatic compilation
|
||||
of Java classes as soon as they are saved. To use it, run in 3 terminals: - './mvnw -Pcc scala:cc' for continous compilation
|
||||
of your classes - './mvnw -Pcc' for hot reload of Spring boot - 'gulp' for hot reload of the HTML/JavaScript assets Everything
|
||||
<!-- Profile for doing "continuous compilation" with the Scala Maven plugin. It allows automatic compilation of Java classes as soon as they are saved. To use it, run in
|
||||
3 terminals: - './mvnw -Pcc scala:cc' for continous compilation of your classes - './mvnw -Pcc' for hot reload of Spring boot - 'gulp' for hot reload of the HTML/JavaScript assets Everything
|
||||
should hot reload automatically! -->
|
||||
<id>cc</id>
|
||||
<build>
|
||||
|
@ -858,8 +868,7 @@
|
|||
</dependencies>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- Profile for applying IDE-specific configuration. At the moment it only configures MapStruct, which you need
|
||||
when working with DTOs. -->
|
||||
<!-- Profile for applying IDE-specific configuration. At the moment it only configures MapStruct, which you need when working with DTOs. -->
|
||||
<id>IDE</id>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -921,16 +930,15 @@
|
|||
|
||||
<sonar.issue.ignore.multicriteria>S3437,UndocumentedApi,BoldAndItalicTagsCheck</sonar.issue.ignore.multicriteria>
|
||||
|
||||
<!-- Rule https://sonarqube.com/coding_rules#rule_key=Web%3ABoldAndItalicTagsCheck is ignored. Even if we agree that
|
||||
using the "i" tag is an awful practice, this is what is recommended by http://fontawesome.io/examples/ -->
|
||||
<!-- Rule https://sonarqube.com/coding_rules#rule_key=Web%3ABoldAndItalicTagsCheck is ignored. Even if we agree that using the "i" tag is an awful practice, this is what is
|
||||
recommended by http://fontawesome.io/examples/ -->
|
||||
<sonar.issue.ignore.multicriteria.BoldAndItalicTagsCheck.resourceKey>src/main/webapp/app/**/*.*</sonar.issue.ignore.multicriteria.BoldAndItalicTagsCheck.resourceKey>
|
||||
<sonar.issue.ignore.multicriteria.BoldAndItalicTagsCheck.ruleKey>Web:BoldAndItalicTagsCheck</sonar.issue.ignore.multicriteria.BoldAndItalicTagsCheck.ruleKey>
|
||||
<!-- Rule https://sonarqube.com/coding_rules#rule_key=squid%3AS3437 is ignored, as a JPA-managed field cannot be
|
||||
transient -->
|
||||
<!-- Rule https://sonarqube.com/coding_rules#rule_key=squid%3AS3437 is ignored, as a JPA-managed field cannot be transient -->
|
||||
<sonar.issue.ignore.multicriteria.S3437.resourceKey>src/main/java/**/*</sonar.issue.ignore.multicriteria.S3437.resourceKey>
|
||||
<sonar.issue.ignore.multicriteria.S3437.ruleKey>squid:S3437</sonar.issue.ignore.multicriteria.S3437.ruleKey>
|
||||
<!-- Rule http://sonarqube.com/coding_rules#rule_key=squid%3AUndocumentedApi is ignored, as we want to follow "clean
|
||||
code" guidelines and classes, methods and arguments names should be self-explanatory -->
|
||||
<!-- Rule http://sonarqube.com/coding_rules#rule_key=squid%3AUndocumentedApi is ignored, as we want to follow "clean code" guidelines and classes, methods and arguments names
|
||||
should be self-explanatory -->
|
||||
<sonar.issue.ignore.multicriteria.UndocumentedApi.resourceKey>src/main/java/**/*</sonar.issue.ignore.multicriteria.UndocumentedApi.resourceKey>
|
||||
<sonar.issue.ignore.multicriteria.UndocumentedApi.ruleKey>squid:UndocumentedApi</sonar.issue.ignore.multicriteria.UndocumentedApi.ruleKey>
|
||||
|
||||
|
|
|
@ -15,10 +15,17 @@
|
|||
<relativePath>../parent-boot-1</relativePath>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-java8</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<modules>
|
||||
<module>jhipster-monolithic</module>
|
||||
<module>jhipster-microservice</module>
|
||||
<module>jhipster-uaa</module>
|
||||
</modules>
|
||||
|
||||
<module>jhipster-uaa</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue