continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r385797 - in /maven/continuum/trunk/continuum-site/src/site: apt/guides/getting-started/index.apt fml/about.fml fml/faqs.fml
Date Tue, 14 Mar 2006 13:12:27 GMT
Author: evenisse
Date: Tue Mar 14 05:12:25 2006
New Revision: 385797

[CONTINUUM-610] Add section about building recursively from parent to FAQ and provide more
information on adding shell projects
Submitted by Mang Lau


Modified: maven/continuum/trunk/continuum-site/src/site/apt/guides/getting-started/index.apt
--- maven/continuum/trunk/continuum-site/src/site/apt/guides/getting-started/index.apt (original)
+++ maven/continuum/trunk/continuum-site/src/site/apt/guides/getting-started/index.apt Tue
Mar 14 05:12:25 2006
@@ -122,7 +122,7 @@
  When adding Ant projects you have to specify the project's name, SCM URL, 
  version and the targets to execute.
- <NOTE:> The SCM URL is a Maven SCM URL. Here's an example of what an
+ <NOTE:> The SCM URL is a {{{}Maven
SCM URL}}. Here's an example of what an
  SCM URL looks like:
@@ -135,6 +135,31 @@
  <NOTE:> The SCM URL is a Maven SCM URL. Here's an example of what an
  SCM URL looks like:
+ To specify the shell script to be executed, click on the shell project and
+ click "Add" under the "Build Definitions" section. This script should <<at
+ least>> be able to run Maven.
+ Here is a sample batch script that calls <<<mvn.bat>>> in a Windows environment:
+@echo off
+if ERRORLEVEL 1 goto error
+goto end
+exit 1
+exit 0
+ The script executes Maven and obtains the exit code from it.  You may add
+ post-build tasks to the <<<:error>>> and/or <<<:end>>>
sections provided they
+ are placed before the <<<exit>>> statements.  Pre-build tasks should be
+ before the call to <<<mvn.bat>>>.
 Building Projects

Modified: maven/continuum/trunk/continuum-site/src/site/fml/about.fml
--- maven/continuum/trunk/continuum-site/src/site/fml/about.fml (original)
+++ maven/continuum/trunk/continuum-site/src/site/fml/about.fml Tue Mar 14 05:12:25 2006
@@ -95,7 +95,7 @@
           To checkout the continuum-site project from the ASF Subversion repository, download
the Subversion client for
           your platform and run:
-svn co
+svn co
@@ -108,6 +108,11 @@
           After executing the <code>site:site</code> goal, the Continuum site
will be stored in the
           <code>target/site</code> directory.
+        </p>
+        <p>
+          If you receive an error resolving the artifact <code>continuum-parent</code>,
download the parent pom.xml from <a 
+          href="">here</a>
and place it in the directory above your
+          <code>continuum-site</code> directory.  Then try the build again.
           Once you have updated the documentation, generate a patch by running

Modified: maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml
--- maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml (original)
+++ maven/continuum/trunk/continuum-site/src/site/fml/faqs.fml Tue Mar 14 05:12:25 2006
@@ -168,6 +168,28 @@
+    <faq id="build-entire-project-recursively-from-parent">
+      <question>How can I build the entire project recursively from the parent?</question>
+      <answer>
+        <p>
+          If you want to build recursively from the parent, you have to remove the <code>--non-recursive</code>
or <code>-N</code> argument under the
+          "Build Definitions" section of your parent project.
+        </p>
+        <p>
+          Ensure that your entire project can be checked out using the SCM URL in your parent
+        </p>
+        <p>
+          For CVS users who have each child project in a separate module, you have several
+          <p>
+          <ui>
+            <li>Refactor the CVS directory structure to a more standard one (i.e. a
module with the parent POM at the base and child projects as subdirectories)</li>
+            <li>Keep the structure and create a new module that contains a parent POM
and a list of symbolic links to your actual CVS modules</li>
+          </ui>
+          </p>
+          These options ensure that your child projects will not be checked out into separate
numbered working directories. Instead, they will be checked out
+          correctly under a single working directory.
+        </p>
+      </answer>
+    </faq>

View raw message