Having some issues with a Maven project, that is also a Maven project inside IDEA. When I build with the POM on the command line I get a different set of jars in the war/target folder than when I generate a web artifact for running the app via tomcat inside IDEA.
They're both using the same maven and same maven repo. The artifacts appear to be created via the maven pom, they appear automatically if I create a new exploded folder. But the same dependencies don't appear in the maven sidebar view of dependencies? So it's not clear where they've come from. This is a single module project.
Heres the kins of diff I'm seeing. On the left I have a the list of jars created via command line mvn install, on the right is the contents of WEB-INF/libs after clearing out and rebuilding web artefacts. The files in green are the extra ones IDEA adds that I don't want to see. Why would these differ?