Uploaded image for project: 'Maven Invoker Plugin'
  1. Maven Invoker Plugin
  2. MINVOKER-228

Improve documentation: "Using with other integration test frameworks" page

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Labels:
      None

      Description

      https://maven.apache.org/plugins/maven-invoker-plugin/examples/integration-test-verify.html

      In the example the goal 'install' is missing from the list of goals under the tag execution.
      This causes the integration tests to either use an old version of the plugin under test, or just fail if the plugin has never been installed in the local M2 repo before.

      Please fix the example to be like this:

      <project>
        <build>
          <plugins>
            <plugin>
              <artifactId>maven-invoker-plugin</artifactId>
              <version>3.0.1</version>
              <executions>
                <execution>
                  <id>integration-test</id>
                  <goals>
                    <goal>install</goal>
                    <goal>integration-test</goal>
                    <goal>verify</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
          </plugins>
        </build>
      </project>
      

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              alb-i986 Alberto Scotto
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: