Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.1-beta-1, 1.1-beta-2
-
Fix Version/s: 1.1-beta-3
-
Component/s: jelly/ant integration
-
Labels:None
-
Number of attachments :
Description
after upgrading to maven 1.1b1 or 1.1b2, I don't get any failed builds anymore. I use the 'maven.multiproject.ignoreFailures=true' property in my multiproject so all projects gets build, even if one of them fails. But with maven 1.0.2, I could still get a list of all failed project with this piece of code:
<j:forEach var="failedProject" items="${pom.getPluginContext('maven-multiproject-plugin').getVariable('failedProjects')}">
<ant:echo file="${maven.build.dir}/mail.html" append="true" message="Project: ${failedProject.name}<br/>"/>
<ant:echo>${failedProject.artifactId}</ant:echo>
</j:forEach>
I cannot reproduce this. Running
maven -Dgoal=java:compile -Dmaven.multiproject.ignoreFailures=true multiproject:goal
in the attached test project gives me the expected list of failed proects. I checked that it works with m11b2 and current m11b3-SNAPSHOT. Note however that pom.getPluginContext has been deprecated, you should use maven:get instead.