dion 2003/08/14 02:54:05
Modified: src/java/org/apache/maven/project Tag: MAVEN_RC1_STABLE
Project.java
Log:
Fix comments
Revision Changes Path
No revision
No revision
1.83.2.4 +2 -5 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.83.2.3
retrieving revision 1.83.2.4
diff -u -r1.83.2.3 -r1.83.2.4
--- Project.java 14 Aug 2003 05:59:48 -0000 1.83.2.3
+++ Project.java 14 Aug 2003 09:54:05 -0000 1.83.2.4
@@ -1598,13 +1598,10 @@
ForeheadClassLoader loader =
(ForeheadClassLoader)projectClassLoader;
Artifact artifact = (Artifact) i.next();
Dependency dependency = artifact.getDependency();
- // FIXME: handle plugin dependencies here - download from remote
repos
- // and install
if (dependency.isPlugin())
{
// dependencies should already be downloaded
- // so the artifact needs to be copied to the plugin
- // directory and the plugin manager asked to load it
+ // get the plugin manager to install it
PluginManager pluginManager =
getContext().getMavenSession().getPluginManager();
pluginManager.installPlugin(this, artifact.getFile());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]