Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile warnings about using platform encoding #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlmuir
Copy link

@jlmuir jlmuir commented Oct 24, 2018

Set the project.build.sourceEncoding property to UTF-8 to eliminate the following compile phase warnings:

$ mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] -------< com.redhat.jboss.maven:el-profile-activator-extension >--------
[INFO] Building El Profile Activator Maven Extension 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ el-profile-activator-extension ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /tmp/el-profile-activator-extension/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ el-profile-activator-extension ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /tmp/el-profile-activator-extension/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.201 s
[INFO] Finished at: 2018-10-24T15:12:47-05:00
[INFO] ------------------------------------------------------------------------

Set the project.build.sourceEncoding property to UTF-8 to eliminate the
compile phase warning from maven-resources-plugin

  [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
            resources, i.e. build is platform dependent!

and maven-compiler-plugin

  [WARNING] File encoding has not been set, using platform encoding
            UTF-8, i.e. build is platform dependent!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant