Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-592

Support for conditional BOMs in the archetypeSync maven plugin

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • None
    • None
    • qstools
    • None

    Description

      I'd like to be able to support the following in the generated POM:

      #if ($enterprise == "true" || $enterprise == "y" || $enterprise == "yes" )
              <version.richfaces>${richfaces-enterprise-version}</version.richfaces>
              <version.jboss.bom.eap>${jboss-bom-enterprise-version-eap}</version.jboss.bom.eap>
              <version.jboss.bom.wfk>${jboss-bom-enterprise-version-wfk}</version.jboss.bom.wfk>
      #else
              <version.richfaces>${richfaces-version}</version.richfaces>
              <version.jboss.bom>${jboss-bom-version}</version.jboss.bom>
      #end
      

      Currently qstools only has support for version.jboss.bom which is hard coded into the plugin.

      I am requesting that the plugin be extended to work with arbitrary conditionals.

      Attachments

        Activity

          People

            rafabene_jira Rafael Benevides (Inactive)
            bleathem@redhat.com Brian Leathem (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: