Do you define <url>http://192.168.22.5/projects/${project.artifactId}/</url>
in parent and child pom? -----Ursprüngliche Nachricht----- Von: CodingPlayer [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Oktober 2006 11:47 An: users@maven.apache.org Betreff: [M2] properties from parent-pom expanded wrongly in child-pom Hi, i use a parent-pom from which my child-poms are derived. and i wonder if i can get rid of entries in my child poms, that only differ in the artifactId. for example, in my parent pom i use: <url>http://192.168.22.5/projects/base-project/</url> <scm> <connection>scm:svn:https://myserver/svn/base-project/trunk</connection> <developerConnection>scm:svn:https://myserver/svn/base-project/trunk</developerConnection> <url>https://myserver/wsvn/base-project/trunk</url> </scm> while in the child-pom, i use: <url>http://192.168.22.5/projects/child-project/</url> <scm> <connection>scm:svn:https://myserver/svn/child-project/trunk</connection> <developerConnection>scm:svn:https://myserver/svn/child-project/trunk</developerConnection> <url>https://myserver/wsvn/child-project/trunk</url> </scm> so i tried to use the ${project.artifactId} property instead. <url>http://192.168.22.5/projects/${project.artifactId}/</url> <scm> <connection>scm:svn:https://myserver/svn/${project.artifactId}/trunk</connection> <developerConnection>scm:svn:https://myserver/svn/${project.artifactId}/trunk</developerConnection> <url>https://myserver/wsvn/${project.artifactId}/trunk</url> </scm> when i use this proerties in the child-pom, everything works fine. but as soon as i use the same properties in the parent-pom, the following happens: <url>http://192.168.22.5/projects/child-project/child-project</url> <scm> <connection>scm:svn:https://myserver/svn/child-project/trunk/child-project</connection> <developerConnection>scm:svn:https://myserver/svn/child-project/trunk/child-project</develope rConnection> <url>https://myserver/wsvn/child-project/trunk/child-project</url> </scm> it seems like properties in child-poms are expanded differently, than properties that are derived from a parent-pom. thx 4 any ideas R.C. -- View this message in context: http://www.nabble.com/-M2--properties-from-parent-pom-expanded-wrongly-in-child-pom-tf2506650.html#a6989102 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]