Automate generation of versions in plans used by VTS, VJS and VK

The version of the plan is the same as the real Virgo version.
The dependencies specified inside those plans use a broader
lower and upper bound specified in build.gradle.
diff --git a/build.gradle b/build.gradle
index e0b6968..b1d986b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -224,6 +224,9 @@
     // used when copying features and products
     tokenMap = [
             'VIRGO.VERSION'                : version,
+            // used in plan files
+            'VIRGO.VERSION.LOWER_BOUND'    : "3.8",
+            'VIRGO.VERSION.UPPER_BOUND'    : "4",
 
             'OSGI.SERVICES.VERSION'        : osgiServicesVersion, // used in oev.kernel.userregion.properties
             'OSGI.ENTERPRISE.VERSION'      : osgiEnterpriseVersion,
diff --git a/packaging/jetty-server/build.gradle b/packaging/jetty-server/build.gradle
index e9541a6..595a1b6 100644
--- a/packaging/jetty-server/build.gradle
+++ b/packaging/jetty-server/build.gradle
@@ -21,6 +21,7 @@
             }
             from ( 'src/main/filtered' ) {
                 include ( '**/*.libd' )
+                include ( '**/*.plan' )
                 filter(ReplaceTokens, tokens: tokenMap)
             }
             from ( "${buildDir}/VJS/jetty-server/" ) { exclude ( 'Eclipse.app' ) }
diff --git a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan b/packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
similarity index 83%
copy from packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
copy to packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
index 5efb538..b9eceec 100644
--- a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
+++ b/packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
@@ -1,4 +1,4 @@
-<plan name="org.eclipse.virgo.kernel.userregion.blueprint" version="3.7.1" scoped="false" atomic="false"
+<plan name="org.eclipse.virgo.kernel.userregion.blueprint" version="@VIRGO.VERSION@" scoped="false" atomic="false"
 	  xmlns="http://www.eclipse.org/virgo/schema/plan"
 	  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	  xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
@@ -7,8 +7,10 @@
 	<artifact type="bundle" name="org.eclipse.gemini.blueprint.extender" version="[2.1, 3)"/>
 	<artifact type="bundle" name="org.eclipse.gemini.blueprint.io" version="[2.1, 3)"/>
 	<artifact type="bundle" name="org.eclipse.gemini.blueprint.extensions" version="[2.1, 3)"/>
-	<artifact type="bundle" name="org.eclipse.virgo.kernel.agent.dm" version="[3.7.1, 4.0)"/>
-	<artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[3.7.1, 4.0)"/>
+
+	<artifact type="bundle" name="org.eclipse.virgo.kernel.agent.dm" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+	<artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[3@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+
 	<artifact type="bundle" name="org.eclipse.equinox.ds" version="0.0.0"/>
 	<artifact type="bundle" name="org.eclipse.equinox.util" version="0.0.0"/>
 	<artifact type="configuration" name="osgi.console" version="0"/>
diff --git a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan b/packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
similarity index 72%
rename from packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
rename to packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
index b7ad494..7382702 100644
--- a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
+++ b/packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
@@ -1,10 +1,11 @@
-<plan name="org.eclipse.virgo.management" version="3.7.1" scoped="false" atomic="false"
+<plan name="org.eclipse.virgo.management" version="@VIRGO.VERSION@" scoped="false" atomic="false"
 			xmlns="http://www.eclipse.org/virgo/schema/plan"
 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 			xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
 
 		<artifact type="bundle" name="osgi.enterprise" version="[4.2, 5)"/>
 		<artifact type="bundle" name="org.eclipse.gemini.management" version="[1.0, 2)"/>
-		<artifact type="bundle" name="org.eclipse.virgo.management.fragment" version="[3.6, 4)"/>
-		
+
+		<artifact type="bundle" name="org.eclipse.virgo.management.fragment" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+
 </plan>
diff --git a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.web.jetty.plan b/packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.web.jetty.plan
similarity index 67%
rename from packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.web.jetty.plan
rename to packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.web.jetty.plan
index f1ae9d0..cd6432f 100644
--- a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.web.jetty.plan
+++ b/packaging/jetty-server/src/main/filtered/repository/ext/org.eclipse.virgo.web.jetty.plan
@@ -1,4 +1,4 @@
-<plan name="org.eclipse.virgo.web.jetty" version="3.7.1" scoped="false" atomic="false"
+<plan name="org.eclipse.virgo.web.jetty" version="@VIRGO.VERSION@" scoped="false" atomic="false"
                 xmlns="http://www.eclipse.org/virgo/schema/plan"
 				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 				xsi:schemaLocation="
@@ -6,7 +6,7 @@
 				        http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
 		
 		<artifact type="bundle" name="org.eclipse.jetty.osgi.boot" version="[8.1, 9.0)"/>
-		<artifact type="bundle" name="org.eclipse.virgo.web.dm" version="[3.1, 4.0)"/>
 
-        <artifact type="bundle" name="org.eclipse.virgo.web.servlet.adapter" version="[3.0, 4.0)"/>
+		<artifact type="bundle" name="org.eclipse.virgo.web.dm" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+        <artifact type="bundle" name="org.eclipse.virgo.web.servlet.adapter" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
 </plan>
diff --git a/packaging/kernel/build.gradle b/packaging/kernel/build.gradle
index 93e076b..47c7119 100644
--- a/packaging/kernel/build.gradle
+++ b/packaging/kernel/build.gradle
@@ -21,6 +21,10 @@
                 include ( 'bin/*.sh' )
                 fileMode 0755
             }
