Section: Builds

Maven Dependency Updates

Mar 4, 2016 1 min.

Use the following command to find any updates on dependencies mvn versions:display-dependency-updates Sample Output: $ mvn versions:display-dependency-updates [INFO] Scanning for projects... [INFO] [INFO] --------------------< com.sample.myproject:app >-------------------- [INFO] Building MyProject 1.0-SNAPSHOT [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- versions-maven-plugin:2.5:display-dependency-updates (default-cli) @ app --- [INFO] artifact commons-io:commons-io: checking for updates from local-release-repository [INFO] artifact commons-fileupload:commons-fileupload: checking for updates from prime-repo [INFO] artifact commons-io:commons-io: checking for updates from local-release-repository [INFO] The following dependencies in Dependencies have newer versions: [INFO] commons-io:commons-io .

Maven Skip Test

Jan 21, 2016 1 min.

Any of the following option can be used to skip the tests during build process. Option 1: -DskipTests Option 2: -DskipTests=true Option 3: -Dmaven.test.skip=true Option 4: -Darguments="-DskipTests"