Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2700

Investigate, if we can define the configuration and executions tags in pluginManagement for the codecoverage

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 5.4
    • Common
    • None

    Description

      Investigate, if we can define the configuration and executions tags in pluginManagement so they don't need to be repeated in each module, like we do below (taken from the wayback-test/pom.xml

      <build>
          <testResources>
            <testResource>
              <directory>src/test/resources</directory>
            </testResource>
            <testResource>
              <directory>tests</directory>
            </testResource>
          </testResources>
          <plugins>
          <plugin>
          <groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
          <version>${jacoco.version}</version>
          <configuration>
              <destFile>${sonar.jacoco.reportPath}</destFile>
              <append>true</append>
          </configuration>
          <executions>
              <execution>
                  <id>agent</id>
                  <goals>
                      <goal>prepare-agent</goal>
                  </goals>
              </execution>
          </executions>
      </plugin>
         </plugins>
        </build>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            svc Søren Vejrup Carlsen (Inactive)
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: