You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2003/06/23 06:39:59 UTC
cvs commit: maven/src/java/org/apache/maven/jelly/tags/maven WerkzDependencyResolver.java
jvanzyl 2003/06/22 21:39:59
Modified: src/java/org/apache/maven/jelly/tags/maven
WerkzDependencyResolver.java
Log:
o Getting rid of a couple compile errors in HEAD.
Revision Changes Path
1.5 +15 -3 maven/src/java/org/apache/maven/jelly/tags/maven/WerkzDependencyResolver.java
Index: WerkzDependencyResolver.java
===================================================================
RCS file: /home/cvs/maven/src/java/org/apache/maven/jelly/tags/maven/WerkzDependencyResolver.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- WerkzDependencyResolver.java 28 Feb 2003 11:16:16 -0000 1.4
+++ WerkzDependencyResolver.java 23 Jun 2003 04:39:59 -0000 1.5
@@ -72,7 +72,8 @@
* @author <a href="mailto:bwalding@apache.org">Ben Walding</a>
* @version $Id$
*/
-public class WerkzDependencyResolver implements DependencyResolverInterface
+public class WerkzDependencyResolver
+ implements DependencyResolverInterface
{
private List projects = new ArrayList();
private final List sortedGoals = new ArrayList();
@@ -105,6 +106,7 @@
protected ProjectGoal getExistingGoal(Project project)
{
ProjectGoal goal = (ProjectGoal) wproject.getGoal(project.getId());
+
if (goal == null)
{
throw new NullPointerException("No goal exists : " + project.getId());
@@ -216,7 +218,7 @@
if ((sourceBuild) || (!sourceBuild && goal.getSourceBuild()))
{
- result.add(((ProjectGoal) goal).getProject());
+ result.add((goal).getProject());
}
}
@@ -269,6 +271,11 @@
return true;
}
+ public void performAction( Session session ) throws Exception
+ {
+ list.add(goal);
+ }
+
public void performAction() throws Exception
{
list.add(goal);
@@ -283,6 +290,11 @@
public boolean requiresAction()
{
return false;
+ }
+
+ public void performAction( Session session ) throws Exception
+ {
+
}
public void performAction() throws Exception
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org