|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" 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> |
| 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 | 5 |
|
6 | | - <artifactId>spring-jenkins-pipeline</artifactId> |
7 | | - <version>0.0.1-SNAPSHOT</version> |
8 | | - <packaging>jar</packaging> |
| 6 | + <artifactId>spring-jenkins-pipeline</artifactId> |
| 7 | + <version>0.0.1-SNAPSHOT</version> |
| 8 | + <packaging>jar</packaging> |
9 | 9 |
|
10 | | - <name>spring-jenkins-pipeline</name> |
11 | | - <description>Intro to Jenkins 2 and the power of pipelines</description> |
| 10 | + <name>spring-jenkins-pipeline</name> |
| 11 | + <description>Intro to Jenkins 2 and the power of pipelines</description> |
12 | 12 |
|
13 | | - <parent> |
14 | | - <artifactId>parent-boot-5</artifactId> |
15 | | - <groupId>com.baeldung</groupId> |
16 | | - <version>0.0.1-SNAPSHOT</version> |
17 | | - <relativePath>../parent-boot-5</relativePath> |
18 | | - </parent> |
| 13 | + <parent> |
| 14 | + <artifactId>parent-boot-5</artifactId> |
| 15 | + <groupId>com.baeldung</groupId> |
| 16 | + <version>0.0.1-SNAPSHOT</version> |
| 17 | + <relativePath>../parent-boot-5</relativePath> |
| 18 | + </parent> |
19 | 19 |
|
20 | | - <properties> |
21 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
22 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
23 | | - <java.version>1.8</java.version> |
24 | | - <checkstyle.version>2.17</checkstyle.version> |
25 | | - </properties> |
| 20 | + <properties> |
| 21 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 22 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 23 | + <java.version>1.8</java.version> |
| 24 | + <checkstyle.version>2.17</checkstyle.version> |
| 25 | + </properties> |
26 | 26 |
|
27 | | - <dependencies> |
28 | | - <dependency> |
29 | | - <groupId>org.springframework.boot</groupId> |
30 | | - <artifactId>spring-boot-starter-data-mongodb</artifactId> |
31 | | - </dependency> |
32 | | - <dependency> |
33 | | - <groupId>org.springframework.boot</groupId> |
34 | | - <artifactId>spring-boot-starter-data-rest</artifactId> |
35 | | - </dependency> |
36 | | - <dependency> |
37 | | - <groupId>org.springframework.boot</groupId> |
38 | | - <artifactId>spring-boot-starter-test</artifactId> |
39 | | - <scope>test</scope> |
40 | | - </dependency> |
41 | | - </dependencies> |
| 27 | + <dependencies> |
| 28 | + <dependency> |
| 29 | + <groupId>org.springframework.boot</groupId> |
| 30 | + <artifactId>spring-boot-starter-data-mongodb</artifactId> |
| 31 | + </dependency> |
| 32 | + <dependency> |
| 33 | + <groupId>org.springframework.boot</groupId> |
| 34 | + <artifactId>spring-boot-starter-data-rest</artifactId> |
| 35 | + </dependency> |
| 36 | + <dependency> |
| 37 | + <groupId>org.springframework.boot</groupId> |
| 38 | + <artifactId>spring-boot-starter-test</artifactId> |
| 39 | + <scope>test</scope> |
| 40 | + </dependency> |
| 41 | + </dependencies> |
42 | 42 |
|
43 | | - <build> |
44 | | - <plugins> |
45 | | - <plugin> |
46 | | - <groupId>org.springframework.boot</groupId> |
47 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
48 | | - </plugin> |
49 | | - <plugin> |
50 | | - <groupId>org.apache.maven.plugins</groupId> |
51 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
52 | | - <version>${checkstyle.version}</version> |
53 | | - </plugin> |
54 | | - </plugins> |
55 | | - </build> |
| 43 | + <build> |
| 44 | + <plugins> |
| 45 | + <plugin> |
| 46 | + <groupId>org.springframework.boot</groupId> |
| 47 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 48 | + </plugin> |
| 49 | + <plugin> |
| 50 | + <groupId>org.apache.maven.plugins</groupId> |
| 51 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 52 | + <version>${checkstyle.version}</version> |
| 53 | + </plugin> |
| 54 | + </plugins> |
| 55 | + </build> |
56 | 56 |
|
57 | | - <profiles> |
58 | | - <profile> |
59 | | - <id>integration</id> |
60 | | - <build> |
61 | | - <plugins> |
62 | | - <plugin> |
63 | | - <artifactId>maven-surefire-plugin</artifactId> |
64 | | - <configuration> |
65 | | - <excludes> |
66 | | - <exclude>**/*UnitTest.java</exclude> |
67 | | - </excludes> |
68 | | - <!-- Run only tests whose name end with "IntegrationTest" --> |
69 | | - <includes> |
70 | | - <include>**/*IntegrationTest.java</include> |
71 | | - </includes> |
72 | | - </configuration> |
73 | | - </plugin> |
74 | | - </plugins> |
75 | | - </build> |
76 | | - </profile> |
| 57 | + <profiles> |
| 58 | + <profile> |
| 59 | + <id>integration</id> |
| 60 | + <build> |
| 61 | + <plugins> |
| 62 | + <plugin> |
| 63 | + <artifactId>maven-surefire-plugin</artifactId> |
| 64 | + <configuration> |
| 65 | + <excludes> |
| 66 | + <exclude>**/*UnitTest.java</exclude> |
| 67 | + </excludes> |
| 68 | + <!-- Run only tests whose name end with "IntegrationTest" --> |
| 69 | + <includes> |
| 70 | + <include>**/*IntegrationTest.java</include> |
| 71 | + </includes> |
| 72 | + </configuration> |
| 73 | + </plugin> |
| 74 | + </plugins> |
| 75 | + </build> |
| 76 | + </profile> |
77 | 77 |
|
78 | | - <profile> |
79 | | - <id>unit</id> |
80 | | - <build> |
81 | | - <plugins> |
82 | | - <plugin> |
83 | | - <artifactId>maven-surefire-plugin</artifactId> |
84 | | - <configuration> |
85 | | - <excludes> |
86 | | - <exclude>**/*IntegrationTest.java</exclude> |
87 | | - </excludes> |
88 | | - <!-- Run only tests whose name end with "UnitTest" --> |
89 | | - <includes> |
90 | | - <include>**/*UnitTest.java</include> |
91 | | - </includes> |
92 | | - </configuration> |
93 | | - </plugin> |
94 | | - </plugins> |
95 | | - </build> |
96 | | - </profile> |
97 | | - </profiles> |
| 78 | + <profile> |
| 79 | + <id>unit</id> |
| 80 | + <build> |
| 81 | + <plugins> |
| 82 | + <plugin> |
| 83 | + <artifactId>maven-surefire-plugin</artifactId> |
| 84 | + <configuration> |
| 85 | + <excludes> |
| 86 | + <exclude>**/*IntegrationTest.java</exclude> |
| 87 | + </excludes> |
| 88 | + <!-- Run only tests whose name end with "UnitTest" --> |
| 89 | + <includes> |
| 90 | + <include>**/*UnitTest.java</include> |
| 91 | + </includes> |
| 92 | + </configuration> |
| 93 | + </plugin> |
| 94 | + </plugins> |
| 95 | + </build> |
| 96 | + </profile> |
| 97 | + </profiles> |
98 | 98 | </project> |
0 commit comments