I have a WAR file correctly created by Warbler, and it works when I do it all manually.
I am trying to use maven (via Hudson) to
1) Call shock (successful)
<phase>package</phase>
<configuration>
<executable>/bin/bash</executable>
<workingDirectory>.</workingDirectory>
<arguments>
<argument>-c</argument>
<argument>
echo "Sourcing bashrc"
source ~/.bashrc
rvm use jruby
echo "Path is $PATH"
echo "Gem path is $GEM_PATH"
warble --trace
rm -R target/*
mv workspace.war target/yams.war
</argument>
</arguments>
</configuration>
2) deploy to tomcat
This is the second part that I came across. I just want to tell maven to take the WAR file that I just generated (and was useful in the target /, as expected) and deploy it.
, , ( " -WAR" ). WAR-, WAR, , (webxml ..), WAR, .
, : " , //, , WAR WAR", maven?