jvanzyl     02/02/21 17:35:27

  Modified:    src/java/org/apache/maven/project Dependency.java
  Log:
  - adding the name of the jar in the dependency object for now because
    we have no consistent naming methods. if we decide not use version
    numbers in the JAR name (please please please) then we can use
    the version number.
  
  Revision  Changes    Path
  1.3       +16 -1     
jakarta-turbine-maven/src/java/org/apache/maven/project/Dependency.java
  
  Index: Dependency.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/project/Dependency.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Dependency.java   21 Feb 2002 14:09:23 -0000      1.2
  +++ Dependency.java   22 Feb 2002 01:35:27 -0000      1.3
  @@ -55,7 +55,7 @@
   
   /**
    * @author <a href="mailto:[EMAIL PROTECTED]";>Jason van Zyl</a>
  - * @version $Id: Dependency.java,v 1.2 2002/02/21 14:09:23 jvanzyl Exp $
  + * @version $Id: Dependency.java,v 1.3 2002/02/22 01:35:27 jvanzyl Exp $
    */
   public class Dependency
       extends Project
  @@ -71,6 +71,11 @@
       private String type;
   
       /**
  +     * JAR which contains the classes required by the project.
  +     */
  +    private String jar;
  +
  +    /**
        * Default constructor
        */
       public Dependency()
  @@ -95,5 +100,15 @@
       public String getType()
       {
           return type;
  +    }        
  +
  +    public void setJar(String jar)
  +    {
  +        this.jar = jar;
  +    }
  +
  +    public String getJar()
  +    {
  +        return jar;
       }        
   }
  
  
  

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

Reply via email to