PR: MPMULTICHANGES-2
Utilize the multiproject reactor simular to the Dashboard plugin. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@355176 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
491345ccfa
commit
c7ad7ee509
@ -27,23 +27,50 @@
|
||||
xmlns:x="jelly:xml"
|
||||
xmlns:doc="doc">
|
||||
|
||||
<!--
|
||||
========================================================================
|
||||
Initialize Multichanges plugin data.
|
||||
========================================================================
|
||||
-->
|
||||
<goal name="multichanges:init">
|
||||
|
||||
<!-- Default reactor properties from the Multiproject plug-in -->
|
||||
|
||||
<!-- Make sure the multiproject plugin is loaded -->
|
||||
<multiproject:dependency-handle />
|
||||
|
||||
<m:get var="mBasedir" property="maven.multiproject.basedir" plugin="maven-multiproject-plugin"/>
|
||||
<m:property var="dBasedir" name="maven.multichanges.basedir" defaultValue="${mBasedir}"/>
|
||||
|
||||
<m:get var="mIncludes" property="maven.multiproject.includes" plugin="maven-multiproject-plugin"/>
|
||||
<m:property var="dIncludes" name="maven.multichanges.includes" defaultValue="${mIncludes}"/>
|
||||
|
||||
<m:get var="mExcludes" property="maven.multiproject.excludes" plugin="maven-multiproject-plugin"/>
|
||||
<m:property var="dExcludes" name="maven.multichanges.excludes" defaultValue="${mExcludes}"/>
|
||||
|
||||
<m:get var="mIgnoreFailures" property="maven.multiproject.ignoreFailures" plugin="maven-multiproject-plugin"/>
|
||||
<m:property var="dIgnoreFailures" name="maven.multichanges.ignoreFailures" defaultValue="${mIgnoreFailures}"/>
|
||||
|
||||
</goal>
|
||||
|
||||
|
||||
<!--
|
||||
========================================================================
|
||||
Generate a multiproject release report, providing a unified view of
|
||||
the latest release of projects.
|
||||
========================================================================
|
||||
-->
|
||||
<goal name="multichanges:report">
|
||||
<goal name="multichanges:report" prereqs="multichanges:init">
|
||||
|
||||
<!-- Gather project list using the maven reactor -->
|
||||
<m:reactor
|
||||
basedir="${maven.multichanges.basedir}"
|
||||
basedir="${dBasedir}"
|
||||
banner="Gathering project list"
|
||||
includes="${maven.multichanges.includes}"
|
||||
excludes="${maven.multichanges.excludes}"
|
||||
includes="${dIncludes}"
|
||||
excludes="${dExcludes}"
|
||||
postProcessing="true"
|
||||
collectOnly="true"
|
||||
ignoreFailures="${maven.multichanges.ignoreFailures}"/>
|
||||
ignoreFailures="${dIgnoreFailures}"/>
|
||||
|
||||
<ant:dirname property="dataReportDir" file="${maven.multichanges.data}"/>
|
||||
<ant:mkdir dir="${dataReportDir}"/>
|
||||
|
||||
@ -20,10 +20,13 @@
|
||||
# Multichanges plugin.
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
maven.multichanges.basedir=${basedir}
|
||||
maven.multichanges.includes=*/project.xml
|
||||
maven.multichanges.excludes=**/target/**/project.xml,project.xml
|
||||
maven.multichanges.ignoreFailures=false
|
||||
# Location of subprojects to include in the multichanges report. By default
|
||||
# these properties have the same values as their multiproject conterpart.
|
||||
# You can define them if you need to set different values.
|
||||
#maven.multichanges.basedir=
|
||||
#maven.multichanges.includes=
|
||||
#maven.multichanges.excludes=
|
||||
#maven.multichanges.ignoreFailures=
|
||||
|
||||
# Generated dashboard raw data file
|
||||
maven.multichanges.data = ${maven.build.dir}/multichanges.xml
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.2-SNAPSHOT" date="in SCM">
|
||||
<action dev="ltheussl" type="update" issue="MPMULTICHANGES-2">Use multiproject properties by default.</action>
|
||||
<action dev="aheritier" type="add" issue="MPMULTICHANGES-3" due-to="Jon Strayer">Add another column to the report that lists the value of currentVersion.</action>
|
||||
<action dev="aheritier" type="fix" issue="MPMULTICHANGES-1">Links always used maven.multiproject.aggregateDir even if maven.multiproject.navigation=independent.</action>
|
||||
<action dev="carlos" type="add">Linked project names and releases with download pages and announcements</action>
|
||||
|
||||
@ -27,10 +27,13 @@
|
||||
<body>
|
||||
<section name="Multichanges properties">
|
||||
<source><![CDATA[
|
||||
maven.multichanges.basedir=${basedir}
|
||||
maven.multichanges.includes=*/project.xml
|
||||
maven.multichanges.excludes=**/target/**/project.xml,project.xml
|
||||
maven.multichanges.ignoreFailures=false
|
||||
# Location of subprojects to include in the multichanges report. By default
|
||||
# these properties have the same values as their multiproject conterpart.
|
||||
# You can define them if you need to set different values.
|
||||
#maven.multichanges.basedir=
|
||||
#maven.multichanges.includes=
|
||||
#maven.multichanges.excludes=
|
||||
#maven.multichanges.ignoreFailures=
|
||||
|
||||
# Generated dashboard raw data file
|
||||
maven.multichanges.data = ${maven.build.dir}/multichanges.xml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user