Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6951

Module add operation does't trim dependencies names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Optional Optional
    • 7.1.0.DR8
    • 7.1.0.DR7
    • CLI, User Experience
    • None

      Description of problem:
      Name of dependencies are not trimmed in "module add" operation.

      How reproducible:
      Always

      Steps to Reproduce:

      module add --name=org.test.whatever --resources=/home/mkopecky/playground/resteasy/single-client/target/RESTEasyClientApplication.jar --dependencies=[javax.security.auth.message.api, org.slf4j]
      

      cat ./modules/org/test/whatever/main/module.xml

      Actual results:

      ...
      <module name=" org.slf4j"/>
      ...
      

      Expected results:

      ...
      <module name="org.slf4j"/>
      ...
      

      Additional info:
      Priority of this jira is optional, because "module add" operation is only TP and it is not supported, see discussion on EAP7-519

              jdenise@redhat.com Jean Francois Denise
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: