File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 <maven-eclipse-plugin .version>2.10</maven-eclipse-plugin .version>
2323 <maven-compiler-plugin .version>3.6.0</maven-compiler-plugin .version>
2424 <exec-maven-plugin .version>1.5.0</exec-maven-plugin .version>
25+ <maven-surefire-plugin .version>2.19.1</maven-surefire-plugin .version>
2526 </properties >
2627
2728 <repositories >
6869 <mainClass >com.baeldung.samples.Main</mainClass >
6970 </configuration >
7071 </plugin >
72+ <plugin >
73+ <groupId >org.apache.maven.plugins</groupId >
74+ <artifactId >maven-surefire-plugin</artifactId >
75+ <version >${maven-surefire-plugin.version} </version >
76+ <configuration >
77+ <excludes >
78+ <exclude >**/*IntegrationTest.java</exclude >
79+ <exclude >**/*LiveTest.java</exclude >
80+ </excludes >
81+ </configuration >
82+ </plugin >
7183 </plugins >
7284 </build >
7385
128140 <version >${spring.integration.version} </version >
129141 </dependency >
130142 </dependencies >
143+
144+ <profiles >
145+ <profile >
146+ <id >integration</id >
147+ <build >
148+ <plugins >
149+ <plugin >
150+ <groupId >org.apache.maven.plugins</groupId >
151+ <artifactId >maven-surefire-plugin</artifactId >
152+ <executions >
153+ <execution >
154+ <phase >integration-test</phase >
155+ <goals >
156+ <goal >test</goal >
157+ </goals >
158+ <configuration >
159+ <excludes >
160+ <exclude >**/*LiveTest.java</exclude >
161+ </excludes >
162+ <includes >
163+ <include >**/*IntegrationTest.java</include >
164+ </includes >
165+ </configuration >
166+ </execution >
167+ </executions >
168+ <configuration >
169+ <systemPropertyVariables >
170+ <test .mime>json</test .mime>
171+ </systemPropertyVariables >
172+ </configuration >
173+ </plugin >
174+ </plugins >
175+ </build >
176+ </profile >
177+ </profiles >
131178
132179</project >
You can’t perform that action at this time.
0 commit comments