How to get maven assembly plugin to copy artifact?
问题 I have a Maven assembly script that copies resources to build our app. I need to copy some war files from separate, external projects into a /webapps directory in the output. Can't seem to find the magic commands to do it. I tried adding a dependencySet to the assembly with <include com.mygroup:mywarfile> . This works if I add 'mywarfile' as a war dependency in the project with a scope of compile or runtime. Unfortunately, my project produces a war, and the maven-war-plugin includes the