Hello,
i am managing multiple projects form y company using maven 2.0.7. For that purpose I have created a master pom, that contains the following section: (Pom A) ... <modelVersion>4.0.0</modelVersion> <groupId>com.sonicsw.pso</groupId> <artifactId>sonic-maven-parent</artifactId> <version>1.0</version> <packaging>pom</packaging> <name>Maven Definitions for all Sonic PSO projects</name> <url>https://www.soa-knowledge.net/projects/${urlGroup}/${urlId}/${proje ct.version}/${urlId}</url> <properties> <urlGroup>${project.groupId}</urlGroup> <urlId>${project.artifactId}</urlId> </properties> ... >From that I have inherited another pom (POM B), that does not specify anything for an URL and serves as a base for a part of my projects. That pom has the following coordinates: ... <modelVersion>4.0.0</modelVersion> <groupId>com.sonicsw.pso</groupId> <artifactId>services-maven-parent</artifactId> <version>1.0</version> <packaging>pom</packaging> <name>Maven Definitions for all Sonic ESB Services</name> <parent> <groupId>com.sonicsw.pso</groupId> <artifactId>sonic-maven-parent</artifactId> <version>1.0</version> </parent> ... My project now inherits from POM B, which in turn inherits from POM A. <parent> <groupId>com.sonicsw.pso</groupId> <artifactId>services-maven-parent</artifactId> <version>1.0</version> </parent> <groupId>com.sonicsw.pso.services</groupId> <artifactId>WSMQService</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>Websphere MQ connectivity services</name> My problem is now in the definition of URLS (for automatically generating web urls, scm urls, ftp urls etc...) When I define no url in my project, the generated url is: https://www.soa-knowledge.net/projects/com.sonicsw.pso.services/WSMQServ ice/1.0-SNAPSHOT/WSMQService/services-maven-parent/WSMQService However, if I add the url definition into my project <parent> <groupId>com.sonicsw.pso</groupId> <artifactId>services-maven-parent</artifactId> <version>1.0</version> </parent> <groupId>com.sonicsw.pso.services</groupId> <artifactId>WSMQService</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>Websphere MQ connectivity services</name> <url>https://www.soa-knowledge.net/projects/${urlGroup}/${urlId}/${proje ct.version}/${urlId}</url> the url is https://www.soa-knowledge.net/projects/com.sonicsw.pso.services/WSMQServ ice/1.0-SNAPSHOT/WSMQService which is what I intended. I would like to avoid repeating the URL definitions in each sub project since this is what I had created the masters for in the first place. Could somebody explain the behaviour here ? - Can the append be avoided ? Thank you very much in advance Andreas ------------------------------------------------------- Progress Software GmbH Sitz der Gesellschaft: Agrippinawerft 26, 50678 Koeln; Niederlassung: Fuerstenrieder Str. 279, 81377 Muenchen Amtsgericht Koeln, HRB 15620; Geschaeftsfuehrung: David Ireland, Stefan Bastian -------------------------------------------------------
