Using Jenkins 1.596.
While creating a war, all the necessary jars are flagged with the scope "compile", like this:
[pool-1-thread-1 for channel] INFO org.apache.maven.plugin.dependency.TreeMojo - +- org.javassist:javassist:jar:3.18.1-GA:compile
[pool-1-thread-1 for channel] INFO org.apache.maven.plugin.dependency.TreeMojo - +- org.antlr:antlr:jar:3.5:compile
[pool-1-thread-1 for channel] INFO org.apache.maven.plugin.dependency.TreeMojo - | +- org.antlr:antlr-runtime:jar:3.5:compile
[pool-1-thread-1 for channel] INFO org.apache.maven.plugin.dependency.TreeMojo - | | \- org.antlr:stringtemplate:jar:3.2.1:compile
[pool-1-thread-1 for channel] INFO org.apache.maven.plugin.dependency.TreeMojo - | | \- antlr:antlr:jar:2.7.7:compile
The pom.xml dependency tags don't mention the scope anywhere.
As a result, I think, the jars are not included in the packaged war. This is seen only with incremental build.
If scope needs to be specified in each dependency, what value should it be set?
I'd appreciate your help