Maven multi-module project – copying all “package” JARS from submodules into parent/target/
You could try the maven-dependency-plugin:copy plugin:goal. You will have to add this to the pom of all submodules that you want to copy. EDIT: Or just in the parent pom (see comments). <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-artifact</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <version>${project.version}</version> <type>${project.packaging}</type> </artifactItem> </artifactItems> <outputDirectory>../Main/target/dependencies</outputDirectory> </configuration> … Read more