mirror of
https://gitee.com/dcren/initializr.git
synced 2025-10-21 11:07:37 +08:00
Fix maven warning
This commit fixes a warning displayed by Maven due to the fact that no relativePath is set and maven defaults to the parent directory. As the parent is never going to be available in such directory and we use the maven repository to fetch it, this commit sets an unknown relative path explicitly. Also fixing to UTF-8 encoding which is a sane default. Fixing the encoding removes some warning when copying filtered resources.
This commit is contained in:

committed by
Dave Syer

parent
093ed35135
commit
bf95f10709
@@ -14,6 +14,7 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>${bootVersion}</version>
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
<dependencies><% styles.each { %>
|
||||
@@ -29,6 +30,7 @@
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<start-class>${packageName}.Application</start-class>
|
||||
<java.version>1.7</java.version>
|
||||
</properties>
|
||||
|
Reference in New Issue
Block a user