You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by bu...@apache.org on 2016/01/24 12:44:42 UTC
svn commit: r978463 - in /websites/staging/maven/trunk/content: ./
guides/index.html guides/mini/guide-bash-m2-completion.html
maven-site-1.0-site.jar
Author: buildbot
Date: Sun Jan 24 11:44:42 2016
New Revision: 978463
Log:
Staging update by buildbot for maven
Modified:
websites/staging/maven/trunk/content/ (props changed)
websites/staging/maven/trunk/content/guides/index.html
websites/staging/maven/trunk/content/guides/mini/guide-bash-m2-completion.html
websites/staging/maven/trunk/content/maven-site-1.0-site.jar
Propchange: websites/staging/maven/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Jan 24 11:44:42 2016
@@ -1 +1 @@
-1726478
+1726479
Modified: websites/staging/maven/trunk/content/guides/index.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/index.html (original)
+++ websites/staging/maven/trunk/content/guides/index.html Sun Jan 24 11:44:42 2016
@@ -519,7 +519,7 @@ Eric Redmond" />
<div class="section">
<h4><a name="Maven_Tools_and_IDE_Integration"></a>Maven Tools and IDE Integration</h4>
<ul>
-<li><a href="./mini/guide-bash-m2-completion.html">Maven 2.x Auto-Completion Using BASH</a></li></ul></div></div>
+<li><a href="./mini/guide-bash-m2-completion.html">Maven Auto-Completion Using BASH</a></li></ul></div></div>
<div class="section">
<h3><a name="Development_Guides"></a>Development Guides</h3>
<ul>
Modified: websites/staging/maven/trunk/content/guides/mini/guide-bash-m2-completion.html
==============================================================================
--- websites/staging/maven/trunk/content/guides/mini/guide-bash-m2-completion.html (original)
+++ websites/staging/maven/trunk/content/guides/mini/guide-bash-m2-completion.html Sun Jan 24 11:44:42 2016
@@ -8,11 +8,12 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Trygve Laugstol
-Jason van Zyl" />
- <meta name="Date-Creation-yyyymmdd" content="20051012" />
+Jason van Zyl
+Karl Heinz Marbaise" />
+ <meta name="Date-Creation-yyyymmdd" content="20160124" />
<meta name="Date-Revision-yyyymmdd" content="20160124" />
<meta http-equiv="Content-Language" content="en" />
- <title>Maven – Guide to Maven 2.x auto completion using BASH</title>
+ <title>Maven – Guide to Maven auto completion using BASH</title>
<link rel="stylesheet" href="../../css/apache-maven-fluido-1.4.min.css" />
<link rel="stylesheet" href="../../css/site.css" />
<link rel="stylesheet" href="../../css/print.css" media="print" />
@@ -62,7 +63,7 @@ Jason van Zyl" />
Maven</a>
<span class="divider">/</span>
</li>
- <li class="active ">Guide to Maven 2.x auto completion using BASH</li>
+ <li class="active ">Guide to Maven auto completion using BASH</li>
@@ -448,40 +449,8 @@ Jason van Zyl" />
<div id="bodyColumn" class="span10" >
<!-- 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. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/
apt-format.html --><div class="section">
-<h2><a name="Guide_to_Maven_2.x_auto_completion_using_BASH"></a>Guide to Maven 2.x auto completion using BASH</h2>
-<p>First you must go to the following site to install the BASH programmable auto completion setup if your distro doesn't have it by default. I don't think many do so you'll need to go to the <a class="externalLink" href="http://www.caliban.org/bash/index.shtml#completion">Programmable Completion Website</a>.</p>
-<p>Once you've setup your system for auto completion you need to take the following:</p>
-<div class="source"><pre class="prettyprint linenums">
-#!/bin/bash
-
-_m2_make_goals()
-{
- plugin=$1
- mojos=$2
- for mojo in $mojos
- do
- export goals="$goals $plugin:$mojo"
- done
-}
-
-_m2_complete()
-{
- local cur goals
-
- COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
- goals='clean compile test install package deploy site'
- goals=$goals _m2_make_goals "eclipse" "eclipse"
- goals=$goals _m2_make_goals "idea" "idea"
- goals=$goals _m2_make_goals "assembly" "assembly"
- goals=$goals _m2_make_goals "plexus" "app bundle-application bundle-runtime descriptor runtime service"
- cur=`echo $cur | sed 's/\\\\//g'`
- COMPREPLY=($(compgen -W "${goals}" ${cur} | sed 's/\\\\//g') )
-}
-
-complete -F _m2_complete -o filenames mvn
-</pre></div>
-<p>And place it in <tt>/etc/bash_completion.d/m2</tt>. Once you've done that the next time you start up your BASH shell you will have m2 auto completion!</p></div>
+<h2><a name="Guide_to_Maven_auto_completion_using_BASH"></a>Guide to Maven auto completion using BASH</h2>
+<p>If you like having bash completion which i can recommend if you are working with Maven on command line i would suggest to install the following <a class="externalLink" href="https://github.com/juven/maven-bash-completion">Maven Bash Auto Completion</a> to fullfil you needs.</p></div>
</div>
</div>
</div>
Modified: websites/staging/maven/trunk/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.