Maven Auto Completion provides a simple auto completion of Maven 3 to PowerShell.
findbugs
goal will remove in nearly future because FindBugs replaced to SpotBugs.
Maven Auto Completion requires greater equal than PowerShell v6.0.
Check your PowerShell version by executing $PSVersionTable.PSVersion
.
- This module depends
Registet-ArugmentCompleter
command let. - PowerShell v5.x has a known issue about parameters with
-
. Native ArgumentCompleter not invoked for inputs that begin with hyphen (-) Issue #2912 PowerShell/PowerShell
In case of PowerShell v5.x, you can use auto completion by using escape sequence `
(backquote) like below.
mvn install `-
MavenAutoCompletion is available on the PowerShell Gallery. You can install it with PowerShellGet module.
PowerShell Gallery | MavenAutoCompletion
Install-Module MavenAutoCompletion -AllowPrerelease -Force
Clone the repository to your PowerShell module path.
Check your module pathes by executing $env:PSModulePath
.
Sample command is below.
cd ($env:PSModulePath -split ';')[0]
git clone https://github.com/krymtkts/MavenAutoCompletion
The command is below. Add -Force
paramter when you update module.
Import-Module -Name MavenAutoCompletion -Force
Add Import-Module
to your profile if you want.
Check your profile by executing $profile
.