#1724
[Maven] How-to
Evaluate pom’s property from command line :
POM_VERSION=`mvn help:evaluate -Dexpression=project.version -N | grep -v INFO | grep -v WARNING | grep -v Download`
Evaluate pom’s property from command line :
POM_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
to remove ‘-SNAPSHOT’ in bash :
export BASE_VERSION="${POM_VERSION/'-SNAPSHOT'/}"
Créer un cluster de Raspberry Pi avec Docker Swarm [How-To] Docker & Jenkins
Download a file from repo :
Enable JaCoCo repor from CLI (without changing pom):