You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ThE-cLoN NoLc-EhT <no...@yahoo.es> on 2006/07/20 09:16:33 UTC
Re[2]: How pass variables of pom.xml file a other pom.xml in the same project??
very thnk!
> 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 <no...@yahoo.es>
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:
users-unsubscribe@maven.apache.org
>> For additional commands, e-mail:
users-help@maven.apache.org
>>
>>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
users-help@maven.apache.org
--
Saludos,
the
mailto:nloc_eht@yahoo.es
______________________________________________
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org