11<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
22 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3-
3+
44 <modelVersion >4.0.0</modelVersion >
55 <groupId >com.baeldung</groupId >
66 <artifactId >spring-data-solr</artifactId >
77 <version >0.0.1-SNAPSHOT</version >
88 <packaging >jar</packaging >
99 <name >spring-data-solr</name >
10-
11-
10+
11+
1212 <properties >
1313 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1414 <spring .version>4.2.5.RELEASE</spring .version>
1515 <maven-surefire-plugin .version>2.19.1</maven-surefire-plugin .version>
1616 <spring-data-solr >2.0.4.RELEASE</spring-data-solr >
1717 </properties >
18-
18+
1919 <dependencies >
2020 <dependency >
2121 <groupId >org.springframework</groupId >
5151 </dependency >
5252 </dependencies >
5353
54- <build >
55- <plugins >
56- <plugin >
57- <artifactId >maven-compiler-plugin</artifactId >
58- </plugin >
59- <plugin >
60- <groupId >org.apache.maven.plugins</groupId >
61- <artifactId >maven-surefire-plugin</artifactId >
62- <version >${maven-surefire-plugin.version} </version >
63- <configuration >
64- <excludes >
65- <exclude >**/*IntegrationTest.java</exclude >
66- <exclude >**/*LiveTest.java</exclude >
67- </excludes >
68- </configuration >
69- </plugin >
70- </plugins >
71- </build >
54+ <build >
55+ <plugins >
56+ <plugin >
57+ <artifactId >maven-compiler-plugin</artifactId >
58+ </plugin >
59+ <plugin >
60+ <groupId >org.apache.maven.plugins</groupId >
61+ <artifactId >maven-surefire-plugin</artifactId >
62+ <version >${maven-surefire-plugin.version} </version >
63+ <configuration >
64+ <excludes >
65+ <exclude >**/*IntegrationTest.java</exclude >
66+ <exclude >**/*LiveTest.java</exclude >
67+ </excludes >
68+ </configuration >
69+ </plugin >
70+ </plugins >
71+ </build >
7272
73- <profiles >
74- <profile >
75- <id >integration</id >
76- <build >
77- <plugins >
78- <plugin >
79- <groupId >org.apache.maven.plugins</groupId >
80- <artifactId >maven-surefire-plugin</artifactId >
81- <executions >
82- <execution >
83- <phase >integration-test</phase >
84- <goals >
85- <goal >test</goal >
86- </goals >
87- <configuration >
88- <excludes >
89- <exclude >**/*LiveTest.java</exclude >
90- </excludes >
91- <includes >
92- <include >**/*IntegrationTest.java</include >
93- </includes >
94- </configuration >
95- </execution >
96- </executions >
97- <configuration >
98- <systemPropertyVariables >
99- <test .mime>json</test .mime>
100- </systemPropertyVariables >
101- </configuration >
102- </plugin >
103- </plugins >
104- </build >
105- </profile >
106- </profiles >
107- </project >
73+ <profiles >
74+ <profile >
75+ <id >integration</id >
76+ <build >
77+ <plugins >
78+ <plugin >
79+ <groupId >org.apache.maven.plugins</groupId >
80+ <artifactId >maven-surefire-plugin</artifactId >
81+ <executions >
82+ <execution >
83+ <phase >integration-test</phase >
84+ <goals >
85+ <goal >test</goal >
86+ </goals >
87+ <configuration >
88+ <excludes >
89+ <exclude >**/*LiveTest.java</exclude >
90+ </excludes >
91+ <includes >
92+ <include >**/*IntegrationTest.java</include >
93+ </includes >
94+ </configuration >
95+ </execution >
96+ </executions >
97+ <configuration >
98+ <systemPropertyVariables >
99+ <test .mime>json</test .mime>
100+ </systemPropertyVariables >
101+ </configuration >
102+ </plugin >
103+ </plugins >
104+ </build >
105+ </profile >
106+ </profiles >
107+ </project >
0 commit comments