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

NPE when calling 'm2 surefire:test'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-1
    • 2.0-beta-1
    • None
    • None

    Description

      MavenProject.getArtifacts() can return null when a single mojo is called (and @requiresDependencyResolution is not set).
      The code however expects it to be non-null (everywhere .size() etc. is called).

      Attachments

        Activity

          People

            kenneyw kenneyw
            kenney Kenney Westerhof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: