If you explicitly add a <parent> tag in the second pom pointing to the
first, it should inherit the properties.

Wayne

On 7/19/06, ThE-cLoN NoLc-EhT <[EMAIL PROTECTED]> wrote:
Hi!

  My questions is

     How pass one variable of 1 pom.xml a other
pom.xml

     example:

     prueba:
            pom.xml

     prueba/java
                pom.xml


First pom.xml

     <properties>

<distribucion>/home/fuentes/servidor</distribucion>
     </properties>


second pom.xml
      <plugins>
         <plugin>

<groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-war-plugin</artifactId>
           <configuration>
               <archive>

<addMavenDescriptor>false</addMavenDescriptor>
               </archive>
             <warName>zy</warName>

<webappDirectory>${distribucion}/app/webapps</webappDirectory>

<outputDirectory>${distribucion}</outputDirectory>
           </configuration>
         </plugin>
        </plugins>


Thanks!




______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com

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



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

Reply via email to