Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8065

Camel won't build on windows (camel-box and camel-api-component-maven-plugin)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.0
    • 2.14.1, 2.15.0
    • build system
    • None
    • Windows 7 x64; JDK 1.7.0_60; Maven 3.1.0

    • Patch Available

    Description

      Building camel fails on windows with the error:

      Failed to execute goal org.apache.camel:camel-api-component-maven-plugin:2.15-SNAPSHOT:fromApis (generate-test-component-classes) on project camel-box: Error generating source for com.box.boxjavalibv2.resourcemanagers.IBoxCollaborationsManager: String index out of range: 1

      This is due to the plugin not escaping the windows file separator before using it in a regex.

      Patch/pull request to follow

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            paulmcculloch Paul McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: