Not that I'm aware of. The easiest solution is to simply unjar and delete the files from the "bad" jar, then rejar it and mvn install or deploy it.
Then go complain to the source of this jar about its contents. Wayne On 3/13/08, Steven Crosley <[EMAIL PROTECTED]> wrote: > I have two dependencies that contain a class with the same package and > name. Maven won't compile it, because it uses the class that I don't > want it to use instead of the class I do want it to use. > > Is there a way to exclude a class in a dependency or set an order of > precedence on dependencies so that I can compile it using the class I > want to use? > > Thanks, > Steven > > > --------------------------------------------------------------------- > 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]
