title: jenkins access to maven properties and variables
body: <p>I've some issue to be resolved - after Jenkins has finished its build, I would like to run a shell script ( Linux OS ) in order to deploy application. I've try to use specific plugin, and came to the conclusion to not to use it and use script instead. So, in my script I need to have some input values which I would like not to be passed manually, but whose values been taken from mavens pom.xml files, or, maybe from settings.xml (maven settings file). Is there a way for that to be done ? </p>
  
  <p>Following is the script being executed:</p>
  
  <p>java -classpath /weblogic/appServer/wlserver_10.3/server/lib/weblogic.jar -Xmx256m weblogic.Deployer -adminurl t3://localhost:7301 -username admin -password ProL1antADMIN -upload -deploy -source /var/lib/jenkins/jobs/calendar/workspace/target/futurecrm-stub-1.0-SNAPSHOT.war -targets AdminServer</p>
  
  <p>So, server name, server port, source itself with its path and aftifact name are desired to be substituted with something like $server.name $server.port $source $artifactId $packaging ${project.finalName}</p>