There are a list of different dependency scopes, in your case you need to add the test scope tag.
Further details: - https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope If you don't need that dependency in your runtime then use that test scope. Cheers On Thursday, 1 October 2015 20:14:58 UTC+2, Jacqueline Taing wrote: > > How do you specify scope of dependency in pom.xml? > > Thanks, > -jacqui > > On Thursday, October 1, 2015 at 11:03:51 AM UTC-7, Victor Martinez wrote: >> >> Awesome!If you need them only form testing then change their scope as test >> Cheers > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f39571f9-037a-4e8e-aff4-c8f7c20b4475%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.