Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-650

Problem with multiple executions of surefire within site plugin 3.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0
    • backlog
    • None
    • None

    Description

      There is a test project attached to SUREFIRE-905 that has a total of 4 executions of surefire, with different configuration for each.

      When running "mvn clean install" inside this project, surefire gets executed 4 times as expected. When running "mvn site" only the first execution gets run, the last three get stopped by the configuration-checksum in surefire, indicating they get executed with the same configuration as the default execution. (Surefire creates a SHA1 hash of all the mojo parameters to avoid re-running the same configuration, which is why I conclude the three executions get the same configuration as the default config)

      Attachments

        1. fooproject.tar.gz
          2 kB
          Pierre Cardoso
        2. mvn_X_site_fooproject.txt
          371 kB
          Pierre Cardoso
        3. mvninstall_fooproject.txt
          4 kB
          Pierre Cardoso
        4. mvn_X_install_fooproject.txt
          174 kB
          Pierre Cardoso
        5. mvnsite_fooproject.txt
          5 kB
          Pierre Cardoso
        6. mvnsite_3.4-SNAPSHOT.txt
          5 kB
          Herve Boutemy

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              krosenvold Kristian Rosenvold
              Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: