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

Replace legacy ModelTestControllerVersion#getMavenGav with proper methods to format Maven coordinates

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 29.0.0.Final
    • 29.0.0.Beta6
    • Server
    • None

      Follow up on WFCORE-7297 - this has never worked for core artifacts to begin with.

      The org.jboss.as.model.test.ModelTestControllerVersion#getMavenGav is legacy and problematic.

      First of all, the method is incorrectly named - it's not a getter of any sorts.

      Using both 'maven' and 'gav' in the same method is redundant, GAV is a maven concept.

      Moreover, GAV should be all caps as it's already an abbreviation.

      It makes use of irrelevant org.jboss.as.model.test.ModelTestControllerVersion#getArtifactIdPrefix which was last used in EAP 6.

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: