|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
1 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion> |
4 | | - |
| 5 | + <repositories> |
| 6 | + <repository> |
| 7 | + <id>central</id> |
| 8 | + <url>https://repo.maven.apache.org/maven2/</url> |
| 9 | + </repository> |
| 10 | + </repositories> |
| 11 | + <pluginRepositories> |
| 12 | + <pluginRepository> |
| 13 | + <id>central</id> |
| 14 | + <url>https://repo.maven.apache.org/maven2</url> |
| 15 | + <releases> |
| 16 | + <enabled>true</enabled> |
| 17 | + </releases> |
| 18 | + <snapshots> |
| 19 | + <enabled>false</enabled> |
| 20 | + </snapshots> |
| 21 | + </pluginRepository> |
| 22 | + </pluginRepositories> |
5 | 23 | <groupId>com.example</groupId> |
6 | 24 | <artifactId>easy-notes</artifactId> |
7 | 25 | <version>1.0.0</version> |
|
10 | 28 | <name>easy-notes</name> |
11 | 29 | <description>Rest API for a Simple Note Taking Application</description> |
12 | 30 |
|
13 | | - |
| 31 | + <parent> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 34 | + <version>2.5.5</version> |
| 35 | + <relativePath/> |
| 36 | + </parent> |
| 37 | + |
14 | 38 | <properties> |
15 | 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
16 | 40 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
17 | 41 | <java.version>11</java.version> |
18 | | - <spring.boot.version>2.5.5</spring.boot.version> |
19 | 42 | </properties> |
20 | 43 |
|
21 | | - <repositories> |
22 | | - <repository> |
23 | | - <id>spring-releases</id> |
24 | | - <url>https://repo.spring.io/release</url> |
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> |
35 | | - </repositories> |
36 | | - |
37 | 44 | <dependencies> |
38 | | - <!-- Tus dependencias --> |
| 45 | + <dependency> |
| 46 | + <groupId>org.springframework.boot</groupId> |
| 47 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>org.springframework.boot</groupId> |
| 51 | + <artifactId>spring-boot-starter-web</artifactId> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>org.springframework.boot</groupId> |
| 55 | + <artifactId>spring-boot-starter-validation</artifactId> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>org.springframework.boot</groupId> |
| 59 | + <artifactId>spring-boot-devtools</artifactId> |
| 60 | + <scope>runtime</scope> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>mysql</groupId> |
| 64 | + <artifactId>mysql-connector-java</artifactId> |
| 65 | + <scope>runtime</scope> |
| 66 | + </dependency> |
| 67 | + <dependency> |
| 68 | + <groupId>org.springframework.boot</groupId> |
| 69 | + <artifactId>spring-boot-starter-test</artifactId> |
| 70 | + <scope>test</scope> |
| 71 | + </dependency> |
39 | 72 | </dependencies> |
40 | 73 |
|
41 | 74 | <build> |
42 | 75 | <plugins> |
43 | | - <plugin> |
| 76 | + <plugin> |
44 | 77 | <groupId>org.springframework.boot</groupId> |
45 | 78 | <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> |
60 | 79 | </plugin> |
61 | | - <plugin> |
| 80 | + <plugin> |
| 81 | + <groupId>org.apache.maven.plugins</groupId> |
| 82 | + <artifactId>maven-resources-plugin</artifactId> |
| 83 | + <version>3.1.0</version> |
| 84 | + |
| 85 | + </plugin> |
| 86 | + <plugin> |
62 | 87 | <groupId>org.apache.maven.plugins</groupId> |
63 | | - <artifactId>maven-resources-plugin</artifactId> |
64 | | - <version>3.2.0</version> |
| 88 | + <artifactId>maven-compiler-plugin</artifactId> |
| 89 | + <version>3.8.1</version> |
65 | 90 | <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> |
| 91 | + <source>1.8</source> |
| 92 | + <target>1.8</target> |
77 | 93 | </configuration> |
78 | | - </plugin> |
| 94 | + </plugin> |
| 95 | + <plugin> |
| 96 | + <groupId>org.apache.maven.plugins</groupId> |
| 97 | + <artifactId>maven-surefire-plugin</artifactId> |
| 98 | + <version>2.22.1</version> |
| 99 | + </plugin> |
79 | 100 | </plugins> |
80 | 101 | </build> |
81 | 102 |
|
|
0 commit comments