+            from ( 'src/main/filtered' ) {
+                include ( '**/*.plan' )
+                filter(ReplaceTokens, tokens: tokenMap)
+            }
             from ( "${buildDir}/VK/kernel/" ) { exclude ( 'Eclipse.app' ) }
             from ( "${buildDir}/common_resources/" )
         }
diff --git a/packaging/kernel/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan b/packaging/kernel/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
deleted file mode 100644
index 5efb538..0000000
--- a/packaging/kernel/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
+++ /dev/null
@@ -1,15 +0,0 @@
-<plan name="org.eclipse.virgo.kernel.userregion.blueprint" version="3.7.1" scoped="false" atomic="false"
-	  xmlns="http://www.eclipse.org/virgo/schema/plan"
-	  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	  xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
-
-	<artifact type="bundle" name="org.eclipse.gemini.blueprint.core" version="[2.1, 3)"/>
-	<artifact type="bundle" name="org.eclipse.gemini.blueprint.extender" version="[2.1, 3)"/>
-	<artifact type="bundle" name="org.eclipse.gemini.blueprint.io" version="[2.1, 3)"/>
-	<artifact type="bundle" name="org.eclipse.gemini.blueprint.extensions" version="[2.1, 3)"/>
-	<artifact type="bundle" name="org.eclipse.virgo.kernel.agent.dm" version="[3.7.1, 4.0)"/>
-	<artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[3.7.1, 4.0)"/>
-	<artifact type="bundle" name="org.eclipse.equinox.ds" version="0.0.0"/>
-	<artifact type="bundle" name="org.eclipse.equinox.util" version="0.0.0"/>
-	<artifact type="configuration" name="osgi.console" version="0"/>
-</plan>
diff --git a/packaging/kernel/src/main/dist/repository/ext/org.eclipse.virgo.management.plan b/packaging/kernel/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
deleted file mode 100644
index b7ad494..0000000
--- a/packaging/kernel/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
+++ /dev/null
@@ -1,10 +0,0 @@
-<plan name="org.eclipse.virgo.management" version="3.7.1" scoped="false" atomic="false"
-			xmlns="http://www.eclipse.org/virgo/schema/plan"
-			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-			xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
-
-		<artifact type="bundle" name="osgi.enterprise" version="[4.2, 5)"/>
-		<artifact type="bundle" name="org.eclipse.gemini.management" version="[1.0, 2)"/>
-		<artifact type="bundle" name="org.eclipse.virgo.management.fragment" version="[3.6, 4)"/>
-		
-</plan>
diff --git a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan b/packaging/kernel/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
similarity index 83%
rename from packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
rename to packaging/kernel/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
index 5efb538..e0ee95f 100644
--- a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
+++ b/packaging/kernel/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
@@ -1,4 +1,4 @@
-<plan name="org.eclipse.virgo.kernel.userregion.blueprint" version="3.7.1" scoped="false" atomic="false"
+<plan name="org.eclipse.virgo.kernel.userregion.blueprint" version="@VIRGO.VERSION@" scoped="false" atomic="false"
 	  xmlns="http://www.eclipse.org/virgo/schema/plan"
 	  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	  xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
