Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1864

Whitespaces are not removed from dependencies in module add command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha11
    • 3.0.0.Alpha9
    • CLI
    • None

      Running
      module add --name=foo.bar --resources=foo.jar --dependencies=[org.a, org.b ]

      will result in following dependencies in module.xml
      {{
      ...
      <dependencies>
      <module name="org.a"/>
      <module name=" org.b "/>
      </dependencies>
      ...
      }}

      The module name in dependencies should be stripped of leading and trailing whitespaces.

            spyrkob Bartosz Spyrko-Smietanko
            spyrkob Bartosz Spyrko-Smietanko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: