maybe chmod 0644 'bash_completion.d/grub'
maybe chmod 0644 'bash_completion.d/insserv'
maybe chmod 0644 'bash_completion.d/libreoffice.sh'
+maybe chmod 0644 'bash_completion.d/maven'
maybe chmod 0644 'bash_completion.d/openvpn'
maybe chmod 0644 'bash_completion.d/pass-otp'
maybe chmod 0644 'bindresvport.blacklist'
maybe chmod 0644 'groff/mdoc.local'
maybe chmod 0755 'grokevt'
maybe chmod 0755 'grokevt/systems'
+maybe chmod 0755 'groovy'
+maybe chmod 0644 'groovy/groovy-starter.conf'
maybe chmod 0644 'group'
maybe chmod 0644 'group-'
maybe chmod 0755 'grub.d'
maybe chmod 0644 'mailcap.order'
maybe chmod 0644 'manpath.config'
maybe chmod 0644 'matplotlibrc'
+maybe chmod 0755 'maven'
+maybe chmod 0755 'maven/logging'
+maybe chmod 0644 'maven/logging/simplelogger.properties'
+maybe chmod 0644 'maven/m2.conf'
+maybe chmod 0644 'maven/settings.xml'
+maybe chmod 0644 'maven/toolchains.xml'
maybe chmod 0755 'menu'
maybe chmod 0755 'menu-methods'
maybe chmod 0644 'menu-methods/README'
--- /dev/null
+/usr/share/groovy/bin/grape
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/man/man1/grape.1.gz
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/bin/groovy
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/man/man1/groovy.1.gz
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/bin/groovyConsole
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/bin/groovyc
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/man/man1/groovyc.1.gz
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/bin/groovydoc
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/bin/groovysh
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/bin/java2groovy
\ No newline at end of file
--- /dev/null
+/usr/share/maven/bin/mvn
\ No newline at end of file
--- /dev/null
+/usr/share/maven/man/mvn.1.gz
\ No newline at end of file
--- /dev/null
+/usr/share/maven/bin/mvnDebug
\ No newline at end of file
--- /dev/null
+/usr/share/maven/man/mvnDebug.1.gz
\ No newline at end of file
--- /dev/null
+/usr/share/groovy/bin/startGroovy
\ No newline at end of file
--- /dev/null
+# Programmable completion for the Maven mvn command under bash. Source
+# this file (or on some systems add it to ~/.bash_completion and start a new
+# shell) and bash's completion mechanism will know all about mvn's options!
+#
+# Copyright (C) 2009, Ludovic Claude <ludovic.claude@laposte.net>
+# Base on git completion script, Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
+# Distributed under the GNU General Public License, version 2.0.
+
+# Customization: you can always edit this file (as root) and add or remove plugins and options in the lists defined below.
+# If you have some interesting changes, please send patches to ludovic.claude@laposte.net
+# Alternatively, you can create a file called bash_completion in your ~/.m2 directory.
+# This file can override any of the variables defined below (__mvnopts, __mvnoptsWithArg __mvnparams, __mvnpackaging,
+# __mvnclassifiers, __mvndefault_phases, __mvnclean_phases, __mvnsite_phases, __mvncore_plugins, __mvnpackaging_plugins,
+# __mvnreporting_plugins, __mvntools_plugins, __mvnide_plugins, __mvnother_plugins, __mvncustom_plugins)
+# __mvncustom_plugins is the best variable to use to add new plugins and goals
+#
+
+__mvnopts="--also-make --also-make-dependents --file --debug --batch-mode --lax-checksums --strict-checksums --check-plugin-updates --define
+ --errors --encrypt-master-password --encrypt-password --fail-at-end --fail-fast --fail-never --help --non-recursive --no-plugin-registry
+ --no-plugin-updates --offline --activate-profiles --projects --quiet --reactor --resume-from --settings --global-settings --update-snapshots
+ --update-plugins --version --show-version"
+
+__mvnoptsWithArg="--file|--define|--encrypt-master-password|--encrypt-password|--resume-from|--settings|--global-settings|--activate-profiles|--projects"
+
+__mvnparams="-Dmaven.test.skip=true -Dsurefire.useFile=false -Dmaven.surefire.debug -Xdebug -Xnoagent -Djava.compiler=NONE
+ -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y -Dverbose -Dmaven.test.failure.ignore=true"
+
+__mvnpackaging="pom jar maven-plugin ejb war ear rar par"
+__mvnclassifiers="sources test-jar"
+
+# phases for the default lifecycle
+__mvndefault_phases="validate
+ initialize
+ generate-sources
+ process-sources
+ generate-resources
+ process-resources
+ compile
+ process-classes
+ generate-test-sources
+ process-test-sources
+ generate-test-resources
+ process-test-resources
+ test-compile
+ process-test-classes
+ test
+ package
+ pre-integration-test
+ integration-test
+ post-integration-test
+ verify
+ install
+ deploy"
+
+# phases for the clean lifecycle
+__mvnclean_phases="pre-clean
+ clean
+ post-clean"
+
+# phases for the site lifecycle
+__mvnsite_phases="pre-site
+ site
+ post-site
+ site-deploy"
+
+# core plugin targets
+__mvncore_plugins="clean:clean
+ clean:help
+ compiler:compile
+ compiler:testCompile
+ compiler:help
+ deploy:deploy
+ deploy:deploy-file
+ deploy:help
+ install:install
+ install:install-file
+ install:help
+ resources:resources
+ resources:testResources
+ resources:copy-resources
+ resources:help
+ site:site
+ site:deploy
+ site:run
+ site:stage
+ site:stage-deploy
+ site:attach-descriptor
+ site:jar
+ site:help
+ surefire:test
+ surefire:help
+ verifier:verify
+ verifier:help"
+
+# packaging plugin targets
+__mvnpackaging_plugins="ear:ear
+ ear:generate-application-xml
+ ear:help
+ jar:jar
+ jar:test-jar
+ jar:sign
+ jar:sign-verify
+ jar:help
+ rar:rar
+ rar:help
+ war:war
+ war:exploded
+ war:inplace
+ war:manifest
+ war:help
+ shade:shade
+ shade:help"
+
+# reporting plugin targets
+__mvnreporting_plugins="changelog:changelog
+ changelog:dev-activity
+ changelog:file-activity
+ changelog:help
+ changes:announcement-mail
+ changes:announcement-generate
+ changes:changes-report
+ changes:jira-report
+ changes:changes-validate
+ changes:help
+ checkstyle:checkstyle
+ checkstyle:check
+ checkstyle:help
+ doap:generate
+ doap:help
+ docck:check
+ docck:help
+ javadoc:javadoc
+ javadoc:test-javadoc
+ javadoc:aggregate
+ javadoc:test-aggregate
+ javadoc:jar
+ javadoc:test-jar
+ javadoc:help
+ jxr:jxr
+ jxr:test-jxr
+ jxr:help
+ pmd:pmd
+ pmd:cpd
+ pmd:check
+ pmd:cpd-check
+ pmd:help
+ project-info-reports:cim
+ project-info-reports:dependencies
+ project-info-reports:dependency-convergence
+ project-info-reports:dependency-management
+ project-info-reports:index
+ project-info-reports:issue-tracking
+ project-info-reports:license
+ project-info-reports:mailing-list
+ project-info-reports:plugin-management
+ project-info-reports:project-team
+ project-info-reports:scm
+ project-info-reports:summary
+ project-info-reports:help
+ surefire-report:report
+ surefire-report:report-only
+ surefire-report:help"
+
+# tools plugin targets
+__mvntools_plugins="ant:ant
+ ant:clean
+ ant:help
+ antrun:run
+ antrun:help
+ archetype:create
+ archetype:generate
+ archetype:create-from-project
+ archetype:crawl
+ archetype:help
+ assembly:assembly
+ assembly:directory
+ assembly:directory-single
+ assembly:single
+ assembly:help
+ dependency:copy
+ dependency:copy-dependencies
+ dependency:unpack
+ dependency:unpack-dependencies
+ dependency:resolve
+ dependency:list
+ dependency:sources
+ dependency:resolve-plugins
+ dependency:go-offline
+ dependency:purge-local-repository
+ dependency:build-classpath
+ dependency:analyze
+ dependency:analyze-dep-mgt
+ dependency:tree
+ dependency:help
+ enforcer:enforce
+ enforcer:display-info
+ enforcer:help
+ gpg:sign
+ gpg:sign-and-deploy-file
+ gpg:help
+ help:active-profiles
+ help:all-profiles
+ help:describe
+ help:effective-pom
+ help:effective-settings
+ help:evaluate
+ help:expressions
+ help:system
+ invoker:install
+ invoker:run
+ invoker:help
+ one:convert
+ one:deploy-maven-one-repository
+ one:install-maven-one-repository
+ one:maven-one-plugin
+ one:help
+ patch:apply
+ patch:help
+ pdf:pdf
+ pdf:help
+ plugin:descriptor
+ plugin:report
+ plugin:updateRegistry
+ plugin:xdoc
+ plugin:addPluginArtifactMetadata
+ plugin:helpmojo
+ plugin:help
+ release:clean
+ release:prepare
+ release:rollback
+ release:perform
+ release:stage
+ release:branch
+ release:help
+ reactor:resume
+ reactor:make
+ reactor:make-dependents
+ reactor:make-scm-changes
+ reactor:help
+ remote-resources:bundle
+ remote-resources:process
+ remote-resources:help
+ repository:bundle-create
+ repository:bundle-pack
+ repository:help
+ scm:branch
+ scm:validate
+ scm:add
+ scm:unedit
+ scm:export
+ scm:bootstrap
+ scm:changelog
+ scm:list
+ scm:checkin
+ scm:checkout
+ scm:status
+ scm:update
+ scm:diff
+ scm:update-subprojects
+ scm:edit
+ scm:tag
+ scm:help
+ source:aggregate
+ source:jar
+ source:test-jar
+ source:jar-no-fork
+ source:test-jar-no-fork
+ source:help
+ stage:copy
+ stage:help"
+
+# IDE plugin targets
+__mvnide_plugins="eclipse:clean
+ eclipse:configure-workspace
+ eclipse:eclipse
+ eclipse:help
+ eclipse:install-plugins
+ eclipse:m2eclipse
+ eclipse:make-artifacts
+ eclipse:myeclipse
+ eclipse:myeclipse-clean
+ eclipse:rad
+ eclipse:rad-clean
+ eclipse:remove-cache
+ eclipse:to-maven
+ idea:clean
+ idea:help
+ idea:idea
+ idea:module
+ idea:project
+ idea:workspace"
+
+__mvnother_plugins="
+ plexus:app plexus:bundle-application plexus:bundle-runtime plexus:descriptor plexus:runtime plexus:service
+ jetty:run-war jetty:run
+ cargo:start cargo:stop
+ dbunit:export dbunit:operation
+ hibernate3:hbm2cfgxml hibernate3:hbm2ddl hibernate3:hbm2doc hibernate3:hbm2hbmxml hibernate3:hbm2java hibernate3:schema-export
+ hibernate3:schema-update
+ groovy:compile groovy:console groovy:execute groovy:generateStubs groovy:generateTestStubs groovy:help groovy:providers groovy:shell
+ groovy:testCompile
+ gwt:compile gwt:eclipse gwt:eclipseTest gwt:generateAsync gwt:help gwt:i18n gwt:test
+ javacc:help javacc:javacc javacc:jjdoc javacc:jjtree javacc:jjtree-javacc javacc:jtb javacc:jtb-javacc
+ jboss:configure jboss:deploy jboss:harddeploy jboss:start jboss:stop jboss:undeploy
+ jboss-packaging:esb jboss-packaging:esb-exploded jboss-packaging:har jboss-packaging:har-exploded jboss-packaging:sar jboss-packaging:sar-exploded
+ jboss-packaging:sar-inplace jboss-packaging:spring
+ jpox:enhance jpox:schema-create jpox:schema-dbinfo jpox:schema-delete jpox:schema-info jpox:schema-validate
+ make:autoreconf make:chmod make:chown make:compile make:configure make:help make:make-clean make:make-dist make:make-install make:test
+ make:validate-pom
+ nbm:autoupdate nbm:branding nbm:cluster nbm:directory nbm:jar nbm:nbm nbm:populate-repository nbm:run-ide nbm:run-platform
+ tomcat:deploy tomcat:exploded tomcat:info tomcat:inplace tomcat:list tomcat:redeploy tomcat:resources tomcat:roles tomcat:run tomcat:run-war
+ tomcat:sessions tomcat:start tomcat:stop tomcat:undeploy
+ wagon:copy wagon:download wagon:download-single wagon:help wagon:list wagon:merge-maven-repos wagon:upload wagon:upload-single
+ was6:clean was6:ejbdeploy was6:help was6:installApp was6:wsAdmin was6:wsDefaultBindings was6:wsListApps was6:wsStartApp was6:wsStartServer
+ was6:wsStopApp was6:wsStopServer was6:wsUninstallApp
+ weblogic:appc weblogic:clientgen weblogic:clientgen9 weblogic:deploy weblogic:jwsc weblogic:listapps weblogic:redeploy weblogic:servicegen
+ weblogic:start weblogic:stop weblogic:undeploy weblogic:wsdlgen"
+
+__mvncustom_plugins=""
+
+### End of customizable area
+
+if [ -e ~/.m2/bash_completion ]; then
+ source ~/.m2/bash_completion
+fi
+
+__mvnphases="${__mvndefault_phases} ${__mvnclean_phases} ${__mvnsite_phases}"
+
+__mvnall_plugin_and_goals="${__mvncore_plugins} ${__mvnpackaging_plugins} ${__mvnreporting_plugins} ${__mvntools_plugins}
+ ${__mvnide_plugins} ${__mvnother_plugins} ${__mvncustom_plugins}"
+
+__mvnplugins=$(echo ${__mvnall_plugin_and_goals} | sed -re 's/:[^ \t]+/:\n/g' | sort -u | sed 's/[\s\n]//g')
+
+__mvncomp_1 ()
+{
+ local c IFS=' '$'\t'$'\n'
+ for c in $1; do
+ case "$c$2" in
+ --*=*) printf %s$'\n' "$c$2" ;;
+ *.) printf %s$'\n' "$c$2" ;;
+ *) printf %s$'\n' "$c$2 " ;;
+ esac
+ done
+}
+
+__mvncomp ()
+{
+ local genOpt=
+ if [ "$1" == "-nospace" ]; then
+ genOpt="true"
+ shift
+ fi
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ if [ $# -gt 2 ]; then
+ cur="$3"
+ fi
+ case "$cur" in
+ -*=)
+ COMPREPLY=()
+ ;;
+ *)
+ local IFS=$'\n'
+ COMPREPLY=($(compgen -P "$2" \
+ -W "$(__mvncomp_1 "$1" "$4")" \
+ -- "$cur"))
+ ;;
+ esac
+}
+
+__mvnlist_projects ()
+{
+ local poms=$(find . -name pom.xml -print)
+ echo $poms | while read -d ' ' POM; do
+ local DIR=$(dirname "$POM")
+ if [[ "$DIR" != "." ]]; then
+ echo "${DIR#./}"
+ fi
+ done
+}
+
+__mvnlist_goals ()
+{
+ local plugin=$1
+ local pfx=""
+ if [[ "$2" ]]; then
+ pfx=$2
+ fi
+ echo ${__mvnall_plugin_and_goals} | tr ' ' '\n' | grep "$plugin" | sed "s/.*:/${pfx}/g"
+}
+
+__mvnlist_poms ()
+{
+ for x in `find -type f -name pom.xml -or -name *.pom` ; do echo ${x#./} ; done
+}
+
+__mvnlist_jars ()
+{
+ for x in `find -type f -name *.jar` ; do echo ${x#./} ; done
+}
+
+__mvnlist_prefix ()
+{
+ local pfx=$1 IFS=' '$'\t'$'\n'
+ shift
+ local list=$@
+ for c in $list; do
+ echo "$pfx$c"
+ done
+}
+
+__mvnprefix_equals ()
+{
+ local cur=$1
+ local pfx=""
+ case "$COMP_WORDBREAKS" in
+ *=*) : great ;;
+ *) pfx="${cur%%=*}=" ;;
+ esac
+ echo $pfx
+}
+
+__mvnprefix_colon ()
+{
+ local cur=$1
+ local pfx=""
+ case "$COMP_WORDBREAKS" in
+ *:*) : great ;;
+ *) pfx="${cur%%:*}:" ;;
+ esac
+ echo $pfx
+}
+
+__mvnprefix_comma ()
+{
+ local cur=$1
+ local pfx=""
+ case "$COMP_WORDBREAKS" in
+ *,*) : great ;;
+ *) pfx="${cur%%,*}," ;;
+ esac
+ echo $pfx
+}
+
+__mvnplugin_help ()
+{
+ local plugin=$1
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ goal=*)
+ __mvncomp "$(__mvnlist_goals $plugin)" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ __mvncomp "detail lineLength= indentSize= $(__mvnlist_goals $plugin 'goal=')" "-D" "${cur}"
+ ;;
+ esac
+}
+
+__mvnhelp_describe ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ cmd=*:*)
+ local plugin="${cur#*=}"
+ plugin="${plugin%%:*}:"
+ __mvncomp "$(__mvnlist_goals $plugin)" "$(__mvnprefix_colon $cur)" "${cur#*:}"
+ ;;
+ cmd=*)
+ __mvncomp "${__mvnphases} ${__mvnall_plugin_and_goals}" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ plugin=*)
+ __mvncomp "org.apache.maven.plugins:maven-" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ groupId=*)
+ __mvncomp "org.apache.maven.plugins" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ artifactId=*)
+ __mvncomp "" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ # present several cmd= options to block full completion and insertion of a space
+ __mvncomp "detail cmd=press cmd=tab plugin= groupId= artifactId=" "-D" "${cur}"
+ ;;
+ esac
+}
+
+__mvndeploy_deploy ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ __mvncomp "altDeploymentRepository= skip=true updateReleaseInfo=true" "-D" "${cur}"
+}
+
+__mvndeploy_deploy_file ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ file=*)
+ COMPREPLY=( $( compgen -f -P "$(__mvnprefix_equals $cur)" -- "${cur#*=}" ) )
+ ;;
+ pomFile=*)
+ __mvncomp "$(__mvnlist_poms)" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ packaging=*)
+ __mvncomp "${__mvnpackaging}" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ local options="artifactId= classifier= description= file=press file=tab generatePom=true groupId= pomFile=press pomFile=tab repositoryId=
+ repositoryLayout=legacy uniqueVersion=false url= version="
+ options="$options $(__mvnlist_prefix 'packaging=' ${__mvnpackaging} )"
+ __mvncomp "$options" "-D" "${cur}"
+ ;;
+ esac
+}
+
+__mvninstall_install_file ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ file=*)
+ COMPREPLY=( $( compgen -f -P "$(__mvnprefix_equals $cur)" -- "${cur#*=}" ) )
+ ;;
+ pomFile=*)
+ __mvncomp "$(__mvnlist_poms)" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ sources=*)
+ __mvncomp "$(__mvnlist_jars)" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ javadoc=*)
+ __mvncomp "$(__mvnlist_jars)" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ packaging=*)
+ __mvncomp "${__mvnpackaging}" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ local options="artifactId= classifier= file=press file=tab generatePom=true groupId= pomFile=press pomFile=tab
+ createChecksum=true url= version= sources=press sources=tab javadoc=press javadoc=tab"
+ options="$options $(__mvnlist_prefix 'packaging=' ${__mvnpackaging} )"
+ __mvncomp "$options" "-D" "${cur}"
+ ;;
+ esac
+}
+
+__mvnarchetype_generate ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ __mvncomp "archetypeArtifactId= archetypeCatalog= archetypeGroupId= archetypeRepository= archetypeVersion= basedir= goals= interactiveMode=" \
+ "-D" "${cur}"
+}
+
+__mvndependency_x_dependencies ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ classifier=*)
+ __mvncomp "${__mvnclassifiers}" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ __mvncomp "$(__mvnlist_prefix 'classifier=' ${__mvnclassifiers})" "-D" "${cur}"
+ ;;
+ esac
+}
+
+__mvndependency_resolve ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ classifier=*)
+ __mvncomp "${__mvnclassifiers}" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ __mvncomp "$(__mvnlist_prefix 'classifier=' ${__mvnclassifiers}) excludeArtifactIds= excludeClassifiers= excludeGroupIds=
+ excludeScope= excludeTransitive=true excludeTypes= includeArtifactIds= includeClassifiers= includeGroupIds= includeScope=
+ includeTypes= markersDirectory= outputAbsoluteArtifactFilename= outputFile= outputScope=false overWriteIfNewer=false
+ overWriteReleases=true overWriteSnapshots=true silent=true type="
+ "-D" "${cur}"
+ ;;
+ esac
+}
+
+__mvndependency_purge_local_repository ()
+{
+ local fuzziness="file version artifactId groupId"
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ resolutionFuzziness=*)
+ __mvncomp "${fuzziness}" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ __mvncomp "actTransitively=false exclude= reResolve=false verbose=true
+ $(__mvnlist_prefix 'resolutionFuzziness=' ${fuzziness})"
+ "-D" "${cur}"
+ ;;
+ esac
+}
+
+__mvndependency_analyze ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ __mvncomp "ignoreNonCompile=true outputXML=true scriptableFlag= scriptableOutput=true verbose=true" "-D" "${cur}"
+}
+
+__mvndependency_analyze_dep_mgt ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ __mvncomp "ignoreDirect=false" "-D" "${cur}"
+}
+
+__mvndependency_tree ()
+{
+ local tokens="whitespace standard extended"
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ tokens=*)
+ __mvncomp "${tokens}" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ __mvncomp "excludes= includes= outputFile= scope= verbose=true
+ $(__mvnlist_prefix 'tokens=' ${tokens})"
+ "-D" "${cur}"
+ ;;
+ esac
+}
+
+__mvnrelease_prepare ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ __mvncomp "username= dryRun=true" "-D" "${cur}"
+}
+
+__mvnscm_checkin ()
+{
+ local versionType="branch tag revision"
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ cur="${cur#-D}"
+ case "${cur}" in
+ scmVersionType=*)
+ __mvncomp "${versionType}" "$(__mvnprefix_equals $cur)" "${cur#*=}"
+ ;;
+ *)
+ __mvncomp "username= message= passphrase= password= scmVersion= $(__mvnlist_prefix 'scmVersionType=' ${versionType})" "-D" "${cur}"
+ ;;
+ esac
+}
+
+_mvn ()
+{
+ local i prev c=1 cmd option optionArg=0 cmdcomplete=0
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ COMPREPLY=()
+
+ #echo " cur $cur"
+
+ # discover the options and the command
+ while [ $c -le $COMP_CWORD ]; do
+ prev=$i
+ i="${COMP_WORDS[c]}"
+ c=$((++c))
+ optionArg=0
+ # skip option argument
+ if [[ $prev == @(${__mvnoptsWithArg}) ]]; then
+ optionArg=1
+ continue;
+ fi
+
+ #echo "c $c i '$i'"
+
+ if [[ $cmdcomplete == -3 ]]; then
+ cmdcomplete=1 # complete command
+ break;
+ fi
+
+ if [[ "$i" == "" ]]; then
+ if [[ $cmd ]]; then
+ cmdcomplete=1 # complete command
+ break;
+ fi
+ continue
+ fi
+
+ if [[ "$i" == ":" ]]; then
+ if [[ $cmd ]]; then
+ cmdcomplete=$((cmdcomplete-1))
+ cmd="${cmd}:"
+ fi
+ continue
+ fi
+
+ case "$i" in
+ --version|--help) return ;;
+ -*) option="$i" ;;
+ *) if [[ ! $cmd ]]; then
+ # incomplete command
+ cmdcomplete=$((cmdcomplete-1))
+ cmd="$i"
+ local next=$c
+ if [[ $next -lt $COMP_CWORD ]]; then
+ #echo "next ${COMP_WORDS[next]}"
+ if [[ "${COMP_WORDS[next]}" != ":" ]]; then
+ break
+ fi
+ fi
+ else
+ cmdcomplete=$((cmdcomplete-1))
+ cmd="$cmd$i"
+ fi
+ ;;
+ esac
+ done
+
+ #echo "cmd $cmd cmdcomplete $cmdcomplete"
+
+ if [[ ! $cmd && $option && ($optionArg == 0) ]]; then
+ case "$option" in
+ --file)
+ __mvncomp "$(__mvnlist_poms)"
+ return
+ ;;
+ --define)
+ __mvncomp "maven.test.skip=true"
+ return
+ ;;
+ --resume-from)
+ __mvncomp "$(__mvnlist_projects)"
+ return
+ ;;
+ --projects)
+ case "${cur}" in
+ *,*)
+ __mvncomp "$(__mvnlist_projects)" "$(__mvnprefix_comma $cur)" "${cur#*,}"
+ ;;
+ *) __mvncomp "$(__mvnlist_projects)"
+ ;;
+ esac
+ return
+ ;;
+ --settings|--global-settings)
+ COMPREPLY=( $( compgen -f -- $cur ) )
+ return
+ ;;
+ --*)
+ COMPREPLY=()
+ ;;
+ esac
+ fi
+
+ if [ $cmdcomplete -lt 0 ]; then
+ #echo "incomplete cmd $cmd"
+ case "${cmd}" in
+ *:)
+ local plugin="${cmd%%:}:"
+ #echo "plugin $plugin"
+ __mvncomp "$(__mvnlist_goals $plugin)" "$(__mvnprefix_colon $cmd)" ""
+ ;;
+ *:*)
+ local plugin="${cmd%%:*}:"
+ #echo "plugin $plugin"
+ __mvncomp "$(__mvnlist_goals $plugin)" "$(__mvnprefix_colon $cmd)" "${cmd#*:}"
+ ;;
+ *) __mvncomp "${__mvnphases} ${__mvnall_plugin_and_goals}" ;;
+ esac
+ return
+ fi
+
+ if [ -z "$cmd" ]; then
+ #echo "empty cmd cur $cur"
+ case "${cur}" in
+ -D*=*) COMPREPLY=() ;;
+ -*) __mvncomp "${__mvnopts} ${__mvnparams}" ;;
+ --*) __mvncomp "${__mvnopts}" ;;
+ *) __mvncomp "${__mvnphases} ${__mvnall_plugin_and_goals}" ;;
+ esac
+ return
+ fi
+
+ #echo "cmd $cmd"
+
+ case "$cmd" in
+ *:help)
+ local plugin="${cmd%%:*}:"
+ __mvnplugin_help $plugin
+ ;;
+ help:describe) __mvnhelp_describe ;;
+ deploy:deploy) __mvndeploy_deploy ;;
+ deploy:deploy-file) __mvndeploy_deploy_file ;;
+ archetype:generate) __mvnarchetype_generate ;;
+ dependency:copy-dependencies) __mvndependency_x_dependencies ;;
+ dependency:unpack-dependencies) __mvndependency_x_dependencies ;;
+ dependency:resolve) __mvndependency_resolve ;;
+ dependency:resolve-plugins) __mvndependency_resolve ;;
+ dependency:source) __mvndependency_resolve ;;
+ dependency:go-offline) __mvndependency_resolve ;;
+ dependency:purge-local-repository) __mvndependency_purge_local_repository ;;
+ dependency:analyze) __mvndependency_analyze ;;
+ dependency:analyze-dep-mgt) __mvndependency_analyze_dep_mgt ;;
+ install:install-file) __mvninstall_install_file ;;
+ release:prepare) __mvnrelease_prepare ;;
+ scm:checkin) __mvnscm_checkin ;;
+ *)
+ ;;
+ esac
+}
+
+complete -o default -o nospace -F _mvn mvn mvnDebug
+
--- /dev/null
+## 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.
+
+##############################################################################
+## ##
+## Groovy Classloading Configuration ##
+## ##
+##############################################################################
+
+## Note: do not add classes from java.lang here. No rt.jar and on some
+## platforms no tools.jar
+##
+## See http://docs.groovy-lang.org/docs/latest/html/api/org/codehaus/groovy/tools/LoaderConfiguration.html
+## for the file format
+
+ # load required libraries
+ load !{groovy.home}/lib/*.jar
+
+ # load user specific libraries
+ load !{user.home}/.groovy/lib/*.jar
+
+ # tools.jar for ant tasks
+ load ${tools.jar}
+
--- /dev/null
+# 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.
+
+org.slf4j.simpleLogger.defaultLogLevel=info
+org.slf4j.simpleLogger.showDateTime=false
+org.slf4j.simpleLogger.showThreadName=false
+org.slf4j.simpleLogger.showLogName=false
+org.slf4j.simpleLogger.logFile=System.out
+org.slf4j.simpleLogger.cacheOutputStream=true
+org.slf4j.simpleLogger.levelInBrackets=true
+org.slf4j.simpleLogger.log.Sisu=info
+org.slf4j.simpleLogger.warnLevelString=WARNING
+
+# MNG-6181: mvn -X also prints all debug logging from HttpClient
+# Be aware that the shaded packages are used
+# org.apache.http -> org.apache.maven.wagon.providers.http.httpclient
+org.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient=off
+org.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient.wire=off
--- /dev/null
+main is org.apache.maven.cli.MavenCli from plexus.core
+
+set maven.conf default ${maven.home}/conf
+
+[plexus.core]
+load ${maven.conf}/logging
+optionally ${maven.home}/lib/ext/*.jar
+load ${maven.home}/lib/*.jar
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
+<!--
+ | This is the configuration file for Maven. It can be specified at two levels:
+ |
+ | 1. User Level. This settings.xml file provides configuration for a single user,
+ | and is normally provided in ${user.home}/.m2/settings.xml.
+ |
+ | NOTE: This location can be overridden with the CLI option:
+ |
+ | -s /path/to/user/settings.xml
+ |
+ | 2. Global Level. This settings.xml file provides configuration for all Maven
+ | users on a machine (assuming they're all using the same Maven
+ | installation). It's normally provided in
+ | ${maven.conf}/settings.xml.
+ |
+ | NOTE: This location can be overridden with the CLI option:
+ |
+ | -gs /path/to/global/settings.xml
+ |
+ | The sections in this sample file are intended to give you a running start at
+ | getting the most out of your Maven installation. Where appropriate, the default
+ | values (values used when the setting is not specified) are provided.
+ |
+ |-->
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+ <!-- localRepository
+ | The path to the local repository maven will use to store artifacts.
+ |
+ | Default: ${user.home}/.m2/repository
+ <localRepository>/path/to/local/repo</localRepository>
+ -->
+
+ <!-- interactiveMode
+ | This will determine whether maven prompts you when it needs input. If set to false,
+ | maven will use a sensible default value, perhaps based on some other setting, for
+ | the parameter in question.
+ |
+ | Default: true
+ <interactiveMode>true</interactiveMode>
+ -->
+
+ <!-- offline
+ | Determines whether maven should attempt to connect to the network when executing a build.
+ | This will have an effect on artifact downloads, artifact deployment, and others.
+ |
+ | Default: false
+ <offline>false</offline>
+ -->
+
+ <!-- pluginGroups
+ | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
+ | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
+ | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
+ |-->
+ <pluginGroups>
+ <!-- pluginGroup
+ | Specifies a further group identifier to use for plugin lookup.
+ <pluginGroup>com.your.plugins</pluginGroup>
+ -->
+ </pluginGroups>
+
+ <!-- proxies
+ | This is a list of proxies which can be used on this machine to connect to the network.
+ | Unless otherwise specified (by system property or command-line switch), the first proxy
+ | specification in this list marked as active will be used.
+ |-->
+ <proxies>
+ <!-- proxy
+ | Specification for one proxy, to be used in connecting to the network.
+ |
+ <proxy>
+ <id>optional</id>
+ <active>true</active>
+ <protocol>http</protocol>
+ <username>proxyuser</username>
+ <password>proxypass</password>
+ <host>proxy.host.net</host>
+ <port>80</port>
+ <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
+ </proxy>
+ -->
+ </proxies>
+
+ <!-- servers
+ | This is a list of authentication profiles, keyed by the server-id used within the system.
+ | Authentication profiles can be used whenever maven must make a connection to a remote server.
+ |-->
+ <servers>
+ <!-- server
+ | Specifies the authentication information to use when connecting to a particular server, identified by
+ | a unique name within the system (referred to by the 'id' attribute below).
+ |
+ | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
+ | used together.
+ |
+ <server>
+ <id>deploymentRepo</id>
+ <username>repouser</username>
+ <password>repopwd</password>
+ </server>
+ -->
+
+ <!-- Another sample, using keys to authenticate.
+ <server>
+ <id>siteServer</id>
+ <privateKey>/path/to/private/key</privateKey>
+ <passphrase>optional; leave empty if not used.</passphrase>
+ </server>
+ -->
+ </servers>
+
+ <!-- mirrors
+ | This is a list of mirrors to be used in downloading artifacts from remote repositories.
+ |
+ | It works like this: a POM may declare a repository to use in resolving certain artifacts.
+ | However, this repository may have problems with heavy traffic at times, so people have mirrored
+ | it to several places.
+ |
+ | That repository definition will have a unique id, so we can create a mirror reference for that
+ | repository, to be used as an alternate download site. The mirror site will be the preferred
+ | server for that repository.
+ |-->
+ <mirrors>
+ <!-- mirror
+ | Specifies a repository mirror site to use instead of a given repository. The repository that
+ | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
+ | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
+ |
+ <mirror>
+ <id>mirrorId</id>
+ <mirrorOf>repositoryId</mirrorOf>
+ <name>Human Readable Name for this Mirror.</name>
+ <url>http://my.repository.com/repo/path</url>
+ </mirror>
+ -->
+ </mirrors>
+
+ <!-- profiles
+ | This is a list of profiles which can be activated in a variety of ways, and which can modify
+ | the build process. Profiles provided in the settings.xml are intended to provide local machine-
+ | specific paths and repository locations which allow the build to work in the local environment.
+ |
+ | For example, if you have an integration testing plugin - like cactus - that needs to know where
+ | your Tomcat instance is installed, you can provide a variable here such that the variable is
+ | dereferenced during the build process to configure the cactus plugin.
+ |
+ | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
+ | section of this document (settings.xml) - will be discussed later. Another way essentially
+ | relies on the detection of a system property, either matching a particular value for the property,
+ | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
+ | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
+ | Finally, the list of active profiles can be specified directly from the command line.
+ |
+ | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
+ | repositories, plugin repositories, and free-form properties to be used as configuration
+ | variables for plugins in the POM.
+ |
+ |-->
+ <profiles>
+ <!-- profile
+ | Specifies a set of introductions to the build process, to be activated using one or more of the
+ | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
+ | or the command line, profiles have to have an ID that is unique.
+ |
+ | An encouraged best practice for profile identification is to use a consistent naming convention
+ | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
+ | This will make it more intuitive to understand what the set of introduced profiles is attempting
+ | to accomplish, particularly when you only have a list of profile id's for debug.
+ |
+ | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
+ <profile>
+ <id>jdk-1.4</id>
+
+ <activation>
+ <jdk>1.4</jdk>
+ </activation>
+
+ <repositories>
+ <repository>
+ <id>jdk14</id>
+ <name>Repository for JDK 1.4 builds</name>
+ <url>http://www.myhost.com/maven/jdk14</url>
+ <layout>default</layout>
+ <snapshotPolicy>always</snapshotPolicy>
+ </repository>
+ </repositories>
+ </profile>
+ -->
+
+ <!--
+ | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
+ | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
+ | might hypothetically look like:
+ |
+ | ...
+ | <plugin>
+ | <groupId>org.myco.myplugins</groupId>
+ | <artifactId>myplugin</artifactId>
+ |
+ | <configuration>
+ | <tomcatLocation>${tomcatPath}</tomcatLocation>
+ | </configuration>
+ | </plugin>
+ | ...
+ |
+ | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
+ | anything, you could just leave off the <value/> inside the activation-property.
+ |
+ <profile>
+ <id>env-dev</id>
+
+ <activation>
+ <property>
+ <name>target-env</name>
+ <value>dev</value>
+ </property>
+ </activation>
+
+ <properties>
+ <tomcatPath>/path/to/tomcat/instance</tomcatPath>
+ </properties>
+ </profile>
+ -->
+ </profiles>
+
+ <!-- activeProfiles
+ | List of profiles that are active for all builds.
+ |
+ <activeProfiles>
+ <activeProfile>alwaysActiveProfile</activeProfile>
+ <activeProfile>anotherAlwaysActiveProfile</activeProfile>
+ </activeProfiles>
+ -->
+</settings>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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.
+-->
+
+<!--
+ | This is the toolchains file for Maven. It can be specified at two levels:
+ |
+ | 1. User Level. This toolchains.xml file provides configuration for a single user,
+ | and is normally provided in ${user.home}/.m2/toolchains.xml.
+ |
+ | NOTE: This location can be overridden with the CLI option:
+ |
+ | -t /path/to/user/toolchains.xml
+ |
+ | 2. Global Level. This toolchains.xml file provides configuration for all Maven
+ | users on a machine (assuming they're all using the same Maven
+ | installation). It's normally provided in
+ | ${maven.conf}/toolchains.xml.
+ |
+ | NOTE: This location can be overridden with the CLI option:
+ |
+ | -gt /path/to/global/toolchains.xml
+ |
+ | The sections in this sample file are intended to give you a running start at
+ | getting the most out of your Maven installation.
+ |-->
+<toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/TOOLCHAINS/1.1.0 http://maven.apache.org/xsd/toolchains-1.1.0.xsd">
+
+ <!--
+ | With toolchains you can refer to installations on your system. This
+ | way you don't have to hardcode paths in your pom.xml.
+ |
+ | Every toolchain consist of 3 elements:
+ | * type: the type of tool. An often used value is 'jdk'. Toolchains-aware
+ | plugins should document which type you must use.
+ |
+ | * provides: A list of key/value-pairs.
+ | Based on the toolchain-configuration in the pom.xml Maven will search for
+ | matching <provides/> configuration. You can decide for yourself which key-value
+ | pairs to use. Often used keys are 'version', 'vendor' and 'arch'. By default
+ | the version has a special meaning. If you configured in the pom.xml '1.5'
+ | Maven will search for 1.5 and above.
+ |
+ | * configuration: Additional configuration for this tool.
+ | Look for documentation of the toolchains-aware plugin which configuration elements
+ | can be used.
+ |
+ | See also https://maven.apache.org/guides/mini/guide-using-toolchains.html
+ |
+ | General example
+
+ <toolchain>
+ <type/>
+ <provides>
+ <version>1.0</version>
+ </provides>
+ <configuration/>
+ </toolchain>
+
+ | JDK examples
+
+ <toolchain>
+ <type>jdk</type>
+ <provides>
+ <version>1.5</version>
+ <vendor>sun</vendor>
+ </provides>
+ <configuration>
+ <jdkHome>/path/to/jdk/1.5</jdkHome>
+ </configuration>
+ </toolchain>
+ <toolchain>
+ <type>jdk</type>
+ <provides>
+ <version>1.6</version>
+ <vendor>sun</vendor>
+ </provides>
+ <configuration>
+ <jdkHome>/path/to/jdk/1.6</jdkHome>
+ </configuration>
+ </toolchain>
+
+ -->
+
+</toolchains>
\ No newline at end of file