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
Quickly test a connection string with PowerShell.
$sConString = "Data Source=localhost;Integrated Security=true;Initial Catalog=master; MultipleActiveResultSets=True;"
$oSQLCon = new-object ("Data.SqlClient.SqlConnection") $sConString
$oSQLCon.Open()
$oSQLCon.Close()