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/12/27 05:30:07 UTC

cvs commit: maven-components/maven-model/src/java/org/apache/maven/model Resource.java

jvanzyl     2003/12/26 20:30:07

  Modified:    maven-model/src/java/org/apache/maven/model Resource.java
  Log:
  o we need filtering support which is something we agreed on and will be staying
    so add it into the model and not the decorations for compatability.
  
  Revision  Changes    Path
  1.7       +12 -0     maven-components/maven-model/src/java/org/apache/maven/model/Resource.java
  
  Index: Resource.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-model/src/java/org/apache/maven/model/Resource.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Resource.java	4 Dec 2003 01:09:53 -0000	1.6
  +++ Resource.java	27 Dec 2003 04:30:07 -0000	1.7
  @@ -81,6 +81,8 @@
       /** Exclude patterns. */
       private List excludes = new ArrayList();
   
  +    private boolean filtering;
  +
       /**
        * Add an include pattern.
        *
  @@ -159,5 +161,15 @@
       public String getTargetPath()
       {
           return targetPath;
  +    }
  +
  +    public boolean getFiltering()
  +    {
  +        return filtering;
  +    }
  +
  +    public void setFiltering( boolean filtering )
  +    {
  +        this.filtering = filtering;
       }
   }
  
  
  

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