jvanzyl 02/05/30 10:44:38
Modified: src/java/org/apache/maven ProjectProperties.java
Log:
Retrieving the distribution by id now works correctly.
Revision Changes Path
1.38 +2 -2
jakarta-turbine-maven/src/java/org/apache/maven/ProjectProperties.java
Index: ProjectProperties.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/ProjectProperties.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ProjectProperties.java 30 May 2002 16:48:11 -0000 1.37
+++ ProjectProperties.java 30 May 2002 17:44:37 -0000 1.38
@@ -82,7 +82,7 @@
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
* @author <a href="[EMAIL PROTECTED]">Vincent Massol</a>
- * @version $Id: ProjectProperties.java,v 1.37 2002/05/30 16:48:11 jvanzyl Exp $
+ * @version $Id: ProjectProperties.java,v 1.38 2002/05/30 17:44:37 jvanzyl Exp $
*/
public class ProjectProperties
extends ProjectExecutor
@@ -355,7 +355,7 @@
if (id != null)
{
Distribution d = (Distribution)
- getMavenProject().getDistributionsMap().get(id);
+ getMavenProject().getDistributionById(id);
// Now if the <tag> for this distribution is HEAD then
// we will make a special snapshot JAR.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>