Hi everyone.
my purpose is to run a bash script after creating war file.
i tried using maven-ant plugin. if you run ant script at 'generate-sources'
phase, it runs but this doesn't live up to my expectations because at that
phase war file hadn't been created yet. When i specified 'deploy' for this
script, it doesn't run.
Basically, i want to send my war file to a remote server that doesn't
contain a maven repo so i think deploy phase is not good method to do this
job because deploy phase requires a maven repo.
Briefly, # mvn package
# scp target/****.war r...@serverip:
i want to do this in pom.xml
thanks in advance
--
View this message in context:
http://maven.40175.n5.nabble.com/run-a-bash-script-after-creating-war-file-tp3254237p3254237.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]