You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by wo...@apache.org on 2009/04/23 16:52:51 UTC

svn commit: r767936 - /portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml

Author: woonsan
Date: Thu Apr 23 14:52:51 2009
New Revision: 767936

URL: http://svn.apache.org/viewvc?rev=767936&view=rev
Log:
JS2-976: Modifying build guide on running unit tests.
Because some dependency configurations are dependent on jetspeed:mvn plugins, we have to run the jetspeed:mvn target to run all the unit tests.
(For example, jetspeed-rdbms's pom.xml defines a jdbc driver dependency which has a property defined in jetspeed-mvn-settings.xml.)

Modified:
    portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml

Modified: portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml?rev=767936&r1=767935&r2=767936&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml (original)
+++ portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml Thu Apr 23 14:52:51 2009
@@ -245,11 +245,11 @@
                     <div class="source"><pre>$mvn jetspeed:mvn -Dtarget=testdb</pre>
                     </div>
                 </p>
-                <p>Thereafter, enabling the test-cases during a build is done by using profile <strong><code>test</code></strong>:
-                    <div class="source"><pre>$mvn install -P test</pre>
+                <p>But, to make it even a little more easier, another jetspeed:mvn target is provided. This will combine the above steps:
+                    <div class="source"><pre>$mvn jetspeed:mvn -Dtarget=test</pre>
                     </div>
                 </p>
-                <p>But, to make it even a little more easier, another jetspeed:mvn target is provided which already combines the above two steps in one:
+                <p>Or you can run the following command to proceeed to install step after test.
                     <div class="source"><pre>$mvn jetspeed:mvn -Dtarget=test-install</pre>
                     </div>
                 </p>



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