Publish Maven artifacts using Maven command-line tool. mvn help:describe describes the attributes of a plugin; mvn help:effective-pom displays the effective POM as an XML for the current build, with the active profiles factored in. In this tutorial, we will show you how to read and write to/from a .properties file. mvn package Maven Skip Test Command 4.1. The properties can be specified directly through the command line. mvn -B archetype:generate \ -DarchetypeGroupId=software.amazon.awssdk \ -DarchetypeArtifactId=archetype-lambda -Dservice=s3 -Dregion=US_WEST_2 \ -DgroupId=com.example.myapp \ -DartifactId=myapp Maven properties To make it easy to work with Maven profiles and to logically group configuration, the Flyway Maven plugin also supports Maven properties: ... myUser mySecretPwd