You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2008/03/15 14:00:46 UTC
svn commit: r637405 - in /maven/shared/trunk/maven-invoker/src/site:
apt/index.apt apt/usage.apt site.xml
Author: dennisl
Date: Sat Mar 15 06:00:43 2008
New Revision: 637405
URL: http://svn.apache.org/viewvc?rev=637405&view=rev
Log:
o Add a site.xml file with the standard menu options.
o Tweak titles to follow our standard.
o Fix typos.
Added:
maven/shared/trunk/maven-invoker/src/site/site.xml (with props)
Modified:
maven/shared/trunk/maven-invoker/src/site/apt/index.apt
maven/shared/trunk/maven-invoker/src/site/apt/usage.apt
Modified: maven/shared/trunk/maven-invoker/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-invoker/src/site/apt/index.apt?rev=637405&r1=637404&r2=637405&view=diff
==============================================================================
--- maven/shared/trunk/maven-invoker/src/site/apt/index.apt (original)
+++ maven/shared/trunk/maven-invoker/src/site/apt/index.apt Sat Mar 15 06:00:43 2008
@@ -1,13 +1,12 @@
---
- Maven Forked Invocation API - Overview
+ Introduction
---
John Casey
---
31-May-2006
+ ---
-Maven Forked Invocation API - Overview
-
-* Introduction
+Maven Process Invoker
In many cases, tools (including Maven itself) may want to fire off a Maven
build in a clean environment. Why? Perhaps you want to avoid polluting the
@@ -23,14 +22,6 @@
capture the resulting exit code or any exception thrown to signal a failure to
execute. Input/Output control can be specified using an <<<InputStream>>> and
up to two <<<InvocationOutputHandler>>>s.
-
-* Table of Contents
-
- * {{{usage.html}Basic Usage Instructions}}
-
- * {{{examples/index.html}Examples}}
-
- []
* Features
Modified: maven/shared/trunk/maven-invoker/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-invoker/src/site/apt/usage.apt?rev=637405&r1=637404&r2=637405&view=diff
==============================================================================
--- maven/shared/trunk/maven-invoker/src/site/apt/usage.apt (original)
+++ maven/shared/trunk/maven-invoker/src/site/apt/usage.apt Sat Mar 15 06:00:43 2008
@@ -1,15 +1,14 @@
---
- Maven Forked Invocation API - Usage
+ Usage
---
John Casey
---
31-May-2006
+ ---
-Maven Forked Invocation API - Usage
-
-* Introduction
+Usage
- This page documents the basic usage of the invocation API.
+ This page documents the basic usage of the process invocation API.
* Hello, World
@@ -33,7 +32,7 @@
* Checking the Exit Code
- If we wanted to detect a build failure in the above example, we could simple
+ If we wanted to detect a build failure in the above example, we could simply
add the following lines:
+---+
@@ -45,7 +44,7 @@
}
+---+
- This will simply retrieve the exit code from the invocation result, and throw
+ This will retrieve the exit code from the invocation result, and throw
an exception if it's not <<<0>>> (the traditional all-clear code). Note that
we could capture the build output by adding an <<<InvocationOutputHandler>>>
instance to either the <<<invoker>>> or <<<request>>>.
Added: maven/shared/trunk/maven-invoker/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-invoker/src/site/site.xml?rev=637405&view=auto
==============================================================================
--- maven/shared/trunk/maven-invoker/src/site/site.xml (added)
+++ maven/shared/trunk/maven-invoker/src/site/site.xml Sat Mar 15 06:00:43 2008
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<project>
+ <body>
+ <menu name="Overview">
+ <item name="Introduction" href="index.html"/>
+ <item name="Usage" href="usage.html"/>
+ </menu>
+ </body>
+</project>
Propchange: maven/shared/trunk/maven-invoker/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/shared/trunk/maven-invoker/src/site/site.xml
------------------------------------------------------------------------------
svn:keywords = Date Id