How to setup maven-site-plugin when aggregator is not the parent? -
i have system has pom aggregator grouping modules. i'm using maven-site 3.3 , maven 3.2.1. one of module parent parent corporate pom built in job. root-aggregator parent-pom component-one component-two component-three i've setup different values project.url , site.url each project, root-aggregator root , parent under it. the problem i'm facing both root-aggregator , parent-pom being copied (stage) same root folder (stagingdirectory). last project overriding files parent-pom. [info] pushing /home/cvgaviao/aggregator-maven/maven.parent/target/site [info] >>> file:///home/cvgaviao/development/staging-site/./ [info] pushing /home/cvgaviao/aggregator-maven/target/site [info] >>> file:///home/cvgaviao/development/staging-site/./ how make maven-site-plugin understand parent pom not root ?