|
14 | 14 | <packaging>jar</packaging> |
15 | 15 |
|
16 | 16 | <name>spring-boot-exceptions</name> |
17 | | - <description>Demo project for working with Spring Boot exceptions</description> |
18 | | - |
19 | | - <dependencies> |
20 | | - <dependency> |
21 | | - <groupId>org.springframework.boot</groupId> |
22 | | - <artifactId>spring-boot-starter</artifactId> |
23 | | - <version>${spring-boot.version}</version> |
24 | | - </dependency> |
25 | | - </dependencies> |
| 17 | + <description>Demo project for working with Spring Boot exceptions</description> |
26 | 18 |
|
27 | 19 | <build> |
28 | 20 | <finalName>spring-boot-exceptions</finalName> |
|
32 | 24 | <filtering>true</filtering> |
33 | 25 | </resource> |
34 | 26 | </resources> |
35 | | - |
36 | | - <plugins> |
37 | | - |
38 | | - <plugin> |
39 | | - <groupId>org.apache.maven.plugins</groupId> |
40 | | - <artifactId>maven-war-plugin</artifactId> |
41 | | - </plugin> |
42 | | - |
43 | | - <plugin> |
44 | | - <groupId>org.apache.maven.plugins</groupId> |
45 | | - <artifactId>maven-resources-plugin</artifactId> |
46 | | - <configuration> |
47 | | - <delimiters> |
48 | | - <delimiter>@</delimiter> |
49 | | - </delimiters> |
50 | | - <useDefaultDelimiters>false</useDefaultDelimiters> |
51 | | - </configuration> |
52 | | - </plugin> |
53 | | - </plugins> |
54 | | - |
55 | 27 | </build> |
56 | 28 |
|
57 | | - <profiles> |
58 | | - <profile> |
59 | | - <id>autoconfiguration</id> |
60 | | - <build> |
61 | | - <plugins> |
62 | | - <plugin> |
63 | | - <groupId>org.apache.maven.plugins</groupId> |
64 | | - <artifactId>maven-surefire-plugin</artifactId> |
65 | | - <executions> |
66 | | - <execution> |
67 | | - <phase>integration-test</phase> |
68 | | - <goals> |
69 | | - <goal>test</goal> |
70 | | - </goals> |
71 | | - <configuration> |
72 | | - <excludes> |
73 | | - <exclude>**/*LiveTest.java</exclude> |
74 | | - <exclude>**/*IntegrationTest.java</exclude> |
75 | | - <exclude>**/*IntTest.java</exclude> |
76 | | - </excludes> |
77 | | - <includes> |
78 | | - <include>**/AutoconfigurationTest.java</include> |
79 | | - </includes> |
80 | | - </configuration> |
81 | | - </execution> |
82 | | - </executions> |
83 | | - <configuration> |
84 | | - <systemPropertyVariables> |
85 | | - <test.mime>json</test.mime> |
86 | | - </systemPropertyVariables> |
87 | | - </configuration> |
88 | | - </plugin> |
89 | | - </plugins> |
90 | | - </build> |
91 | | - </profile> |
92 | | - </profiles> |
93 | | - |
94 | | - <properties> |
95 | | - <!-- The main class to start by executing java -jar --> |
96 | | - <start-class>com.baeldung.intro.App</start-class> |
97 | | - <spring-boot.version>2.2.3.RELEASE</spring-boot.version> |
98 | | - </properties> |
99 | 29 | </project> |
0 commit comments