Enforcing it would be: <dependency> <groupId>org.codehaus.woodstox</groupId> <artifactId>woodstox-core-asl</artifactId> <version>[4.2.0]</version> </dependency>
Note the square brackets around the version. 4.2.0 is still simply an advised version, and Maven can and will override it. With the square brackets it will fail. On Fri, Sep 20, 2013 at 4:32 AM, Ziga GREGORIC <ziga.grego...@gmail.com>wrote: > Try enforcing version with > > <dependencyManagement> > <dependencies> > <dependency> > <groupId>org.codehaus.woodstox</groupId> > <artifactId>woodstox-core-asl</artifactId> > <version>4.2.0</version> > </dependency> > </dependencies> > </dependencyManagement> > > on parent level (check if this is the right artifact). > > Regards, > Ziga Gregoric > > > On Thu, Sep 19, 2013 at 4:17 PM, James Green <james.mk.gr...@gmail.com > >wrote: > > > Gotta be a simple one this! > > > > Upgraded ourselves to apache-cxf-2.7.6 and we've been getting errors > since. > > Well-publicised solution is to find and remove any dependencies on > woodstox > > prior to 4.2.0. > > > > So dependency:tree only shows us having 4.2.0. Yet clean & build results > in > > WEB-INF/lib having 4.1.2. On both cases we are operating at the parent > > module level. > > > > Any ideas how else to find this apparently stuck dependency? > > > > James > > > -- --- Richard Vowles, Groovy, Java, Javascript, AngularJS ph: +64275467747, google+:plus.to/Richard.Vowles <http://rvowl.es/UX8Bmq>