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

Configurer for UniVocity*Format is missing options from superclass

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.6.0
    • None
    • None
    • Unknown

    Description

      String `className` argument in `PackageDataFormatMojo#doParseJavaClassSource` contains full name including generic types and because of that:

      • Mojo fails on windows build
        java.nio.file.InvalidPathException: Illegal char <<> at index 65: org/apache/camel/dataformat/univocity/AbstractUniVocityDataFormat<TsvFormat,TsvWriterSettings,TsvWriter,TsvParserSettings,TsvParser,UniVocityTsvDataFormat>.java
        
      • Options from classes with generics are excluded on linux build - `Files.isRegularFile` returns false for invalid names in Linux.

      I will fix this today, so it can be part of 3.6 release.

      Attachments

        Issue Links

          Activity

            People

              bedla Jan Bednar
              bedla Jan Bednar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: