Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6564

Build fails on file systems that do not distinguish between upper and lower case

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.4.0
    • Fix Version/s: 1.3.0, 1.4.0
    • Component/s: Build System
    • Labels:
      None

      Description

      A recent change of the root pom tries to copy licenses of bundled dependencies into the META-INF/license folder. However, the META-INF folder contains already a file LICENSE which contains the AL2.

      File systems that do not distinguish upper and lower case are not able to create the license folder because the LICENSE file exists.

        Activity

        Hide
        fhueske Fabian Hueske added a comment -

        Fixed on 1.3 with fddc8b10e2ed4d9bb920073e4fe86603ce09beed
        Fixed on 1.4 with c9ffa9d2b2b901432d10a012d2c49fc594c7341c

        Show
        fhueske Fabian Hueske added a comment - Fixed on 1.3 with fddc8b10e2ed4d9bb920073e4fe86603ce09beed Fixed on 1.4 with c9ffa9d2b2b901432d10a012d2c49fc594c7341c
        Hide
        fhueske Fabian Hueske added a comment -

        Will rename the `license` folder to `licenses` and fix this.

        Show
        fhueske Fabian Hueske added a comment - Will rename the `license` folder to `licenses` and fix this.
        Hide
        rmetzger Robert Metzger added a comment - - edited

        I wonder if we could just rename the LICENSE to LICENSE-asl.txt or so?

        Show
        rmetzger Robert Metzger added a comment - - edited I wonder if we could just rename the LICENSE to LICENSE-asl.txt or so?
        Hide
        zjureel Fang Yong added a comment -

        Thank you for your report, and also I meet this problem in windows. I find that the path is configed in pom.xml as follows:

        <configuration>
        <outputDirectory>$

        {basedir}/target/classes/META-INF/licenses/</outputDirectory>
        <resources>
        <resource>
        <directory>${basedir}

        /licenses</directory>
        <includes>
        <include>LICENSE.*.txt</include>
        </includes>
        </resource>
        </resources>
        </configuration>

        Could the outputDirectory be renamed to another path such as $

        {basedir}

        /target/classes/META-INF/packaged_licenses/ to fix this problem? Stephan Ewen

        Show
        zjureel Fang Yong added a comment - Thank you for your report, and also I meet this problem in windows. I find that the path is configed in pom.xml as follows: <configuration> <outputDirectory>$ {basedir}/target/classes/META-INF/licenses/</outputDirectory> <resources> <resource> <directory>${basedir} /licenses</directory> <includes> <include>LICENSE.*.txt</include> </includes> </resource> </resources> </configuration> Could the outputDirectory be renamed to another path such as $ {basedir} /target/classes/META-INF/packaged_licenses/ to fix this problem? Stephan Ewen

          People

          • Assignee:
            fhueske Fabian Hueske
            Reporter:
            fhueske Fabian Hueske
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development