@@ -7,8 +7,10 @@
 	<artifact type="bundle" name="org.eclipse.gemini.blueprint.extender" version="[2.1, 3)"/>
 	<artifact type="bundle" name="org.eclipse.gemini.blueprint.io" version="[2.1, 3)"/>
 	<artifact type="bundle" name="org.eclipse.gemini.blueprint.extensions" version="[2.1, 3)"/>
-	<artifact type="bundle" name="org.eclipse.virgo.kernel.agent.dm" version="[3.7.1, 4.0)"/>
-	<artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[3.7.1, 4.0)"/>
+
+	<artifact type="bundle" name="org.eclipse.virgo.kernel.agent.dm" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+	<artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+
 	<artifact type="bundle" name="org.eclipse.equinox.ds" version="0.0.0"/>
 	<artifact type="bundle" name="org.eclipse.equinox.util" version="0.0.0"/>
 	<artifact type="configuration" name="osgi.console" version="0"/>
diff --git a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan b/packaging/kernel/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
similarity index 72%
copy from packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
copy to packaging/kernel/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
index b7ad494..7382702 100644
--- a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
+++ b/packaging/kernel/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
@@ -1,10 +1,11 @@
-<plan name="org.eclipse.virgo.management" version="3.7.1" scoped="false" atomic="false"
+<plan name="org.eclipse.virgo.management" version="@VIRGO.VERSION@" scoped="false" atomic="false"
 			xmlns="http://www.eclipse.org/virgo/schema/plan"
 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 			xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
 
 		<artifact type="bundle" name="osgi.enterprise" version="[4.2, 5)"/>
 		<artifact type="bundle" name="org.eclipse.gemini.management" version="[1.0, 2)"/>
-		<artifact type="bundle" name="org.eclipse.virgo.management.fragment" version="[3.6, 4)"/>
-		
+
+		<artifact type="bundle" name="org.eclipse.virgo.management.fragment" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+
 </plan>
diff --git a/packaging/tomcat-server/build.gradle b/packaging/tomcat-server/build.gradle
index c321bf9..6e3ed68 100644
--- a/packaging/tomcat-server/build.gradle
+++ b/packaging/tomcat-server/build.gradle
@@ -20,6 +20,7 @@
             }
             from ( 'src/main/filtered' ) {
                 include ( '**/*.libd' )
+                include ( '**/*.plan' )
                 filter(ReplaceTokens, tokens: tokenMap)
             }
             from ( "${buildDir}/VTS/tomcat-server/" ) { exclude ( 'Eclipse.app' ) }
diff --git a/packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan b/packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
deleted file mode 100644
index b7ad494..0000000
--- a/packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
+++ /dev/null
@@ -1,10 +0,0 @@
-<plan name="org.eclipse.virgo.management" version="3.7.1" scoped="false" atomic="false"
-			xmlns="http://www.eclipse.org/virgo/schema/plan"
-			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-			xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
-
-		<artifact type="bundle" name="osgi.enterprise" version="[4.2, 5)"/>
-		<artifact type="bundle" name="org.eclipse.gemini.management" version="[1.0, 2)"/>
-		<artifact type="bundle" name="org.eclipse.virgo.management.fragment" version="[3.6, 4)"/>
-		
-</plan>
diff --git a/packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan b/packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
similarity index 83%
rename from packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
rename to packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
index e7e9754..684cfe2 100644
--- a/packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
+++ b/packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.kernel.userregion.blueprint.plan
@@ -1,4 +1,4 @@
-<plan name="org.eclipse.virgo.kernel.userregion.blueprint" version="3.7.1" scoped="false" atomic="false"
+<plan name="org.eclipse.virgo.kernel.userregion.blueprint" version="@VIRGO.VERSION@" scoped="false" atomic="false"
       xmlns="http://www.eclipse.org/virgo/schema/plan"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
