From 17fa8ba4ea4123c18ceb67a5a6ae536e63dbb6f6 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter <brett@apache.org> Date: Fri, 22 Jul 2005 17:00:22 +0000 Subject: [PATCH] PR: MNG-581 Submitted by: Kris Bravo Reviewed by: Brett Porter add classes directory to compile classpath as some classes are produced during generate-sources to pass to the compiler for XML beans git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@224367 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/project/MavenProject.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-project/src/main/java/org/apache/maven/project/MavenProject.java b/maven-project/src/main/java/org/apache/maven/project/MavenProject.java index 16f8321b9d..a1b14ac582 100644 --- a/maven-project/src/main/java/org/apache/maven/project/MavenProject.java +++ b/maven-project/src/main/java/org/apache/maven/project/MavenProject.java @@ -302,6 +302,8 @@ public class MavenProject { List list = new ArrayList( getArtifacts().size() ); + list.add( getBuild().getOutputDirectory() ); + for ( Iterator i = getArtifacts().iterator(); i.hasNext(); ) { Artifact a = (Artifact) i.next();