JAVA-15409: Fix formatting of POMs (#12992)
This commit is contained in:
@@ -32,10 +32,13 @@
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>${mysql.driver.version}</version>
|
||||
</dependency>
|
||||
<!-- ================================================================== This jar is not in maven
|
||||
central repo due to some license issues. We need to manually download and install to maven repository.
|
||||
================================================================== <dependency> <groupId>com.oracle</groupId>
|
||||
<artifactId>ojdbc14</artifactId> <version>${oracle.driver.version}</version> </dependency> -->
|
||||
<!-- This jar is not in maven central repo due to some license issues. -->
|
||||
<!-- We need to manually download and install to maven repository. -->
|
||||
<!-- <dependency> -->
|
||||
<!-- <groupId>com.oracle</groupId> -->
|
||||
<!-- <artifactId>ojdbc14</artifactId> -->
|
||||
<!-- <version>${oracle.driver.version}</version> -->
|
||||
<!-- </dependency> -->
|
||||
<dependency>
|
||||
<groupId>com.microsoft.sqlserver</groupId>
|
||||
<artifactId>mssql-jdbc</artifactId>
|
||||
|
||||
@@ -18,20 +18,23 @@
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- for junit5 to successfully be able to discover junit4 tests, we need 4.12+ version of
|
||||
junit:junit in the classpath. hence forcing the latest 4.13.2 available version for junit5 compatibility -->
|
||||
<!-- for junit5 to successfully be able to discover junit4 tests, we need 4.12+ version of -->
|
||||
<!-- junit:junit in the classpath. hence forcing the latest 4.13.2 available version for -->
|
||||
<!-- junit5 compatibility -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- JBoss distributes a complete set of Java EE 7 APIs including a Bill of Materials (BOM).
|
||||
A BOM specifies the versions of a "stack" (or a collection) of artifacts. We use this here so that we
|
||||
always get the correct versions of artifacts. Here we use the jboss-javaee-7.0-with-tools stack (you
|
||||
can read this as the JBoss stack of the Java EE 7 APIs, with some extras tools for your project, such
|
||||
as Arquillian for testing) and the jboss-javaee-7.0-with-hibernate stack you can read this as the JBoss
|
||||
stack of the Java EE 7 APIs, with extras from the Hibernate family of projects) -->
|
||||
<!-- JBoss distributes a complete set of Java EE 7 APIs including a Bill of Materials (BOM). -->
|
||||
<!-- A BOM specifies the versions of a "stack" (or a collection) of artifacts. -->
|
||||
<!-- We use this here so that we always get the correct versions of artifacts. -->
|
||||
<!-- Here we use the jboss-javaee-7.0-with-tools stack (you can read this -->
|
||||
<!-- as the JBoss stack of the Java EE 7 APIs, with some extras tools for your project, such -->
|
||||
<!-- as Arquillian for testing) and the jboss-javaee-7.0-with-hibernate stack -->
|
||||
<!-- you can read this as the JBoss -->
|
||||
<!-- stack of the Java EE 7 APIs, with extras from the Hibernate family of projects) -->
|
||||
<dependency>
|
||||
<groupId>org.wildfly.bom</groupId>
|
||||
<artifactId>jboss-javaee-7.0-with-tools</artifactId>
|
||||
@@ -57,16 +60,16 @@
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<!-- First declare the APIs we depend on and need for compilation. All of them are provided by
|
||||
JBoss WildFly -->
|
||||
<!-- First declare the APIs we depend on and need for compilation. -->
|
||||
<!-- All of them are provided by JBoss WildFly -->
|
||||
<!-- Import the CDI API, we use provided scope as the API is included in JBoss WildFly -->
|
||||
<dependency>
|
||||
<groupId>javax.enterprise</groupId>
|
||||
<artifactId>cdi-api</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- Import the Common Annotations API (JSR-250), we use provided scope as the API is included
|
||||
in JBoss WildFly -->
|
||||
<!-- Import the Common Annotations API (JSR-250), we use provided scope -->
|
||||
<!--as the API is included in JBoss WildFly -->
|
||||
<dependency>
|
||||
<groupId>org.jboss.spec.javax.annotation</groupId>
|
||||
<artifactId>jboss-annotations-api_1.2_spec</artifactId>
|
||||
@@ -117,16 +120,16 @@
|
||||
<artifactId>hibernate-jpamodelgen</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- Annotation processor that raising compilation errors whenever constraint annotations are
|
||||
incorrectly used. -->
|
||||
<!-- Annotation processor that raising compilation errors -->
|
||||
<!--whenever constraint annotations are incorrectly used. -->
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator-annotation-processor</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- Optional, but highly recommended -->
|
||||
<!-- Arquillian allows you to test enterprise code such as EJBs and Transactional(JTA) JPA from
|
||||
JUnit/TestNG -->
|
||||
<!-- Arquillian allows you to test enterprise code such as -->
|
||||
<!--EJBs and Transactional(JTA) JPA from JUnit/TestNG -->
|
||||
<dependency>
|
||||
<groupId>org.jboss.arquillian.junit</groupId>
|
||||
<artifactId>arquillian-junit-container</artifactId>
|
||||
@@ -215,8 +218,8 @@
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<!-- Maven will append the version to the finalName (which is the name given to the generated
|
||||
war, and hence the context root) -->
|
||||
<!-- Maven will append the version to the finalName -->
|
||||
<!-- (which is the name given to the generated war, and hence the context root) -->
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
@@ -256,8 +259,8 @@
|
||||
<profiles>
|
||||
<profile>
|
||||
<!-- An optional Arquillian testing profile that executes tests in your WildFly instance -->
|
||||
<!-- This profile will start a new WildFly instance, and execute the test, shutting it down
|
||||
when done -->
|
||||
<!-- This profile will start a new WildFly instance, and execute the test, -->
|
||||
<!-- shutting it down when done -->
|
||||
<!-- Run with: mvn clean test -Parq-wildfly-managed -->
|
||||
<id>arq-wildfly-managed</id>
|
||||
<dependencies>
|
||||
|
||||
@@ -38,11 +38,6 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<mysql-connector-java.version>8.0.23</mysql-connector-java.version>
|
||||
</properties>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
@@ -59,4 +54,9 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<mysql-connector-java.version>8.0.23</mysql-connector-java.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.baeldung.boot.persistence</groupId>
|
||||
<artifactId>spring-boot-persistence-3</artifactId>
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
<version>${cassandra-unit-shaded.version}</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine
|
||||
included in parent-modules. -->
|
||||
<!-- junit4 dependency is excluded as it should to be resolved from -->
|
||||
<!-- junit-vintage-engine included in parent-modules. -->
|
||||
<exclusion>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
|
||||
@@ -160,8 +160,8 @@
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no
|
||||
influence on the Maven build itself. -->
|
||||
<!--This plugin's configuration is used to store Eclipse m2e settings only. -->
|
||||
<!-- It has no influence on the Maven build itself. -->
|
||||
<plugin>
|
||||
<groupId>org.eclipse.m2e</groupId>
|
||||
<artifactId>lifecycle-mapping</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user