maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Manuel Prieto <joseman...@prietopalacios.net>
Subject problem scm in superPOM
Date Mon, 20 Feb 2012 10:22:06 GMT
Hi,

I try configure to scm (for mvn release:prepare release:perform ) in my
enterprise superPOM. But I have a problem.

mySuperPom.xml (pom.xml)
<properties>
 <git.url>scm:git:ssh://git@192.168.1.18:/home/git/proyectos/</git.url>
<dot.git>.git</dot.git>
 </properties>

<scm>
<url>${git.url}${project.name}${dot.git}</url>
 <connection>${git.url}${project.name}${dot.git}</connection>
<developerConnection>${git.url}${project.name
}${dot.git}</developerConnection>
 </scm>

myPom.xml (pom.xml)
<properties>
 <project.name>nasa_cierrestaquillasexportacion</project.name>
</properties>

myEffectivePOM.xml (pom.xml)
  <scm>
 <connection>scm:git:ssh://git@192.168.1.18:
/home/git/proyectos/nasa_cierrestaquillasexportacion.git/nasa_cierrestaquillasexportacion</connection>
 <developerConnection>scm:git:ssh://git@192.168.1.18:
/home/git/proyectos/nasa_cierrestaquillasexportacion.git/nasa_cierrestaquillasexportacion</developerConnection>
<url>scm:git:ssh://git@192.168.1.18:
/home/git/proyectos/nasa_cierrestaquillasexportacion.git/nasa_cierrestaquillasexportacion</url>
  </scm>

The question is, why put at the end?:
scm:git:ssh://git@192.168.1.18:
/home/git/proyectos/nasa_cierrestaquillasexportacion.git/nasa_cierrestaquillasexportacion
instead of:
scm:git:ssh://git@192.168.1.18:
/home/git/proyectos/nasa_cierrestaquillasexportacion.git
why add /nasa_cierrestaquillasexportacion?

If I put scm in myPom.xml all is correct.

Thanks
Jose Manuel Prieto

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message