Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Classes scanned from multiple locations with Maven plugin (mvn install & mvn jetty:start)

Hi James,

Just a quick suggestion, can you use the Shade plugin to use only one version of the classes?

Best Regards,

Zalan Meggyesi
Chief Support Engineer
Skawa Innovation Kft.

Mobile: +36205146666

On Thu, Jul 18, 2019 at 4:31 PM James Srinivasan <james.srinivasan@xxxxxxxxx> wrote:
I'm trying to use jetty-maven-plugin to run some integration tests
with failsafe, but getting lots of warnings similar to the following
with mvn install, or mvn jetty:start (but *not* with mvn jetty:run):

[WARNING] my.package.api.LinksApi scanned from multiple locations:


[WARNING] com.sun.xml.fastinfoset.AbstractResourceBundle scanned from
multiple locations:

I've tried to solve this with:


and scanClassesPattern, scanTestClassesPattern, scanTargetPatterns in

and adding javax.servlet as `provided` to my dependencies

But none of this has helped. Given the jars should all have the same
version, it doesn't appear critical but any help would be much
appreciated. I don't see why my local maven repo is on my servlet's

My full pom.xml is here:

Thanks in advance,

jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top