Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-477

package maven plugin filtering complains about platform encoding although project.build.sourceEncoding is set

    XMLWordPrintableJSON

Details

    • Patch

    Description

      when building this content package project:
      https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/ui.apps

      this warning is reported:

      [INFO] Apply filtering to FileSet below D:\Develop\github\filevault-package-maven-plugin-validation-issues\content-packages\ui.apps\target\classes\apps\filevaultsample\clientlibs
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] Using 'null' encoding to copy filtered properties files.
      [INFO] Copying 20 resources to D:\Develop\github\filevault-package-maven-plugin-validation-issues\content-packages\ui.apps\target\filteredFiles\jcr_root\apps\filevaultsample\clientlibs
      [INFO] Apply filtering to FileSet below D:\Develop\github\filevault-package-maven-plugin-validation-issues\content-packages\ui.apps\target\classes\apps\filevaultsample\core
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
      

      it complains twice about the missing encoding configuration.

      following the documentation from
      http://jackrabbit.apache.org/filevault-package-maven-plugin/package-mojo.html#resourceEncoding
      the default for the encoding is the maven property project.build.sourceEncoding

      which is configured in one of the parent POMs of this project (visible e.g. when using help:effective-pom).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sseifert Stefan Seifert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: