http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html#Dependency_Exclusions
You would then exclude antlr-2.7.7 as you don't want it. I'm somewhat surprise of this problem though. I would expect that antlr-3.1.3 would have this exclusion in place allready, as it would affect them too (antlr-3.1.3 shouldn't have a indirect dependency to antlr-2.7.7). /Anders On Fri, Jan 14, 2011 at 05:40, Hayarobi Park <[email protected]> wrote: > The antlr-3.1.3 depends on antlr-runtime-3.1.3, which depends on > stringtemplate-3.2, and stringtemplate depends on antlr-2.7.7; the > dependency scope is all compile. > > I got two versions of antlr, when I using 'mvn > dependency:copy-dependencies'. I'm looking for a way to use only one antlr > by using dependencyManagement or other methods. Could you help me? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
