Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-525

project add-dependency should accept properties

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.0.3.Final
    • 1.0.2.Final
    • Build Tools - Maven
    • None

      Here's some sample input:

      $ project set-property --name arquillian.version --value 1.0.0.CR6
      Set property [arquillian.version=1.0.0.CR6]
       $ project add-dependency org.jboss.arquillian:arquillian-bom:::${arquillian.version}
      ***INFO*** The command [add-dependency] takes [1] unnamed argument(s), but found [2].
      ***INFO*** Swallowed unknown token [{] for command [add-dependency].
      ***INFO*** Swallowed unknown token [arquillian.version] for command [add-dependency].
      ***INFO*** Swallowed unknown token [}] for command [add-dependency].
      ***INFO*** Could not parse [org.jboss.arquillian:arquillian-bom:::$]... please try again...
       ? [[ groupId:artifactId {:version :scope :packaging} ] (of type org.jboss.forge.project.dependencies.Dependency)]: [killed]
      ***INFO*** Aborted.
      $ project add-dependency "org.jboss.arquillian:arquillian-bom:::${arquillian.version}"
      ***INFO*** Could not parse [org.jboss.arquillian:arquillian-bom:::${arquillian.version}]... please try again...
      

      Either one of those two should work.

              jporter@redhat.com Jason Porter
              jporter@redhat.com Jason Porter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: