First, this works locally on my command line. This is an extension to a previous question that went unanswered.
Here is what my tasks look like:
1. mvn package the jar.
2. mvn install the jar.
3. mvn package the war.
the package step fails due to compilation errors not finding classes that are in the jar.
Is my approach using 3 tasks wrong?
I did try separating this into 2 stages and having the .jar added as an artifact but I don't think that this is necessary. Since tasks execute serially, the jar should be in the bamboo mvn repo when the war is compiled.