Updated plugin tests to verify we can generate the dashboard report by using the multiproject:site goal. Also updated documentation accordingly.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
c48891dd9f
commit
6cde04d3b7
14 files changed
+84
-52
No files matched your search
@@ -34,7 +34,8 @@
|
||||
<attainGoal name="multiproject:goal"/>
|
||||
|
||||
<!-- Call goal to test -->
|
||||
<attainGoal name="site"/>
|
||||
<j:set var="maven.multiproject.site.goals" value="site,dashboard:report-single"/>
|
||||
<attainGoal name="multiproject:site"/>
|
||||
|
||||
</goal>
|
||||
|
||||
|
||||
@@ -28,3 +28,8 @@ offline=true
|
||||
maven.multiproject.basedir=${basedir}
|
||||
maven.multiproject.includes=*/project.xml
|
||||
maven.multiproject.excludes=
|
||||
|
||||
# Turn off these properties are we're using the multiproject plugin to
|
||||
# generate the dashboard
|
||||
maven.dashboard.rungoals = false
|
||||
maven.dashboard.runreactor = false
|
||||
@@ -22,3 +22,5 @@ maven.xdoc.date=left
|
||||
maven.checkstyle.header.file = ${basedir}/../LICENSE.txt
|
||||
|
||||
maven.dashboard.aggregators = csall,cserrors,cswarnings,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors
|
||||
|
||||
maven.clover.report.xml = true
|
||||
@@ -36,5 +36,6 @@
|
||||
<reports>
|
||||
<report>maven-checkstyle-plugin</report>
|
||||
<report>maven-clover-plugin</report>
|
||||
<report>maven-junit-report-plugin</report>
|
||||
</reports>
|
||||
</project>
|
||||
@@ -22,3 +22,4 @@ maven.xdoc.date=left
|
||||
maven.checkstyle.header.file = ${basedir}/../LICENSE.txt
|
||||
|
||||
maven.dashboard.aggregators = csall,cserrors,cswarnings,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors
|
||||
maven.dashboard.rungoals = true
|
||||
@@ -22,6 +22,8 @@
|
||||
<id>test-maven-dashboard-plugin-subproject2</id>
|
||||
<name>Maven Dashboard plugin test - Subproject2</name>
|
||||
<reports>
|
||||
<report>maven-checkstyle-plugin</report>
|
||||
<!-- Voluntarily do not put any report. We're forcing the execution
|
||||
of artifact goals using the maven.dashboard.rungoals=true
|
||||
property -->
|
||||
</reports>
|
||||
</project>
|
||||
Reference in new issue
Block a user