Re: Setting site distribution URL in parent POM for entire company

2011-08-19 Thread Thorsten Heit
Hi Lóránt, However, requiring each project to do this is rather error prone, so I'd like to define a pattern in the company parent POM, and have all projects automatically derive their location from there. This doesn't work. If I set a location in our top-level POM to, say,

Re: Setting site distribution URL in parent POM for entire company

2011-08-19 Thread Lóránt Pintér
Hey, 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}/

Re: Re: Setting site distribution URL in parent POM for entire company

2011-08-19 Thread Thorsten Heit
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}/$

Setting site distribution URL in parent POM for entire company

2011-08-18 Thread Lóránt Pintér
Hi, I would like to let my co-workers publish Maven sites easily. For this I'd like to define some kind of convention for site locations. I would like this to work out-of-the-box, so if I create a new Maven project that uses the company POM, its site would be deployed to the right location