BAEL-2804 Fixed XML indentation
I've set the XML indentation the same way as the rest of the modules using 4 spaces instead of 2.
This commit is contained in:
		
							parent
							
								
									d25a282447
								
							
						
					
					
						commit
						b7e02dbb4a
					
				| @ -1,111 +1,111 @@ | |||||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | <project xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||||
|   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||||
|   <modelVersion>4.0.0</modelVersion> |     <modelVersion>4.0.0</modelVersion> | ||||||
|   <artifactId>java-jpa-2</artifactId> |     <artifactId>java-jpa-2</artifactId> | ||||||
|   <name>java-jpa-2</name> |     <name>java-jpa-2</name> | ||||||
|   <parent> |     <parent> | ||||||
|     <groupId>com.baeldung</groupId> |         <groupId>com.baeldung</groupId> | ||||||
|     <artifactId>parent-modules</artifactId> |         <artifactId>parent-modules</artifactId> | ||||||
|     <version>1.0.0-SNAPSHOT</version> |         <version>1.0.0-SNAPSHOT</version> | ||||||
|     <relativePath>../../pom.xml</relativePath> |         <relativePath>../../pom.xml</relativePath> | ||||||
|   </parent> |     </parent> | ||||||
|   <dependencies> |     <dependencies> | ||||||
|     <dependency> |         <dependency> | ||||||
|       <groupId>org.hibernate</groupId> |             <groupId>org.hibernate</groupId> | ||||||
|       <artifactId>hibernate-core</artifactId> |             <artifactId>hibernate-core</artifactId> | ||||||
|       <version>${hibernate.version}</version> |             <version>${hibernate.version}</version> | ||||||
|     </dependency> |         </dependency> | ||||||
|     <dependency> |         <dependency> | ||||||
|       <groupId>org.hibernate</groupId> |             <groupId>org.hibernate</groupId> | ||||||
|       <artifactId>hibernate-jpamodelgen</artifactId> |             <artifactId>hibernate-jpamodelgen</artifactId> | ||||||
|       <version>${hibernate.version}</version> |             <version>${hibernate.version}</version> | ||||||
|     </dependency> |         </dependency> | ||||||
|     <dependency> |         <dependency> | ||||||
|       <groupId>com.h2database</groupId> |             <groupId>com.h2database</groupId> | ||||||
|       <artifactId>h2</artifactId> |             <artifactId>h2</artifactId> | ||||||
|       <version>${h2.version}</version> |             <version>${h2.version}</version> | ||||||
|     </dependency> |         </dependency> | ||||||
| 
 | 
 | ||||||
|     <!--Compile time JPA API --> |         <!--Compile time JPA API --> | ||||||
|     <dependency> |         <dependency> | ||||||
|       <groupId>javax.persistence</groupId> |             <groupId>javax.persistence</groupId> | ||||||
|       <artifactId>javax.persistence-api</artifactId> |             <artifactId>javax.persistence-api</artifactId> | ||||||
|       <version>${javax.persistence-api.version}</version> |             <version>${javax.persistence-api.version}</version> | ||||||
|     </dependency> |         </dependency> | ||||||
| 
 | 
 | ||||||
|     <!--Runtime JPA implementation--> |         <!--Runtime JPA implementation --> | ||||||
|     <dependency> |         <dependency> | ||||||
|         <groupId>org.eclipse.persistence</groupId> |             <groupId>org.eclipse.persistence</groupId> | ||||||
|         <artifactId>eclipselink</artifactId> |             <artifactId>eclipselink</artifactId> | ||||||
|         <version>${eclipselink.version}</version> |             <version>${eclipselink.version}</version> | ||||||
|         <scope>runtime</scope> |             <scope>runtime</scope> | ||||||
|     </dependency> |         </dependency> | ||||||
|     <dependency> |         <dependency> | ||||||
|         <groupId>org.postgresql</groupId> |             <groupId>org.postgresql</groupId> | ||||||
|         <artifactId>postgresql</artifactId> |             <artifactId>postgresql</artifactId> | ||||||
|         <version>${postgres.version}</version> |             <version>${postgres.version}</version> | ||||||
|         <scope>runtime</scope> |             <scope>runtime</scope> | ||||||
|     </dependency> |         </dependency> | ||||||
|   </dependencies> |     </dependencies> | ||||||
| 
 | 
 | ||||||
