The answer is exactly what you're trying to avoid...

You must configure the site again in your children pom. You might be
able to avoid typing the full site URL in each child pom by using a
property in the parent ie ${shared.site} which is set to
"scp://webserver.mycompany.com/projects/".

Wayne

On 9/4/07, Martin Testrot <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
> I try to configure the site deployment for our projects.
>
> Because I don't want to include a distributionManagement.site section in all 
> of our project poms I tried to centralize these settings in a common parent 
> pom ("rootpom") which is used as parent for all other projects.
>
> The site configuration in this parent pom looks like:
>
>
>
> <site>
>
>  <id>webserver</id>
>
>   <url>scp://webserver.mycompany.com/projects/</url>
>
> </site>
>
>
>
> Now I got the problem, that the computed URL for let's say "MyTestproject" 
> contains the artifactID from all super poms and is deployed to
>
>
>
> ../projects/rootpom/MyTestproject
>
>
>
> Is it possible to ignore the parent artifactID and get something like:
>
>
>
> /projects/MyTestproject
>
>
>
> Thanks,
>
> Martin
>
>
>
>
>
>
>
> d.velop AG
> digital business solutions
>
> Schildarpstraße 6-8
> 48712 Gescher
> Fon: +49 25 42 93 07-0
> Fax: +49 25 42 93 07-20
>
> HRB 4903, Amtsgericht Coesfeld, Vorstand: Christoph Pliete, 
> Aufsichtsratsvorsitzender: Dr. Helmut Bäumer
>
>
>
>
>
>
>
>
>
>
> Diese E-Mail enthält vertrauliche oder rechtlich geschützte Informationen. 
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
> erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie 
> diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
> Mail ist nicht gestattet.
> This e-mail may contain confidential or privileged information. If you are 
> not the intended recipient (or have received this e-mail in error) please 
> notify the sender immediately and destroy this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this e-mail is 
> strictly forbidden.
>
>
>
>
>
>
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to