Hi,

I'm using a profile to build jsf projects which generate web.xml and
faces-config.xml out of bean classes so you don't need to work them by
hand. But this is not general case and some projects code their own
descriptors.

The problem with dependencies was that inside the aggregated pom holding
libraries some of them where scoped as provided. By changing them to
compile their are available to the child project. My problem now is that
from all these libraries I get from this pom, half are needed to be
scope for compilation and the rest provided only.

Regards,
IP

-----Original Message-----
From: Wayne Fay <wayne...@gmail.com>
To: Maven Users List <users@maven.apache.org>, iapazm...@sri.gob.ec
Subject: Re: Profile and dependencies not activated
Date: Mon, 3 Jan 2011 16:48:55 -0600

> Thanks for your reply. I've moved the profile to the enterprise pom and
> is being activated now.
> Still the libraries are not resolved while compiling even when
> dependency:tree resolves them just fine with the right versions.

Why are you using profiles at all? Can you post a sample of what's not
working? Try mvn help:effective-pom to see what Maven "sees" as it is
building your project.

Wayne

"Clausula de Confidencialidad: La información contenida en el presente mensaje 
es confidencial, está dirigida 
exclusivamente a su destinatario y no puede ser vinculante. El Servicio de 
Rentas Internas no se 
responsabiliza por su uso y deja expresa constancia que en los registros de la 
Institución consta la 
información originalmente enviada. Este mensaje está protegido por la Ley de 
Propiedad Intelectual, Ley de 
Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos 
internacionales relacionados. Si 
usted no es el destinatario de este mensaje, recomendamos su eliminación 
inmediata. La distribución o copia 
del mismo, está prohibida y será sancionada de acuerdo al Código Penal y demás 
normas aplicables. La 
transmisión de información por correo electrónico, no garantiza que la misma 
sea segura o esté libre de error, 
por consiguiente, se recomienda su verificación.Toda solicitud de información 
requerida de manera oficial al 
SRI debe ser ingresada por Secretaría General y dirigida a la máxima autoridad 
de la Institución, conforme a 
la Ley y demás normas vigentes."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to