Author: ltheussl Date: Wed Jul 26 13:08:00 2006 New Revision: 425828 URL: http://svn.apache.org/viewvc?rev=425828&view=rev Log: PR: MPMULTIPROJECT-68 Submitted by: Shinobu Kawai Only register the dependency convergence report if there are child projects.
Modified: maven/maven-1/plugins/trunk/multiproject/plugin.jelly maven/maven-1/plugins/trunk/multiproject/xdocs/changes.xml Modified: maven/maven-1/plugins/trunk/multiproject/plugin.jelly URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/multiproject/plugin.jelly?rev=425828&r1=425827&r2=425828&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/multiproject/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/multiproject/plugin.jelly Wed Jul 26 13:08:00 2006 @@ -329,14 +329,16 @@ <!--==================================================================--> <!-- Maven Report API - Register --> <!--==================================================================--> - <goal name="maven-multiproject-plugin:register"> - - <doc:registerReport - name="Dependency Convergence" - link="dependency-convergence-report" - pluginName="maven-multiproject-plugin" - description="Generate report which shows how consistent are the versions of artifacts between projects."/> - + <goal name="maven-multiproject-plugin:register" prereqs="multiproject:projects-init"> + + <j:if test="${!empty(multiprojects)}"> + <doc:registerReport + name="Dependency Convergence" + link="dependency-convergence-report" + pluginName="maven-multiproject-plugin" + description="Generate report which shows how consistent are the versions of artifacts between projects."/> + </j:if> + </goal> <!--==================================================================--> Modified: maven/maven-1/plugins/trunk/multiproject/xdocs/changes.xml URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/multiproject/xdocs/changes.xml?rev=425828&r1=425827&r2=425828&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/multiproject/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/multiproject/xdocs/changes.xml Wed Jul 26 13:08:00 2006 @@ -25,6 +25,7 @@ </properties> <body> <release version="1.5.1" date="in SVN"> + <action dev="ltheussl" type="fix" issue="MPMULTIPROJECT-68" due-to="Shinobu Kawai">Only register the dependency convergence report if there are child projects.</action> <action dev="ltheussl" type="fix" issue="MPMULTIPROJECT-67" due-to="Shinobu Kawai">maven-multiproject-plugin:deregister does not work.</action> </release> <release version="1.5" date="2006-05-07">