From 6aaff4da07c1dd0bc24668af121eadaa16ed3fc0 Mon Sep 17 00:00:00 2001 From: bwalding Date: Sat, 5 Apr 2003 10:19:44 +0000 Subject: [PATCH] Split the eclipse goals into generate-project and generate-classpath. Updated doco to match. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113261 13f79535-47bb-0310-9956-ffa450edef68 --- eclipse/plugin.jelly | 24 +++++++++++++++--------- eclipse/xdocs/goals.xml | 11 ++++++++--- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/eclipse/plugin.jelly b/eclipse/plugin.jelly index 74f4bc07..c7e88cad 100644 --- a/eclipse/plugin.jelly +++ b/eclipse/plugin.jelly @@ -12,22 +12,21 @@ + prereqs="eclipse:generate-project, eclipse:generate-classpath"> + Now refresh your project in Eclipse (right click on the project and select "Refresh") + - - - - + Creating ${basedir}/.project ... ${pom.artifactId} - + ${pom.description} @@ -42,9 +41,17 @@ - + + + + Creating ${basedir}/.classpath ... - + + + + + + @@ -89,7 +96,6 @@ - Now refresh your project in Eclipse (right click on the project and select "Refresh") diff --git a/eclipse/xdocs/goals.xml b/eclipse/xdocs/goals.xml index c0b20ec2..50faf99d 100644 --- a/eclipse/xdocs/goals.xml +++ b/eclipse/xdocs/goals.xml @@ -12,7 +12,8 @@ eclipse The default goal. This goal simply executes the - eclipse:generate-project goal + eclipse:generate-project and + eclipse:generate-classpath goals. @@ -21,16 +22,20 @@ Generates a .project file for eclipse describing the project and 'marking' it as a java project -
+
+ + eclipse:generate-classpath + Generates a .classpath file for the eclipse project with classpath entries for
  1. the build source directory
  2. the build unit test source directory
  3. the JRE being used
  4. +
  5. the appropriate version of JUnit
  6. each Maven project dependency
  7. an output directory for compiled code: - target\eclipse\classes + target\classes