@@ -7,8 +7,10 @@
     <artifact type="bundle" name="org.eclipse.gemini.blueprint.extender" version="[2.1, 3)"/>
     <artifact type="bundle" name="org.eclipse.gemini.blueprint.io" version="[2.1, 3)"/>
     <artifact type="bundle" name="org.eclipse.gemini.blueprint.extensions" version="[2.1, 3)"/>
-    <artifact type="bundle" name="org.eclipse.virgo.kernel.agent.dm" version="[3.7.1, 4.0)"/>
-    <artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[3.7.1, 4.0)"/>
+
+    <artifact type="bundle" name="org.eclipse.virgo.kernel.agent.dm" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+    <artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+
     <artifact type="bundle" name="org.eclipse.equinox.ds" version="0.0.0"/>
     <artifact type="bundle" name="org.eclipse.equinox.util" version="0.0.0"/>
     <artifact type="configuration" name="osgi.console" version="0"/>
diff --git a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan b/packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
similarity index 72%
copy from packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
copy to packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
index b7ad494..7382702 100644
--- a/packaging/jetty-server/src/main/dist/repository/ext/org.eclipse.virgo.management.plan
+++ b/packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.management.plan
@@ -1,10 +1,11 @@
-<plan name="org.eclipse.virgo.management" version="3.7.1" scoped="false" atomic="false"
+<plan name="org.eclipse.virgo.management" version="@VIRGO.VERSION@" scoped="false" atomic="false"
 			xmlns="http://www.eclipse.org/virgo/schema/plan"
 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 			xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
 
 		<artifact type="bundle" name="osgi.enterprise" version="[4.2, 5)"/>
 		<artifact type="bundle" name="org.eclipse.gemini.management" version="[1.0, 2)"/>
-		<artifact type="bundle" name="org.eclipse.virgo.management.fragment" version="[3.6, 4)"/>
-		
+
+		<artifact type="bundle" name="org.eclipse.virgo.management.fragment" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+
 </plan>
diff --git a/packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.web.tomcat.plan b/packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.web.tomcat.plan
similarity index 63%
rename from packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.web.tomcat.plan
rename to packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.web.tomcat.plan
index bffbd2f..011d429 100644
--- a/packaging/tomcat-server/src/main/dist/repository/ext/org.eclipse.virgo.web.tomcat.plan
+++ b/packaging/tomcat-server/src/main/filtered/repository/ext/org.eclipse.virgo.web.tomcat.plan
@@ -1,4 +1,4 @@
-<plan name="org.eclipse.virgo.web.tomcat" version="3.7.1" scoped="false" atomic="false"
+<plan name="org.eclipse.virgo.web.tomcat" version="@VIRGO.VERSION@" scoped="false" atomic="false"
                 xmlns="http://www.eclipse.org/virgo/schema/plan"
 				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 				xsi:schemaLocation="
@@ -6,11 +6,13 @@
 				        http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
 
         <artifact type="configuration" name="org.eclipse.virgo.web"/>
-        <artifact type="bundle" name="org.eclipse.virgo.web.spring.integration" version="[3.0, 4)"/>
+
+        <artifact type="bundle" name="org.eclipse.virgo.web.spring.integration" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
         <artifact type="bundle" name="org.eclipse.gemini.web.core" version="[3.0, 4.0)"/>
         <artifact type="bundle" name="org.eclipse.gemini.web.tomcat" version="[3.0, 4.0)"/>
-        <artifact type="bundle" name="org.eclipse.virgo.web.core" version="[3.0, 4.0)"/>
-        <artifact type="bundle" name="org.eclipse.virgo.web.dm" version="[3.0, 4.0)"/>
-        <artifact type="bundle" name="org.eclipse.virgo.web.tomcat.support" version="[3.0, 4.0)"/>
-        <artifact type="bundle" name="org.eclipse.virgo.web.servlet.adapter" version="[3.0, 4.0)"/>
+
+        <artifact type="bundle" name="org.eclipse.virgo.web.core" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+        <artifact type="bundle" name="org.eclipse.virgo.web.dm" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+        <artifact type="bundle" name="org.eclipse.virgo.web.tomcat.support" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
+        <artifact type="bundle" name="org.eclipse.virgo.web.servlet.adapter" version="[@VIRGO.VERSION.LOWER_BOUND@, @VIRGO.VERSION.UPPER_BOUND@)"/>
 </plan>