Skip to content

Commit aedcda4

Browse files
committed
Modificacion Pom
1 parent 9babc33 commit aedcda4

File tree

1 file changed

+43
-45
lines changed

1 file changed

+43
-45
lines changed

pom.xml

Lines changed: 43 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
21
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
32
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
43
<modelVersion>4.0.0</modelVersion>
@@ -11,13 +10,7 @@
1110
<name>easy-notes</name>
1211
<description>Rest API for a Simple Note Taking Application</description>
1312

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-
13+
2114
<properties>
2215
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2316
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -30,57 +23,62 @@
3023
<id>spring-releases</id>
3124
<url>https://repo.spring.io/release</url>
3225
</repository>
26+
<repository>
27+
<id>central</id>
28+
<name>Central Repository</name>
29+
<url>https://repo.maven.apache.org/maven2</url>
30+
<layout>default</layout>
31+
<snapshots>
32+
<enabled>false</enabled>
33+
</snapshots>
34+
</repository>
3335
</repositories>
3436

3537
<dependencies>
36-
<dependency>
37-
<groupId>org.springframework.boot</groupId>
38-
<artifactId>spring-boot-starter-data-jpa</artifactId>
39-
<version>${spring.boot.version}</version>
40-
</dependency>
41-
<dependency>
42-
<groupId>org.springframework.boot</groupId>
43-
<artifactId>spring-boot-starter-web</artifactId>
44-
<version>${spring.boot.version}</version>
45-
</dependency>
46-
<dependency>
47-
<groupId>org.springframework.boot</groupId>
48-
<artifactId>spring-boot-starter-validation</artifactId>
49-
<version>${spring.boot.version}</version>
50-
</dependency>
51-
<dependency>
52-
<groupId>org.springframework.boot</groupId>
53-
<artifactId>spring-boot-devtools</artifactId>
54-
<version>${spring.boot.version}</version>
55-
<scope>runtime</scope>
56-
</dependency>
57-
<dependency>
58-
<groupId>mysql</groupId>
59-
<artifactId>mysql-connector-java</artifactId>
60-
<version>8.0.23</version> <!-- Actualiza a la versión más reciente -->
61-
<scope>runtime</scope>
62-
</dependency>
63-
<dependency>
64-
<groupId>org.springframework.boot</groupId>
65-
<artifactId>spring-boot-starter-test</artifactId>
66-
<version>${spring.boot.version}</version>
67-
<scope>test</scope>
68-
</dependency>
38+
<!-- Tus dependencias -->
6939
</dependencies>
7040

7141
<build>
7242
<plugins>
7343
<plugin>
7444
<groupId>org.springframework.boot</groupId>
7545
<artifactId>spring-boot-maven-plugin</artifactId>
46+
<version>2.5.5</version>
47+
<configuration>
48+
<repositories>
49+
<repository>
50+
<id>central</id>
51+
<name>Central Repository</name>
52+
<url>https://repo.maven.apache.org/maven2</url>
53+
<layout>default</layout>
54+
<snapshots>
55+
<enabled>false</enabled>
56+
</snapshots>
57+
</repository>
58+
</repositories>
59+
</configuration>
7660
</plugin>
7761
<plugin>
78-
<groupId>org.apache.maven.plugins</groupId>
79-
<artifactId>maven-resources-plugin</artifactId>
80-
81-
</plugin>
62+
<groupId>org.apache.maven.plugins</groupId>
63+
<artifactId>maven-resources-plugin</artifactId>
64+
<version>3.2.1</version>
65+
<configuration>
66+
<repositories>
67+
<repository>
68+
<id>central</id>
69+
<name>Central Repository</name>
70+
<url>https://repo.maven.apache.org/maven2</url>
71+
<layout>default</layout>
72+
<snapshots>
73+
<enabled>false</enabled>
74+
</snapshots>
75+
</repository>
76+
</repositories>
77+
</configuration>
78+
</plugin>
8279
</plugins>
8380
</build>
8481

8582
</project>
8683

84+

0 commit comments

Comments
 (0)