Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-36

JarMojoTest uses wrong import for maven-plugin-testing-harness

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1
    • None
    • None
    • n/a

    Description

      The JarMojoTest class uses a wrong package name:

      import org.apache.maven.plugins.testing.AbstractMojoTestCase;

      it should be:

      import org.apache.maven.plugin.testing.AbstractMojoTestCase;

      (the difference is in plugins versus plugin). This is a class in the maven-plugin-testing-harness artifact.
      The same goes for the test pom.xml it uses. See the attached patch for details.

      Attachments

        1. maven-jar-plugin.patch
          1 kB
          Marcel Schutte

        Activity

          People

            evenisse Emmanuel Venisse
            mschutte Marcel Schutte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: