Hi, > Thanks for the example. This is quite similar to what I'm trying to do. But > if I do it like this, Maven will deploy my site under: > > scp://.../${parent.groupId}/${parent.artifactId}/$ > {parent.version}/../../../${project.groupId}/${project.artifactId}/$ > {project.version}/${project.artifactId}/ > > I have no clue why the last artifactId is added. > > Also, I have no use for the artifactId. At my company we have unique > groupIds for each project that would have a site. > > Anyway, I think I can just create an archetype that sets the deployment URL. > This would let me to provide a default site.xml as well.
I forgot to mention that I only set the properties and distribution management in the parent pom; there's no need to overwrite them in a depending project. BTW, I'm using Maven 3. Thorsten