|   <build> |     <build> | ||||||
|     <plugins> |         <plugins> | ||||||
|       <plugin> |             <plugin> | ||||||
|         <groupId>org.apache.maven.plugins</groupId> |                 <groupId>org.apache.maven.plugins</groupId> | ||||||
|         <artifactId>maven-compiler-plugin</artifactId> |                 <artifactId>maven-compiler-plugin</artifactId> | ||||||
|         <version>3.5.1</version> |                 <version>3.5.1</version> | ||||||
|         <configuration> |                 <configuration> | ||||||
|           <compilerArgument>-proc:none</compilerArgument> |                     <compilerArgument>-proc:none</compilerArgument> | ||||||
|         </configuration> |                 </configuration> | ||||||
|       </plugin> |             </plugin> | ||||||
|       <plugin> |             <plugin> | ||||||
|         <groupId>org.bsc.maven</groupId> |                 <groupId>org.bsc.maven</groupId> | ||||||
|         <artifactId>maven-processor-plugin</artifactId> |                 <artifactId>maven-processor-plugin</artifactId> | ||||||
|         <version>3.3.3</version> |                 <version>3.3.3</version> | ||||||
|         <executions> |                 <executions> | ||||||
|           <execution> |                     <execution> | ||||||
|             <id>process</id> |                         <id>process</id> | ||||||
|             <goals> |                         <goals> | ||||||
|               <goal>process</goal> |                             <goal>process</goal> | ||||||
|             </goals> |                         </goals> | ||||||
|             <phase>generate-sources</phase> |                         <phase>generate-sources</phase> | ||||||
|             <configuration> |                         <configuration> | ||||||
|               <outputDirectory>target/metamodel</outputDirectory> |                             <outputDirectory>target/metamodel</outputDirectory> | ||||||
|               <processors> |                             <processors> | ||||||
|                 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |                                 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> | ||||||
|               </processors> |                             </processors> | ||||||
|             </configuration> |                         </configuration> | ||||||
|           </execution> |                     </execution> | ||||||
|         </executions> |                 </executions> | ||||||
|       </plugin> |             </plugin> | ||||||
| 
 | 
 | ||||||
|       <plugin> |             <plugin> | ||||||
|         <groupId>org.codehaus.mojo</groupId> |                 <groupId>org.codehaus.mojo</groupId> | ||||||
|         <artifactId>build-helper-maven-plugin</artifactId> |                 <artifactId>build-helper-maven-plugin</artifactId> | ||||||
|         <version>3.0.0</version> |                 <version>3.0.0</version> | ||||||
|         <executions> |                 <executions> | ||||||
|           <execution> |                     <execution> | ||||||
|             <id>add-source</id> |                         <id>add-source</id> | ||||||
|             <phase>generate-sources</phase> |                         <phase>generate-sources</phase> | ||||||
|             <goals> |                         <goals> | ||||||
|               <goal>add-source</goal> |                             <goal>add-source</goal> | ||||||
|             </goals> |                         </goals> | ||||||
|             <configuration> |                         <configuration> | ||||||
|               <sources> |                             <sources> | ||||||
|                 <source>target/metamodel</source> |                                 <source>target/metamodel</source> | ||||||
|               </sources> |                             </sources> | ||||||
|             </configuration> |                         </configuration> | ||||||
|           </execution> |                     </execution> | ||||||
|         </executions> |                 </executions> | ||||||
|       </plugin> |             </plugin> | ||||||
|     </plugins> |         </plugins> | ||||||
|   </build> |     </build> | ||||||
|   <properties> |     <properties> | ||||||
|     <hibernate.version>5.4.0.Final</hibernate.version> |         <hibernate.version>5.4.0.Final</hibernate.version> | ||||||
|     <eclipselink.version>2.7.4-RC1</eclipselink.version> |         <eclipselink.version>2.7.4-RC1</eclipselink.version> | ||||||
|     <postgres.version>42.2.5</postgres.version> |         <postgres.version>42.2.5</postgres.version> | ||||||
|     <javax.persistence-api.version>2.2</javax.persistence-api.version> |         <javax.persistence-api.version>2.2</javax.persistence-api.version> | ||||||
|   </properties> |     </properties> | ||||||
| 
 | 
 | ||||||
