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

Propose checking of plugin artifact when plugin descriptor cannot be found

    Details

      Description

      From the plugin manager:

      PluginDescriptor addedPlugin = pluginCollector.getPluginDescriptor( plugin );
      
      if ( addedPlugin == null )
      {
          throw new IllegalStateException( "The PluginDescriptor for the plugin " + plugin + " was not found." );
      }
      

      One scenario where this actually happens is when the plugin JAR is unreadable. Hence, we should extend the error message and propose to the users to check whether the plugin JAR (pluginArtifact.getFile()) is intact.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: