Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7754

Improvement and extension of plugin validation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.9.1
    • 3.9.2, 4.0.0-alpha-7, 4.0.0
    • Core
    • None

    Description

      Some users when see following warning:

      [INFO] --- remote-resources:1.7.0:process (process-resource-bundles) @ maven ---
      [WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead. 

      on their console, immediately grep their $HOME to find out that they DO HAVE afore mentioned string present in their settings.xml, and then scratch their head how to get rid of it.

      Hence, we should improve error message – at least add some clue that message targets given Mojo developers (as message appears immediately under Mojo execution log message) and not users. Best users could do is nag Mojo developers, and not us, to make message disappear.

      Improvements:

      • report at end, instead multiple times same warning (for reactor builds)
      • possibility to suppress validation
      • new check: maven-compat, maven2, p-c-d, mixed maven verions,, wrong scopes (similar as m-p-p does on build time)

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: