Bael 5249 cleanup (#4108)
* Added parent module on poms that have no parent defined * Removed dependency reduced pom from undertow module * [BAEL-5249] - 21.02 - pom cleanup - formatted pom.xml
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
3998fff6a5
commit
f2128ad054
@@ -47,8 +47,8 @@
|
||||
<metrics-spring.version>3.1.3</metrics-spring.version>
|
||||
<node.version>v6.10.0</node.version>
|
||||
<!-- These remain empty unless the corresponding profile is active -->
|
||||
<profile.no-liquibase />
|
||||
<profile.swagger />
|
||||
<profile.no-liquibase/>
|
||||
<profile.swagger/>
|
||||
<!-- Sonar properties -->
|
||||
<project.testresult.directory>${project.build.directory}/test-results</project.testresult.directory>
|
||||
<prometheus-simpleclient.version>0.0.20</prometheus-simpleclient.version>
|
||||
@@ -454,7 +454,7 @@
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore />
|
||||
<ignore/>
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
@@ -657,9 +657,9 @@
|
||||
<diffChangeLogFile>src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
|
||||
<driver>org.h2.Driver</driver>
|
||||
<url>jdbc:h2:file:./target/h2db/db/carapp</url>
|
||||
<defaultSchemaName />
|
||||
<defaultSchemaName/>
|
||||
<username>carapp</username>
|
||||
<password />
|
||||
<password/>
|
||||
<referenceUrl>hibernate:spring:com.car.app.domain?dialect=org.hibernate.dialect.H2Dialect&hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy</referenceUrl>
|
||||
<verbose>true</verbose>
|
||||
<logging>debug</logging>
|
||||
@@ -708,7 +708,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<configuration />
|
||||
<configuration/>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
@@ -747,7 +747,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<configuration />
|
||||
<configuration/>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
||||
@@ -47,8 +47,8 @@
|
||||
<metrics-spring.version>3.1.3</metrics-spring.version>
|
||||
<node.version>v6.10.0</node.version>
|
||||
<!-- These remain empty unless the corresponding profile is active -->
|
||||
<profile.no-liquibase />
|
||||
<profile.swagger />
|
||||
<profile.no-liquibase/>
|
||||
<profile.swagger/>
|
||||
<prometheus-simpleclient.version>0.0.20</prometheus-simpleclient.version>
|
||||
<!-- Sonar properties -->
|
||||
<project.testresult.directory>${project.build.directory}/test-results</project.testresult.directory>
|
||||
@@ -679,7 +679,7 @@
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
<profiles>
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
<metrics-spring.version>3.1.3</metrics-spring.version>
|
||||
<node.version>v6.10.0</node.version>
|
||||
<!-- These remain empty unless the corresponding profile is active -->
|
||||
<profile.no-liquibase />
|
||||
<profile.swagger />
|
||||
<profile.no-liquibase/>
|
||||
<profile.swagger/>
|
||||
<prometheus-simpleclient.version>0.0.20</prometheus-simpleclient.version>
|
||||
<!-- Sonar properties -->
|
||||
<project.testresult.directory>${project.build.directory}/test-results</project.testresult.directory>
|
||||
@@ -736,7 +736,7 @@
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
<profiles>
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
<node.version>v6.10.0</node.version>
|
||||
<npm.version>4.3.0</npm.version>
|
||||
<!-- These remain empty unless the corresponding profile is active -->
|
||||
<profile.no-liquibase />
|
||||
<profile.swagger />
|
||||
<profile.no-liquibase/>
|
||||
<profile.swagger/>
|
||||
<!-- Sonar properties -->
|
||||
<project.testresult.directory>${project.build.directory}/test-results</project.testresult.directory>
|
||||
<prometheus-simpleclient.version>0.0.20</prometheus-simpleclient.version>
|
||||
@@ -63,21 +63,22 @@
|
||||
|
||||
<sonar.exclusions>src/main/webapp/content/**/*.*,
|
||||
src/main/webapp/bower_components/**/*.*,
|
||||
src/main/webapp/i18n/*.js, target/www/**/*.*</sonar.exclusions>
|
||||
src/main/webapp/i18n/*.js, target/www/**/*.*
|
||||
</sonar.exclusions>
|
||||
|
||||
<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,
|
||||
<!-- 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
|
||||
<!-- 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
|
||||
<!-- 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>
|
||||
@@ -128,7 +129,7 @@
|
||||
<groupId>com.jayway.jsonpath</groupId>
|
||||
<artifactId>json-path</artifactId>
|
||||
<scope>test</scope>
|
||||
<!-- parent POM declares this dependency in default (compile)
|
||||
<!-- parent POM declares this dependency in default (compile)
|
||||
scope -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -392,8 +393,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
|
||||
<!-- 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>
|
||||
@@ -412,7 +413,7 @@
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore />
|
||||
<ignore/>
|
||||
</action>
|
||||
</pluginExecution>
|
||||
<pluginExecution>
|
||||
@@ -426,7 +427,7 @@
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore />
|
||||
<ignore/>
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
@@ -483,11 +484,11 @@
|
||||
<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
|
||||
<!-- 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
|
||||
<!-- This will force Gatling to ask which simulation
|
||||
to run This is useful when you have multiple simulations -->
|
||||
<!-- <simulationClass>*</simulationClass> -->
|
||||
</configuration>
|
||||
@@ -533,13 +534,15 @@
|
||||
<requireMavenVersion>
|
||||
<message>You are running an older version of
|
||||
Maven. JHipster requires at least Maven
|
||||
${maven.version}</message>
|
||||
${maven.version}
|
||||
</message>
|
||||
<version>[${maven.version},)</version>
|
||||
</requireMavenVersion>
|
||||
<requireJavaVersion>
|
||||
<message>You are running an older version of
|
||||
Java. JHipster requires at least JDK
|
||||
${java.version}</message>
|
||||
${java.version}
|
||||
</message>
|
||||
<version>[${java.version}.0,)</version>
|
||||
</requireJavaVersion>
|
||||
</rules>
|
||||
@@ -588,7 +591,7 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<!-- Force alphabetical order to have a reproducible
|
||||
<!-- Force alphabetical order to have a reproducible
|
||||
build -->
|
||||
<runOrder>alphabetical</runOrder>
|
||||
<excludes>
|
||||
@@ -608,12 +611,12 @@
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<!-- Sets the path to the file which contains
|
||||
<!-- Sets the path to the file which contains
|
||||
the execution data. -->
|
||||
<destFile>${project.testresult.directory}/coverage/jacoco/jacoco.exec</destFile>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- Ensures that the code coverage report for unit tests
|
||||
<!-- Ensures that the code coverage report for unit tests
|
||||
is created after unit tests have been run -->
|
||||
<execution>
|
||||
<id>post-unit-test</id>
|
||||
@@ -659,9 +662,9 @@
|
||||
<diffChangeLogFile>src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
|
||||
<driver>org.h2.Driver</driver>
|
||||
<url>jdbc:h2:file:./target/h2db/db/baeldung</url>
|
||||
<defaultSchemaName />
|
||||
<defaultSchemaName/>
|
||||
<username>baeldung</username>
|
||||
<password />
|
||||
<password/>
|
||||
<referenceUrl>hibernate:spring:com.baeldung.domain?dialect=org.hibernate.dialect.H2Dialect&hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy</referenceUrl>
|
||||
<verbose>true</verbose>
|
||||
<logging>debug</logging>
|
||||
@@ -678,7 +681,7 @@
|
||||
<configuration>
|
||||
<executable>true</executable>
|
||||
<fork>true</fork>
|
||||
<!-- Enable the line below to have remote debugging of
|
||||
<!-- Enable the line below to have remote debugging of
|
||||
your application on port 5005 <jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmArguments> -->
|
||||
</configuration>
|
||||
</plugin>
|
||||
@@ -862,11 +865,11 @@
|
||||
</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 should
|
||||
<!-- 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>
|
||||
@@ -927,7 +930,7 @@
|
||||
<executable>true</executable>
|
||||
<fork>true</fork>
|
||||
<addResources>true</addResources>
|
||||
<!-- Enable the line below to have remote debugging
|
||||
<!-- Enable the line below to have remote debugging
|
||||
of your application on port 5005 <jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmArguments> -->
|
||||
</configuration>
|
||||
</plugin>
|
||||
@@ -983,7 +986,7 @@
|
||||
</dependencies>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- Profile for applying IDE-specific configuration. At the
|
||||
<!-- Profile for applying IDE-specific configuration. At the
|
||||
moment it only configures MapStruct, which you need when working with DTOs. -->
|
||||
<id>IDE</id>
|
||||
<dependencies>
|
||||
|
||||
Reference in New Issue
Block a user