dion 2003/07/28 17:08:32 Modified: src/java/org/apache/maven/project Project.java Log: Add back branches Revision Changes Path 1.85 +23 -1 maven/src/java/org/apache/maven/project/Project.java Index: Project.java =================================================================== RCS file: /home/cvs/maven/src/java/org/apache/maven/project/Project.java,v retrieving revision 1.84 retrieving revision 1.85 diff -u -r1.84 -r1.85 --- Project.java 27 Jul 2003 23:33:59 -0000 1.84 +++ Project.java 29 Jul 2003 00:08:32 -0000 1.85 @@ -163,6 +163,9 @@ /** Versions associated with this project. */ private List versions; + /** Branches associated with this project. */ + private List branches; + /** * Distributions map that associates the distribution ids * with the distribution objects. @@ -256,6 +259,7 @@ contributors = new ArrayList(); licenses = new ArrayList(); versions = new ArrayList(); + branches = new ArrayList(); dependencyPaths = new HashMap(); dependencyMap = new HashMap(); reports = new ArrayList(); @@ -1687,6 +1691,24 @@ public String getUnpackedPluginsDir() { return getProjectProperty( MavenConstants.MAVEN_UNPACKED_PLUGINS_DIR ); + } + + /** + * @return the list of branches for a project + */ + public List getBranches() + { + + return branches; + } + + /** + * Add a branch to the project + * @param b a Branch + */ + public void addBranch(Branch b) + { + branches.add(b); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]