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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: