You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2003/12/10 00:36:00 UTC

cvs commit: maven/src/java/org/apache/maven/jelly/tags/maven ReactorTag.java

brett       2003/12/09 15:36:00

  Modified:    src/java/org/apache/maven/jelly/tags/maven Tag:
                        MAVEN-1_0-BRANCH ReactorTag.java
  Log:
  consistency with previous code
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.36.4.2  +3 -3      maven/src/java/org/apache/maven/jelly/tags/maven/ReactorTag.java
  
  Index: ReactorTag.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/jelly/tags/maven/ReactorTag.java,v
  retrieving revision 1.36.4.1
  retrieving revision 1.36.4.2
  diff -u -r1.36.4.1 -r1.36.4.2
  --- ReactorTag.java	26 Nov 2003 11:45:16 -0000	1.36.4.1
  +++ ReactorTag.java	9 Dec 2003 23:36:00 -0000	1.36.4.2
  @@ -61,6 +61,7 @@
   import org.apache.commons.jelly.XMLOutput;
   import org.apache.maven.MavenConstants;
   import org.apache.maven.MavenUtils;
  +import org.apache.maven.jelly.MavenJellyContext;
   import org.apache.maven.project.Project;
   
   import java.io.File;
  @@ -363,8 +364,7 @@
               projectIncludes = getIncludes();
           }
   
  -        // TODO [RC2] - need a new context? Used to use null
  -        List projects = MavenUtils.getProjects( getBasedir(), projectIncludes, getExcludes(), null );
  +        List projects = MavenUtils.getProjects( getBasedir(), projectIncludes, getExcludes(), getMavenContext().getMavenSession().getRootContext() );
   
           DependencyResolver dr = new DependencyResolver();
           dr.setProjects( projects );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org