Skip to content

Commit 6e9bc6e

Browse files
authored
ajustando a versão de compilação do pom
1 parent 0a4b717 commit 6e9bc6e

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

pom.xml

+27-9
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,23 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5-
65
<groupId>com.example</groupId>
76
<artifactId>easy-notes</artifactId>
87
<version>1.0.0</version>
98
<packaging>jar</packaging>
10-
119
<name>easy-notes</name>
1210
<description>Rest API for a Simple Note Taking Application</description>
13-
1411
<parent>
1512
<groupId>org.springframework.boot</groupId>
1613
<artifactId>spring-boot-starter-parent</artifactId>
1714
<version>2.5.5</version>
1815
<relativePath/> <!-- lookup parent from repository -->
1916
</parent>
20-
2117
<properties>
2218
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2319
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24-
<java.version>11</java.version>
20+
<java.version>8</java.version>
2521
</properties>
26-
2722
<dependencies>
2823
<dependency>
2924
<groupId>org.springframework.boot</groupId>
@@ -53,7 +48,6 @@
5348
<scope>test</scope>
5449
</dependency>
5550
</dependencies>
56-
5751
<build>
5852
<plugins>
5953
<plugin>
@@ -62,6 +56,30 @@
6256
</plugin>
6357
</plugins>
6458
</build>
65-
66-
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>
6785
</project>

0 commit comments

Comments
 (0)