| </project> | </project> | ||||||
| @ -1,31 +1,35 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" | <persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" | ||||||
|   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||||
|   xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence |     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence | ||||||
|              http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd" |              http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd" | ||||||
|   version="2.2"> |     version="2.2"> | ||||||
| 
 | 
 | ||||||
|   <persistence-unit name="jpa-h2-queryparams" |     <persistence-unit name="jpa-h2-queryparams" | ||||||
|     transaction-type="RESOURCE_LOCAL"> |         transaction-type="RESOURCE_LOCAL"> | ||||||
|     <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> |         <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> | ||||||
|     <class>com.baeldung.jpa.queryparams.Employee</class> |         <class>com.baeldung.jpa.queryparams.Employee</class> | ||||||
|     <exclude-unlisted-classes>true</exclude-unlisted-classes> |         <exclude-unlisted-classes>true</exclude-unlisted-classes> | ||||||
|     <properties> |         <properties> | ||||||
|       <property name="javax.persistence.jdbc.driver" |             <property name="javax.persistence.jdbc.driver" | ||||||
|         value="org.h2.Driver" /> |                 value="org.h2.Driver" /> | ||||||
|       <property name="javax.persistence.jdbc.url" |             <property name="javax.persistence.jdbc.url" | ||||||
|         value="jdbc:h2:mem:test" /> |                 value="jdbc:h2:mem:test" /> | ||||||
|       <property name="javax.persistence.jdbc.user" value="sa" /> |             <property name="javax.persistence.jdbc.user" | ||||||
|       <property name="javax.persistence.jdbc.password" value="" /> |                 value="sa" /> | ||||||
|       <property name="hibernate.dialect" |             <property name="javax.persistence.jdbc.password" | ||||||
|         value="org.hibernate.dialect.H2Dialect" /> |                 value="" /> | ||||||
|       <property name="hibernate.hbm2ddl.auto" |             <property name="hibernate.dialect" | ||||||
|         value="create-drop" /> |                 value="org.hibernate.dialect.H2Dialect" /> | ||||||
|       <property name="show_sql" value="true" /> |             <property name="hibernate.hbm2ddl.auto" | ||||||
|       <property |                 value="create-drop" /> | ||||||
|         name="hibernate.temp.use_jdbc_metadata_defaults" value="false" /> |             <property name="show_sql" value="true" /> | ||||||
|       <property name="javax.persistence.sql-load-script-source" |             <property | ||||||
|         value="queryparams.sql" /> |                 name="hibernate.temp.use_jdbc_metadata_defaults" | ||||||
|     </properties> |                 value="false" /> | ||||||
|   </persistence-unit> |             <property | ||||||
|  |                 name="javax.persistence.sql-load-script-source" | ||||||
|  |                 value="queryparams.sql" /> | ||||||
|  |         </properties> | ||||||
|  |     </persistence-unit> | ||||||
| </persistence> | </persistence> | ||||||
| @ -1,14 +1,15 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <configuration> | <configuration> | ||||||
|   <appender name="STDOUT" |     <appender name="STDOUT" | ||||||
|     class="ch.qos.logback.core.ConsoleAppender"> |         class="ch.qos.logback.core.ConsoleAppender"> | ||||||
|     <encoder> |         <encoder> | ||||||
|       <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n |             <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - | ||||||
|       </pattern> |                 %msg%n | ||||||
|     </encoder> |             </pattern> | ||||||
|   </appender> |         </encoder> | ||||||
|  |     </appender> | ||||||
| 
 | 
 | ||||||
|   <root level="INFO"> |     <root level="INFO"> | ||||||
|     <appender-ref ref="STDOUT" /> |         <appender-ref ref="STDOUT" /> | ||||||
|   </root> |     </root> | ||||||
| </configuration> | </configuration> | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user