Suppose you are packaging a Mave project and see the following error “[WARNING] Using platform encoding (CP1252 actually) to copy filtered resources, i.e. build platform dependent!” What do you add to your POM file to set platform encoding to ensure your build is not platform dependet ?

  • <project.build.resources>
  •  <maven.compiler.source>
  •  <project.build.sourceEncoding>
  •  <project.compiler.encoding>

Leave a Reply

Your email address will not be published. Required fields are marked *