Author: kenney
Date: Thu Sep 8 02:29:47 2005
New Revision: 279546
URL: http://svn.apache.org/viewcvs?rev=279546&view=rev
Log:
Add the project itself to the 'reactorprojects' of the forked
build, so dependencies can at least resolve the target/artifact.jar.
Blacklist the project to skip building it again.
TODO: the message now printed in ReactorManager implies that that
project has build errors; that seems to be the only possible reason
to blacklist a project. Maybe if the EventDispatcher/Handler interfaces
would have more methods than start/end/error this could be handled differently.
Modified:
maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java
Modified:
maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java?rev=279546&r1=279545&r2=279546&view=diff
==============================================================================
---
maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java
(original)
+++
maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java
Thu Sep 8 02:29:47 2005
@@ -95,9 +95,13 @@
{
List projects = collectProjects();
+ projects.add( project );
+
ReactorManager rm = new ReactorManager( projects );
rm.setFailureBehavior( ReactorManager.FAIL_AT_END );
+
+ rm.blackList( project );
List goals = Collections.singletonList( "package" );
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]