From f7d84334525fbb97909914c024fc64048ca24197 Mon Sep 17 00:00:00 2001
From: bwalding
Date: Mon, 3 Feb 2003 09:21:58 +0000
Subject: [PATCH] MAVEN-247: Add JUnit to classpath as required
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112816 13f79535-47bb-0310-9956-ffa450edef68
---
eclipse/plugin.jelly | 10 ++++++++--
eclipse/plugin.properties | 1 +
eclipse/xdocs/properties.xml | 9 +++++++++
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/eclipse/plugin.jelly b/eclipse/plugin.jelly
index dd041575..9dab292d 100644
--- a/eclipse/plugin.jelly
+++ b/eclipse/plugin.jelly
@@ -34,8 +34,10 @@
Creating ${basedir}/.classpath ...
-
-
+
+ ${pom.getPluginContext('maven-eclipse-plugin').getVariables()}
+
@@ -44,6 +46,10 @@
+
+
+
+
diff --git a/eclipse/plugin.properties b/eclipse/plugin.properties
index faf5c9c9..cd81e772 100644
--- a/eclipse/plugin.properties
+++ b/eclipse/plugin.properties
@@ -8,3 +8,4 @@
# This accepts two values: 'all' for all the goals,
# and 'plugins' to generate only the plugins' default goals.
maven.eclipse.goals = plugins
+maven.eclipse.junit = 3.8.1
\ No newline at end of file
diff --git a/eclipse/xdocs/properties.xml b/eclipse/xdocs/properties.xml
index a9ab1400..8eb552cd 100644
--- a/eclipse/xdocs/properties.xml
+++ b/eclipse/xdocs/properties.xml
@@ -29,6 +29,15 @@
+
+ | maven.eclipse.junit |
+ Yes (default=3.8.1) |
+
+ The version of JUnit you want added to your project. If this
+ property is set to an empty string, JUnit will not be added to your
+ build classpath.
+ |
+
Note that you will need to defined a MAVEN_REPO Java