On Tuesday, April 7, 2015 at 3:40:52 PM UTC-7, Murthy Gandikota wrote:
>
> 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
>

It seems compile scope is the default.

http://stackoverflow.com/questions/1396901/maven-dependency-within-dependency-with-different-scope

 Can someone kindly tell me why the jars are not included in the packaged 
war? My apologies if this is a maven question.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1a83a047-0db5-41e1-a41c-4e3efe960135%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to