GNU/Linux Maven Frequently Used (Quickref)
Mavin compile (Java) code and create local package.
mvn clean package -DskipTests
Run a specific unit test from the command line.
mvn test -Dtest=JavaClassTest#specificTest
Mavin compile (Java) code and create local package.
mvn clean package -DskipTests
Run a specific unit test from the command line.
mvn test -Dtest=JavaClassTest#specificTest
Some commands I regularly use to start tools from the command line when I need them to start with elevated privileges.
My Frequently Used CLI Commands / Admin Tools (QuickRef) | Description |
---|---|
dsa.msc / adsiedit.msc / virtmgmt.msc | Active Directory Users & Computers / ADSI Edit / Hyper-V Manager |
start-process powershell -verb runas | Start PowerShell with Elevated Privileges |
rundll32 sysdm.cpl,EditEnvironmentVariables | Edit Windows system environment variables |
cacls “C:\Path\To\File.TXT” /E /G username@example.com:C | Quick way to add write permission to a filesystem resource |
java -Djavax.net.debug=ssl:handshake -jar target/packagename-1.0.0-SNAPSHOT.jar | Start package with TLS handshake debugging enabled |