Skip to content

Commit

Permalink
Fix "build is platform dependent" warning for build-resources
Browse files Browse the repository at this point in the history
Public and private build-resources modules have no parent and thus do
not inherit the source encoding property. This resulted in the specified
warning being printed for plugins that read files from disk,
like checkstyle.

This commit fixes the problem by adding the source encoding property.
  • Loading branch information
lutovich committed Jun 13, 2018
1 parent 4c42333 commit 5e6e2b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-resources/pom.xml
Expand Up @@ -11,6 +11,10 @@
<description>Build resources for community build.</description>
<url>http://components.neo4j.org/${project.artifactId}/${project.version}</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<scm>
<connection>scm:git:git://github.com/neo4j/neo4j.git</connection>
<developerConnection>scm:git:git@github.com:neo4j/neo4j.git</developerConnection>
Expand Down

0 comments on commit 5e6e2b9

Please sign in to comment.