eh... why are you including servlet-api inside your war. servlet-api is provided by the container (if your container is compliant with the java ee specification) so you should just have it with scope provided in the webapp
-Stephen 2010/1/14 fachhoch <[email protected]>: > > My project is a n ear project which has dependency to war and jar > projects. > suppose I specify dependency in war pom file for a servlet-api 2.4, it > works there, that is any other dependecy whihc has transitive dependency > with a lower version ot servlet-api is ignored , but suppose my jar > project has transitive dependency for the same with a lower version , it > will not know about the version decalred in war project and it puts the > lower in ear file , so I end up with two differnt versions of the same jar > in my ear , please tell me hot to avoid this? > -- > View this message in context: > http://old.nabble.com/several-poms-and---dependency-tp27159704p27159704.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
