portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r776898 - /portals/jetspeed-2/portal/trunk/maven/jetspeed-mvn-maven-plugin/src/main/java/org/apache/jetspeed/maven/plugins/MvnMojo.java
Date Wed, 20 May 2009 23:56:18 GMT
Author: ate
Date: Wed May 20 23:56:18 2009
New Revision: 776898

URL: http://svn.apache.org/viewvc?rev=776898&view=rev
Log:
JS2-877: Document new maven-2 build system
- adding some feedback about the new -Dlist parameter when not using unknown or no -Dtarget=<target>
at all

Modified:
    portals/jetspeed-2/portal/trunk/maven/jetspeed-mvn-maven-plugin/src/main/java/org/apache/jetspeed/maven/plugins/MvnMojo.java

Modified: portals/jetspeed-2/portal/trunk/maven/jetspeed-mvn-maven-plugin/src/main/java/org/apache/jetspeed/maven/plugins/MvnMojo.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/maven/jetspeed-mvn-maven-plugin/src/main/java/org/apache/jetspeed/maven/plugins/MvnMojo.java?rev=776898&r1=776897&r2=776898&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/maven/jetspeed-mvn-maven-plugin/src/main/java/org/apache/jetspeed/maven/plugins/MvnMojo.java
(original)
+++ portals/jetspeed-2/portal/trunk/maven/jetspeed-mvn-maven-plugin/src/main/java/org/apache/jetspeed/maven/plugins/MvnMojo.java
Wed May 20 23:56:18 2009
@@ -317,7 +317,8 @@
         }
         if (targetId == null)
         {
-            throw new MojoFailureException("Specify a target (id) on the commandline using
-Dtarget=<id> or define a defaultTarget in the plugin configuration.");
+            throw new MojoFailureException("Specify a target on the commandline using -Dtarget=<name>
or define a defaultTarget in the plugin configuration.\n"
+                                           +"Use parameter -Dlist to show the list of available
targets.");
         }
         
         List<Target> targetsList = resolveTargets(targetsMap, null, targetId);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message