Я не могу изменить имя surefile-report.html - PullRequest
0 голосов
/ 30 октября 2019

Я добавил плагин surefire-report-plugin в свой родительский pom

<reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>3.0.0-M3</version>
                <configuration>
                    <outputName>new_output_name</outputName>
                      <systemProperties>
                        <property>
                            <name>org.uncommons.reportng.title</name>
                            <value>My Title</value>
                        </property>
                        </systemProperties>
                 </configuration>
            </plugin>
        </plugins>
    </reporting>

и запускаю его следующим образом:

mvn surefire-report: report site

Он генерирует surefire-report.html во всех моих подмодулях, что нормально

Вопрос 1: как изменить имя созданного файла surefire-report.html? new_output_name не влияет Вопрос 2: как изменить заголовок отчета? настроенное свойство org.uncommons.reportng.title не влияет

...