Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-176

helpmojo: Use Java 5 generics in generated help mojo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.7
    • Plugin Plugin
    • None

    Description

      The generated help mojo class generates List and ArrayList variables and parameters without generic collections. This causes compiler warnings for projects compiled with Java 5 or higher. It also causes warnings in IDEs.

      Possibly an optional parameter like useJava5 in Modello Maven Plugin (http://modello.codehaus.org/modello-maven-plugin/java-mojo.html#useJava5) could be used to control generating the help mojo with generic collections.

      Attachments

        1. MPLUGIN-176-patch.diff
          8 kB
          Bindul Bhowmik

        Activity

          People

            bentmann Benjamin Bentmann
            bindul Bindul Bhowmik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: