|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
2 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | - <modelVersion>4.0.0</modelVersion> |
5 | | - <artifactId>spring-boot-libraries</artifactId> |
6 | | - <packaging>war</packaging> |
7 | | - <name>spring-boot-libraries</name> |
8 | | - <description>This is simple boot application for Spring boot actuator test</description> |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <artifactId>spring-boot-libraries</artifactId> |
| 6 | + <packaging>war</packaging> |
| 7 | + <name>spring-boot-libraries</name> |
| 8 | + <description>This is simple boot application for Spring boot actuator test</description> |
9 | 9 |
|
10 | | - <parent> |
11 | | - <artifactId>parent-boot-2</artifactId> |
12 | | - <groupId>com.baeldung</groupId> |
13 | | - <version>0.0.1-SNAPSHOT</version> |
14 | | - <relativePath>../parent-boot-2</relativePath> |
15 | | - </parent> |
| 10 | + <parent> |
| 11 | + <artifactId>parent-boot-2</artifactId> |
| 12 | + <groupId>com.baeldung</groupId> |
| 13 | + <version>0.0.1-SNAPSHOT</version> |
| 14 | + <relativePath>../parent-boot-2</relativePath> |
| 15 | + </parent> |
16 | 16 |
|
17 | | - <dependencies> |
18 | | - <dependency> |
19 | | - <groupId>org.springframework.boot</groupId> |
20 | | - <artifactId>spring-boot-starter-web</artifactId> |
21 | | - </dependency> |
22 | | - <dependency> |
23 | | - <groupId>org.springframework.boot</groupId> |
24 | | - <artifactId>spring-boot-starter-tomcat</artifactId> |
25 | | - </dependency> |
26 | | - <dependency> |
27 | | - <groupId>org.springframework.boot</groupId> |
28 | | - <artifactId>spring-boot-starter-test</artifactId> |
29 | | - <scope>test</scope> |
30 | | - </dependency> |
| 17 | + <dependencies> |
| 18 | + <dependency> |
| 19 | + <groupId>org.springframework.boot</groupId> |
| 20 | + <artifactId>spring-boot-starter-web</artifactId> |
| 21 | + </dependency> |
| 22 | + <dependency> |
| 23 | + <groupId>org.springframework.boot</groupId> |
| 24 | + <artifactId>spring-boot-starter-security</artifactId> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>org.springframework.boot</groupId> |
| 28 | + <artifactId>spring-boot-starter-tomcat</artifactId> |
| 29 | + </dependency> |
| 30 | + <dependency> |
| 31 | + <groupId>org.springframework.boot</groupId> |
| 32 | + <artifactId>spring-boot-starter-test</artifactId> |
| 33 | + <scope>test</scope> |
| 34 | + </dependency> |
| 35 | + |
| 36 | + <!-- Problem Spring Web --> |
| 37 | + <dependency> |
| 38 | + <groupId>org.zalando</groupId> |
| 39 | + <artifactId>problem-spring-web</artifactId> |
| 40 | + <version>${problem-spring-web.version}</version> |
| 41 | + </dependency> |
31 | 42 |
|
32 | | - <!-- ShedLock --> |
33 | | - <dependency> |
34 | | - <groupId>net.javacrumbs.shedlock</groupId> |
35 | | - <artifactId>shedlock-spring</artifactId> |
36 | | - <version>2.1.0</version> |
37 | | - </dependency> |
38 | | - <dependency> |
39 | | - <groupId>net.javacrumbs.shedlock</groupId> |
40 | | - <artifactId>shedlock-provider-jdbc-template</artifactId> |
41 | | - <version>2.1.0</version> |
42 | | - </dependency> |
| 43 | + <!-- ShedLock --> |
| 44 | + <dependency> |
| 45 | + <groupId>net.javacrumbs.shedlock</groupId> |
| 46 | + <artifactId>shedlock-spring</artifactId> |
| 47 | + <version>2.1.0</version> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>net.javacrumbs.shedlock</groupId> |
| 51 | + <artifactId>shedlock-provider-jdbc-template</artifactId> |
| 52 | + <version>2.1.0</version> |
| 53 | + </dependency> |
43 | 54 |
|
44 | | - </dependencies> |
| 55 | + </dependencies> |
45 | 56 |
|
46 | | - <build> |
47 | | - <finalName>spring-boot</finalName> |
48 | | - <resources> |
49 | | - <resource> |
50 | | - <directory>src/main/resources</directory> |
51 | | - <filtering>true</filtering> |
52 | | - </resource> |
53 | | - </resources> |
| 57 | + <build> |
| 58 | + <finalName>spring-boot</finalName> |
| 59 | + <resources> |
| 60 | + <resource> |
| 61 | + <directory>src/main/resources</directory> |
| 62 | + <filtering>true</filtering> |
| 63 | + </resource> |
| 64 | + </resources> |
54 | 65 |
|
55 | | - <plugins> |
| 66 | + <plugins> |
56 | 67 |
|
57 | | - <plugin> |
58 | | - <groupId>org.apache.maven.plugins</groupId> |
59 | | - <artifactId>maven-war-plugin</artifactId> |
60 | | - </plugin> |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-war-plugin</artifactId> |
| 71 | + </plugin> |
61 | 72 |
|
62 | | - <plugin> |
63 | | - <groupId>pl.project13.maven</groupId> |
64 | | - <artifactId>git-commit-id-plugin</artifactId> |
65 | | - <version>${git-commit-id-plugin.version}</version> |
66 | | - <executions> |
67 | | - <execution> |
68 | | - <id>get-the-git-infos</id> |
69 | | - <goals> |
70 | | - <goal>revision</goal> |
71 | | - </goals> |
72 | | - <phase>initialize</phase> |
73 | | - </execution> |
74 | | - <execution> |
75 | | - <id>validate-the-git-infos</id> |
76 | | - <goals> |
77 | | - <goal>validateRevision</goal> |
78 | | - </goals> |
79 | | - <phase>package</phase> |
80 | | - </execution> |
81 | | - </executions> |
82 | | - <configuration> |
83 | | - <generateGitPropertiesFile>true</generateGitPropertiesFile> |
84 | | - <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> |
85 | | - </configuration> |
86 | | - </plugin> |
| 73 | + <plugin> |
| 74 | + <groupId>pl.project13.maven</groupId> |
| 75 | + <artifactId>git-commit-id-plugin</artifactId> |
| 76 | + <version>${git-commit-id-plugin.version}</version> |
| 77 | + <executions> |
| 78 | + <execution> |
| 79 | + <id>get-the-git-infos</id> |
| 80 | + <goals> |
| 81 | + <goal>revision</goal> |
| 82 | + </goals> |
| 83 | + <phase>initialize</phase> |
| 84 | + </execution> |
| 85 | + <execution> |
| 86 | + <id>validate-the-git-infos</id> |
| 87 | + <goals> |
| 88 | + <goal>validateRevision</goal> |
| 89 | + </goals> |
| 90 | + <phase>package</phase> |
| 91 | + </execution> |
| 92 | + </executions> |
| 93 | + <configuration> |
| 94 | + <generateGitPropertiesFile>true</generateGitPropertiesFile> |
| 95 | + <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> |
| 96 | + </configuration> |
| 97 | + </plugin> |
87 | 98 |
|
88 | | - </plugins> |
| 99 | + </plugins> |
89 | 100 |
|
90 | | - </build> |
| 101 | + </build> |
91 | 102 |
|
92 | | - <profiles> |
93 | | - <profile> |
94 | | - <id>autoconfiguration</id> |
95 | | - <build> |
96 | | - <plugins> |
97 | | - <plugin> |
98 | | - <groupId>org.apache.maven.plugins</groupId> |
99 | | - <artifactId>maven-surefire-plugin</artifactId> |
100 | | - <executions> |
101 | | - <execution> |
102 | | - <phase>integration-test</phase> |
103 | | - <goals> |
104 | | - <goal>test</goal> |
105 | | - </goals> |
106 | | - <configuration> |
107 | | - <excludes> |
108 | | - <exclude>**/*LiveTest.java</exclude> |
109 | | - <exclude>**/*IntegrationTest.java</exclude> |
110 | | - <exclude>**/*IntTest.java</exclude> |
111 | | - </excludes> |
112 | | - <includes> |
113 | | - <include>**/AutoconfigurationTest.java</include> |
114 | | - </includes> |
115 | | - </configuration> |
116 | | - </execution> |
117 | | - </executions> |
118 | | - <configuration> |
119 | | - <systemPropertyVariables> |
120 | | - <test.mime>json</test.mime> |
121 | | - </systemPropertyVariables> |
122 | | - </configuration> |
123 | | - </plugin> |
124 | | - </plugins> |
125 | | - </build> |
126 | | - </profile> |
127 | | - </profiles> |
| 103 | + <profiles> |
| 104 | + <profile> |
| 105 | + <id>autoconfiguration</id> |
| 106 | + <build> |
| 107 | + <plugins> |
| 108 | + <plugin> |
| 109 | + <groupId>org.apache.maven.plugins</groupId> |
| 110 | + <artifactId>maven-surefire-plugin</artifactId> |
| 111 | + <executions> |
| 112 | + <execution> |
| 113 | + <phase>integration-test</phase> |
| 114 | + <goals> |
| 115 | + <goal>test</goal> |
| 116 | + </goals> |
| 117 | + <configuration> |
| 118 | + <excludes> |
| 119 | + <exclude>**/*LiveTest.java</exclude> |
| 120 | + <exclude>**/*IntegrationTest.java</exclude> |
| 121 | + <exclude>**/*IntTest.java</exclude> |
| 122 | + </excludes> |
| 123 | + <includes> |
| 124 | + <include>**/AutoconfigurationTest.java</include> |
| 125 | + </includes> |
| 126 | + </configuration> |
| 127 | + </execution> |
| 128 | + </executions> |
| 129 | + <configuration> |
| 130 | + <systemPropertyVariables> |
| 131 | + <test.mime>json</test.mime> |
| 132 | + </systemPropertyVariables> |
| 133 | + </configuration> |
| 134 | + </plugin> |
| 135 | + </plugins> |
| 136 | + </build> |
| 137 | + </profile> |
| 138 | + </profiles> |
128 | 139 |
|
129 | | - <properties> |
130 | | - <!-- The main class to start by executing java -jar --> |
131 | | - <start-class>com.baeldung.intro.App</start-class> |
132 | | - <tomee-servlet-api.version>8.5.11</tomee-servlet-api.version> |
133 | | - <togglz.version>2.4.1.Final</togglz.version> |
134 | | - <rome.version>1.9.0</rome.version> |
135 | | - <chaos.monkey.version>2.0.0</chaos.monkey.version> |
136 | | - <graphql-spring-boot-starter.version>5.0.2</graphql-spring-boot-starter.version> |
137 | | - <graphiql-spring-boot-starter.version>5.0.2</graphiql-spring-boot-starter.version> |
138 | | - <graphql-java-tools.version>5.2.4</graphql-java-tools.version> |
139 | | - <guava.version>18.0</guava.version> |
140 | | - <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version> |
141 | | - <modelmapper.version>2.3.2</modelmapper.version> |
142 | | - </properties> |
| 140 | + <properties> |
| 141 | + <!-- The main class to start by executing java -jar --> |
| 142 | + <start-class>com.baeldung.intro.App</start-class> |
| 143 | + <tomee-servlet-api.version>8.5.11</tomee-servlet-api.version> |
| 144 | + <togglz.version>2.4.1.Final</togglz.version> |
| 145 | + <rome.version>1.9.0</rome.version> |
| 146 | + <chaos.monkey.version>2.0.0</chaos.monkey.version> |
| 147 | + <graphql-spring-boot-starter.version>5.0.2</graphql-spring-boot-starter.version> |
| 148 | + <graphiql-spring-boot-starter.version>5.0.2</graphiql-spring-boot-starter.version> |
| 149 | + <graphql-java-tools.version>5.2.4</graphql-java-tools.version> |
| 150 | + <guava.version>18.0</guava.version> |
| 151 | + <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version> |
| 152 | + <modelmapper.version>2.3.2</modelmapper.version> |
| 153 | + <problem-spring-web.version>0.23.0</problem-spring-web.version> |
| 154 | + </properties> |
143 | 155 |
|
144 | 156 | </project> |
0 commit comments