Skip to content

Commit 70177e9

Browse files
authored
update do pom.xml
1 parent 842e644 commit 70177e9

File tree

1 file changed

+82
-64
lines changed

1 file changed

+82
-64
lines changed

pom.xml

Lines changed: 82 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,85 @@
11
<?xml version="1.0" encoding="UTF-8"?>
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>
5-
6-
<groupId>com.example</groupId>
7-
<artifactId>easy-notes</artifactId>
8-
<version>1.0.0</version>
9-
<packaging>jar</packaging>
10-
11-
<name>easy-notes</name>
12-
<description>Rest API for a Simple Note Taking Application</description>
13-
14-
<parent>
15-
<groupId>org.springframework.boot</groupId>
16-
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>2.5.5</version>
18-
<relativePath/> <!-- lookup parent from repository -->
19-
</parent>
20-
21-
<properties>
22-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24-
<java.version>11</java.version>
25-
</properties>
26-
27-
<dependencies>
28-
<dependency>
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>
5+
<groupId>com.example</groupId>
6+
<artifactId>easy-notes</artifactId>
7+
<version>1.0.0</version>
8+
<packaging>jar</packaging>
9+
<name>easy-notes</name>
10+
<description>Rest API for a Simple Note Taking Application</description>
11+
<parent>
2912
<groupId>org.springframework.boot</groupId>
30-
<artifactId>spring-boot-starter-data-jpa</artifactId>
31-
</dependency>
32-
<dependency>
33-
<groupId>org.springframework.boot</groupId>
34-
<artifactId>spring-boot-starter-web</artifactId>
35-
</dependency>
36-
<dependency>
37-
<groupId>org.springframework.boot</groupId>
38-
<artifactId>spring-boot-starter-validation</artifactId>
39-
</dependency>
40-
<dependency>
41-
<groupId>org.springframework.boot</groupId>
42-
<artifactId>spring-boot-devtools</artifactId>
43-
<scope>runtime</scope>
44-
</dependency>
45-
<dependency>
46-
<groupId>mysql</groupId>
47-
<artifactId>mysql-connector-java</artifactId>
48-
<scope>runtime</scope>
49-
</dependency>
50-
<dependency>
51-
<groupId>org.springframework.boot</groupId>
52-
<artifactId>spring-boot-starter-test</artifactId>
53-
<scope>test</scope>
54-
</dependency>
55-
</dependencies>
56-
57-
<build>
58-
<plugins>
59-
<plugin>
13+
<artifactId>spring-boot-starter-parent</artifactId>
14+
<version>2.5.5</version>
15+
<relativePath/> <!-- lookup parent from repository -->
16+
</parent>
17+
<properties>
18+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20+
<java.version>8</java.version>
21+
</properties>
22+
<dependencies>
23+
<dependency>
24+
<groupId>org.springframework.boot</groupId>
25+
<artifactId>spring-boot-starter-data-jpa</artifactId>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.springframework.boot</groupId>
29+
<artifactId>spring-boot-starter-web</artifactId>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.springframework.boot</groupId>
33+
<artifactId>spring-boot-starter-validation</artifactId>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.springframework.boot</groupId>
37+
<artifactId>spring-boot-devtools</artifactId>
38+
<scope>runtime</scope>
39+
</dependency>
40+
<dependency>
41+
<groupId>mysql</groupId>
42+
<artifactId>mysql-connector-java</artifactId>
43+
<scope>runtime</scope>
44+
</dependency>
45+
<dependency>
6046
<groupId>org.springframework.boot</groupId>
61-
<artifactId>spring-boot-maven-plugin</artifactId>
62-
</plugin>
63-
</plugins>
64-
</build>
65-
66-
67-
</project>
47+
<artifactId>spring-boot-starter-test</artifactId>
48+
<scope>test</scope>
49+
</dependency>
50+
</dependencies>
51+
<build>
52+
<plugins>
53+
<plugin>
54+
<groupId>org.springframework.boot</groupId>
55+
<artifactId>spring-boot-maven-plugin</artifactId>
56+
</plugin>
57+
</plugins>
58+
</build>
59+
60+
<pluginRepositories>
61+
<pluginRepository>
62+
<id>central</id>
63+
<name>Central Repository</name>
64+
<url>https://repo.maven.apache.org/maven2</url>
65+
<layout>default</layout>
66+
<snapshots>
67+
<enabled>false</enabled>
68+
</snapshots>
69+
<releases>
70+
<updatePolicy>never</updatePolicy>
71+
</releases>
72+
</pluginRepository>
73+
</pluginRepositories>
74+
<repositories>
75+
<repository>
76+
<id>central</id>
77+
<name>Central Repository</name>
78+
<url>https://repo.maven.apache.org/maven2</url>
79+
<layout>default</layout>
80+
<snapshots>
81+
<enabled>false</enabled>
82+
</snapshots>
83+
</repository>
84+
</repositories>
85+
</project>

0 commit comments

Comments
 (0)