Execute maven assembly plugin only on child POMs -
i have project parent pom , 3 child projects with.i want execute goal assembly:assembly on 1 child pom. read following post, didn't work maven assembly plugin.
execute maven plugin goal on child modules, not on parent
if run
mvn -dskiptests=true assembly:assembly
i following error:
[error] failed execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly (default-cli) on project inhouse: error reading assemblies: no assembly descriptors found. -> [help 1]
it seems parses plugin configuration , looks assembly descriptor, then, if not put plugin parent pom @ all. has solution assembly plugin?
you can configure in aggregation pom.xml
assembly plugin skip execution.
in <build><plugins>
section
<configuration><skip>true</skip></configuration>
Comments
Post a Comment