jvanzyl 2002/07/04 13:09:15
Modified: src/plugins/deploy-site plugin.jelly
Log:
o Deploy site plugin will now properly detect the presence of
${maven.username} using some JSTL trickery.
Revision Changes Path
1.4 +11 -13 jakarta-turbine-maven/src/plugins/deploy-site/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins/deploy-site/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 4 Jul 2002 17:40:33 -0000 1.3
+++ plugin.jelly 4 Jul 2002 20:09:15 -0000 1.4
@@ -9,20 +9,18 @@
<goal
name="deploy-site">
- <!-- THIS CHECK IS NOT WORKING. FIX -->
-
- <j:if test="${maven.username == ''}">
+ <j:if test="${empty maven.username}">
- <fail>
- +------------------------------------------------------------------
- | ERROR!
- |
- | You must specify a maven username in order to deploy the site!
- | You can either set this property in your ~/build.properties
- | or specify one on the command line:
- |
- | maven -Dmaven.username=${user.name} deploy-site
- +------------------------------------------------------------------
+ <fail message="">
++------------------------------------------------------------------
+| ERROR!
+|
+| You must specify a maven username in order to deploy the site!
+| You can either set this property in your ~/build.properties
+| or specify one on the command line:
+|
+| maven -Dmaven.username=${user.name} deploy-site
++------------------------------------------------------------------
</fail>
</j:if>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>