|
1 | | -<?xml version="1.0" encoding="UTF-8"?> |
2 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 3 | <modelVersion>4.0.0</modelVersion> |
|
11 | 10 | <name>easy-notes</name> |
12 | 11 | <description>Rest API for a Simple Note Taking Application</description> |
13 | 12 |
|
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 | + |
21 | 14 | <properties> |
22 | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | 16 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
30 | 23 | <id>spring-releases</id> |
31 | 24 | <url>https://repo.spring.io/release</url> |
32 | 25 | </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> |
33 | 35 | </repositories> |
34 | 36 |
|
35 | 37 | <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 --> |
69 | 39 | </dependencies> |
70 | 40 |
|
71 | 41 | <build> |
72 | 42 | <plugins> |
73 | 43 | <plugin> |
74 | 44 | <groupId>org.springframework.boot</groupId> |
75 | 45 | <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> |
76 | 60 | </plugin> |
77 | 61 | <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> |
82 | 79 | </plugins> |
83 | 80 | </build> |
84 | 81 |
|
85 | 82 | </project> |
86 | 83 |
|
| 84 | + |
0 commit comments