Maven ear plugin multiple artifacts content
问题 Lets assume that I have a web project and several environments where it could be deployed. And I want Maven to build several artifacts at once (e.g. for dev an prod). I have an A-war module and an A-ear module (which contains A-war). Each war artifact could contain information which is related only to its environment. First I configured a pom.xml file for A-war module: <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> <executions> <execution> <id>package