97 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			97 lines
		
	
	
		
			3.5 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/xsd/maven-4.0.0.xsd">
							 | 
						||
| 
								 | 
							
								    <modelVersion>4.0.0</modelVersion>
							 | 
						||
| 
								 | 
							
								    <artifactId>spring-boot-exceptions</artifactId>
							 | 
						||
| 
								 | 
							
								    <name>spring-boot-exceptions</name>
							 | 
						||
| 
								 | 
							
								    <packaging>jar</packaging>
							 | 
						||
| 
								 | 
							
									<description>Demo project for working with Spring Boot exceptions</description>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <parent>
							 | 
						||
| 
								 | 
							
								        <groupId>com.baeldung</groupId>
							 | 
						||
| 
								 | 
							
								        <artifactId>parent-boot-2</artifactId>
							 | 
						||
| 
								 | 
							
								        <version>0.0.1-SNAPSHOT</version>
							 | 
						||
| 
								 | 
							
								        <relativePath>../../parent-boot-2</relativePath>
							 | 
						||
| 
								 | 
							
								    </parent>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <dependencies>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>2.2.3.RELEASE</version>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								    </dependencies>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <build>
							 | 
						||
| 
								 | 
							
								        <finalName>spring-boot-exceptions</finalName>
							 | 
						||
| 
								 | 
							
								        <resources>
							 | 
						||
| 
								 | 
							
								            <resource>
							 | 
						||
| 
								 | 
							
								                <directory>src/main/resources</directory>
							 | 
						||
| 
								 | 
							
								                <filtering>true</filtering>
							 | 
						||
| 
								 | 
							
								            </resource>
							 | 
						||
| 
								 | 
							
								        </resources>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <plugins>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <plugin>
							 | 
						||
| 
								 | 
							
								                <groupId>org.apache.maven.plugins</groupId>
							 | 
						||
| 
								 | 
							
								                <artifactId>maven-war-plugin</artifactId>
							 | 
						||
| 
								 | 
							
								            </plugin>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <plugin>
							 | 
						||
| 
								 | 
							
								                <groupId>org.apache.maven.plugins</groupId>
							 | 
						||
| 
								 | 
							
								                <artifactId>maven-resources-plugin</artifactId>
							 | 
						||
| 
								 | 
							
								                <configuration>
							 | 
						||
| 
								 | 
							
								                    <delimiters>
							 | 
						||
| 
								 | 
							
								                        <delimiter>@</delimiter>
							 | 
						||
| 
								 | 
							
								                    </delimiters>
							 | 
						||
| 
								 | 
							
								                    <useDefaultDelimiters>false</useDefaultDelimiters>
							 | 
						||
| 
								 | 
							
								                </configuration>
							 | 
						||
| 
								 | 
							
								            </plugin>
							 | 
						||
| 
								 | 
							
								        </plugins>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    </build>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <profiles>
							 | 
						||
| 
								 | 
							
								        <profile>
							 | 
						||
| 
								 | 
							
								            <id>autoconfiguration</id>
							 | 
						||
| 
								 | 
							
								            <build>
							 | 
						||
| 
								 | 
							
								                <plugins>
							 | 
						||
| 
								 | 
							
								                    <plugin>
							 | 
						||
| 
								 | 
							
								                        <groupId>org.apache.maven.plugins</groupId>
							 | 
						||
| 
								 | 
							
								                        <artifactId>maven-surefire-plugin</artifactId>
							 | 
						||
| 
								 | 
							
								                        <executions>
							 | 
						||
| 
								 | 
							
								                            <execution>
							 | 
						||
| 
								 | 
							
								                                <phase>integration-test</phase>
							 | 
						||
| 
								 | 
							
								                                <goals>
							 | 
						||
| 
								 | 
							
								                                    <goal>test</goal>
							 | 
						||
| 
								 | 
							
								                                </goals>
							 | 
						||
| 
								 | 
							
								                                <configuration>
							 | 
						||
| 
								 | 
							
								                                    <excludes>
							 | 
						||
| 
								 | 
							
								                                        <exclude>**/*LiveTest.java</exclude>
							 | 
						||
| 
								 | 
							
								                                        <exclude>**/*IntegrationTest.java</exclude>
							 | 
						||
| 
								 | 
							
								                                        <exclude>**/*IntTest.java</exclude>
							 | 
						||
| 
								 | 
							
								                                    </excludes>
							 | 
						||
| 
								 | 
							
								                                    <includes>
							 | 
						||
| 
								 | 
							
								                                        <include>**/AutoconfigurationTest.java</include>
							 | 
						||
| 
								 | 
							
								                                    </includes>
							 | 
						||
| 
								 | 
							
								                                </configuration>
							 | 
						||
| 
								 | 
							
								                            </execution>
							 | 
						||
| 
								 | 
							
								                        </executions>
							 | 
						||
| 
								 | 
							
								                        <configuration>
							 | 
						||
| 
								 | 
							
								                            <systemPropertyVariables>
							 | 
						||
| 
								 | 
							
								                                <test.mime>json</test.mime>
							 | 
						||
| 
								 | 
							
								                            </systemPropertyVariables>
							 | 
						||
| 
								 | 
							
								                        </configuration>
							 | 
						||
| 
								 | 
							
								                    </plugin>
							 | 
						||
| 
								 | 
							
								                </plugins>
							 | 
						||
| 
								 | 
							
								            </build>
							 | 
						||
| 
								 | 
							
								        </profile>
							 | 
						||
| 
								 | 
							
								    </profiles>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <properties>
							 | 
						||
| 
								 | 
							
								        <!-- The main class to start by executing java -jar -->
							 | 
						||
| 
								 | 
							
								        <start-class>com.baeldung.intro.App</start-class>
							 | 
						||
| 
								 | 
							
								    </properties>
							 | 
						||
| 
								 | 
							
								</project>
							 |