Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15465

Use of maven-resource-plugin filtering during feature pack generation is picking up binary files

XMLWordPrintable

    • Workaround Exists
    • Hide

      Replace the following files in your WildFly 25 installation with the equivalent files from WildFly 24.0.0 or 24.0.1, and then utilize them as you normally would (e.g. as desribed in the service.bat file in the same directory):

      $WILDFLY_HOME/core-feature-pack/common/src/main/resources/content/docs/contrib/scripts/service/wildfly-mgr.exe

      $WILDFLY_HOME/core-feature-pack/common/src/main/resources/content/docs/contrib/scripts/service/wildfly-service.exe

      $WILDFLY_HOME/core-feature-pack/common/src/main/resources/content/docs/contrib/scripts/service/amd64/wildfly-service.exe

      If not for this bug the files shipped in WildFly 25 would have been the same as those in WildFly 24.

      Show
      Replace the following files in your WildFly 25 installation with the equivalent files from WildFly 24.0.0 or 24.0.1, and then utilize them as you normally would (e.g. as desribed in the service.bat file in the same directory): $WILDFLY_HOME/core-feature-pack/common/src/main/resources/content/docs/contrib/scripts/service/wildfly-mgr.exe $WILDFLY_HOME/core-feature-pack/common/src/main/resources/content/docs/contrib/scripts/service/wildfly-service.exe $WILDFLY_HOME/core-feature-pack/common/src/main/resources/content/docs/contrib/scripts/service/amd64/wildfly-service.exe If not for this bug the files shipped in WildFly 25 would have been the same as those in WildFly 24.

      The use of maven-resource-plugin filtering I added during the WF 25 dev cycle to facilitate reuse of module.xml files between standard WildFly and WildFly Preview wasn't careful about preventing filtering of binary files. As a result .exe files coming in from WildFly Core for inclusion in the docs/contrib/scripts dir are getting corrupted.

      See discussion at https://wildfly.zulipchat.com/#narrow/stream/174184-wildfly-developers/topic/Windows.20binaries.20in.20Wildfly.2025.2E0.2E0.2EFinal

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: