jvanzyl     2003/12/27 21:04:13

  Modified:    maven-project/src/java/org/apache/maven/project Project.java
  Log:
  o if the model happens to be null, which is the case when the dep resolver
    in the reactor is building up pseudo projects in order to resolve the
    build order, then create one.
  
  Revision  Changes    Path
  1.18      +6 -1      
maven-components/maven-project/src/java/org/apache/maven/project/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: 
/home/cvs/maven-components/maven-project/src/java/org/apache/maven/project/Project.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Project.java      28 Dec 2003 02:41:09 -0000      1.17
  +++ Project.java      28 Dec 2003 05:04:13 -0000      1.18
  @@ -63,6 +63,11 @@
   
       public Model getModel()
       {
  +        if ( model == null )
  +        {
  +            model = new Model();
  +        }
  +
           return model;
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to